|
||||||||||
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. You will always be able to get and permanently delete items in the recycle bin that you deleted. You can also get and permanently delete other user’s items as long as you have either the Permanently Delete Items privilege or the Restore Items Deleted by Others privilege.
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> |
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |