public interface WorkspaceTrashFolder extends WorkspaceFolder
| Modifier and Type | Method and Description |
|---|---|
void |
deletePermanentlyById(String id)
Delete permanently a specific item.
|
List<String> |
emptyTrash()
Empty Trash.
|
WorkspaceTrashItem |
getTrashItemById(String id)
Deprecated.
use
org.gcube.portal.storagehubwrapper.server.tohl.homelibrary.home.workspace.Workspace#getItem(String itemId) instead |
List<WorkspaceTrashItem> |
listTrashItems()
Deprecated.
use
#getChildren() instead |
List<String> |
restoreAll()
Restore all item in Trash.
|
void |
restoreById(String id)
Restore a specific item.
|
getAccounting, getCreationTime, getDescription, getId, getLastModificationTime, getLastModifiedBy, getName, getOwner, getParentId, getPath, getPropertyMap, getType, isFolder, isHidden, isRoot, isShared, isTrashedList<String> emptyTrash() throws InternalErrorException
InternalErrorException - the internal error exceptionvoid deletePermanentlyById(String id) throws InternalErrorException
id - item to deleteInternalErrorException - the internal error exceptionList<String> restoreAll() throws InternalErrorException
InternalErrorException - the internal error exceptionvoid restoreById(String id) throws InternalErrorException
id - item to restoreInternalErrorException - the internal error exception@Deprecated List<WorkspaceTrashItem> listTrashItems() throws InternalErrorException, ItemNotFoundException
#getChildren() insteadInternalErrorException - the internal error exceptionItemNotFoundException - the item not found exception@Deprecated WorkspaceTrashItem getTrashItemById(String id) throws InternalErrorException
org.gcube.portal.storagehubwrapper.server.tohl.homelibrary.home.workspace.Workspace#getItem(String itemId) insteadid - of a trashed itemInternalErrorException - the internal error exceptionCopyright © 2018. All Rights Reserved.