|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RecycleBinService
Service for retrieving and permanently deleting items in the recycle bin. To see recycle bin items at the Organization and below, the current user must be a member of the Organization and have either Permanently Delete Items or Restore Items Deleted by Other at the Organization. If you have the Permanently Delete Items privilege at the Organization, you can permanently delete items from the Recycle Bin regardless of who deleted them.
Method Summary | |
---|---|
Set<String> |
deleteAvailableItems()
Permanently deletes all items in the recycle bin that the current user has permission to delete. |
Set<String> |
deleteItem(RecycleBinItem item)
Permanently deletes the specified item in the recycle bin. |
Set<String> |
deleteItemQuery(RecycleBinItem item)
|
Set<String> |
deleteItems(Set<RecycleBinItem> items)
Permanently deletes the specified items in the recycle bin. |
Set<RecycleBinItem> |
getAvailableItems()
Gets items in the recycle bin to which the current user has the privilege to delete. |
Method Detail |
---|
Set<String> deleteAvailableItems() throws RecycleBinItemDeleteException
RecycleBinItemDeleteException
- Thrown if a recycle bin item cannot be deleted.Set<RecycleBinItem> getAvailableItems() throws RecycleBinItemSearchException
RecycleBinItemSearchException
- Thrown if the recycle bin items cannot be retrieved.Set<String> deleteItem(RecycleBinItem item) throws RecycleBinItemNotFoundException, RecycleBinItemDeleteException
item
- RecycleBinItem representing the item in the recycle bin to delete.
RecycleBinItemNotFoundException
- Thrown if the recycle bin item specified cannot be found.
RecycleBinItemDeleteException
- Thrown if a recycle bin item cannot be deleted.Set<String> deleteItems(Set<RecycleBinItem> items) throws RecycleBinItemNotFoundException, RecycleBinItemDeleteException
items
- RecycleBinItem representing items in the recycle bin to delete.
RecycleBinItemNotFoundException
- Thrown if the recycle bin item specified cannot be found.
RecycleBinItemDeleteException
- Thrown if a recycle bin item cannot be deleted.Set<String> deleteItemQuery(RecycleBinItem item) throws RecycleBinItemNotFoundException, RecycleBinItemDeleteException
RecycleBinItemNotFoundException
RecycleBinItemDeleteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |