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
Workspace.getItem(String itemId) instead |
List<WorkspaceTrashItem> |
listTrashItems()
Deprecated.
use
WorkspaceFolder.getChildren() instead |
List<String> |
restoreAll()
Restore all item in Trash
|
void |
restoreById(String id)
Restore a specific item
|
createExternalFileItem, createExternalFileItem, createExternalFileItem, createExternalGenericItem, createExternalGenericItem, createExternalGenericItem, createExternalGenericItem, createExternalGenericItem, createExternalGenericItem, createExternalGenericItem, createExternalImageItem, createExternalImageItem, createExternalPDFFileItem, createExternalPDFFileItem, createExternalUrlItem, createExternalUrlItem, createExternalUrlItem, createFolder, createQueryItem, createQueryItem, createReportItem, createReportTemplateItem, createTimeSeries, exists, find, getAllChildren, getAllChildren, getChildren, getChildren, getChildren, getChildrenCount, getCount, getHiddenChildren, getLastItems, getNewFolderBulkCreator, getSize, getUniqueName, isPublic, isSystemFolder, setACL, setPublic, setSystemFolder, sharecloneItem, deleteACL, getAccounting, getACLOwner, getACLUser, getCreationTime, getDescription, getId, getIdSharedFolder, getLastAction, getLastModificationTime, getLastUpdatedBy, getName, getOwner, getParent, getPath, getProperties, getPublicLink, getReaders, getRemotePath, getSecurePublicLink, getStorageID, getType, hasAccessRight, isFolder, isHidden, isMarkedAsRead, isRoot, isShared, isTrashed, markAsRead, move, remove, removeChild, rename, setDescription, setHidden, updateItemList<String> emptyTrash() throws InternalErrorException
InternalErrorExceptionvoid deletePermanentlyById(String id) throws InternalErrorException
id - item to deleteInternalErrorExceptionList<String> restoreAll() throws InternalErrorException
InternalErrorExceptionvoid restoreById(String id) throws InternalErrorException
id - item to restoreInternalErrorException@Deprecated List<WorkspaceTrashItem> listTrashItems() throws InternalErrorException, ItemNotFoundException
WorkspaceFolder.getChildren() insteadInternalErrorExceptionItemNotFoundException@Deprecated WorkspaceTrashItem getTrashItemById(String id) throws InternalErrorException, javax.jcr.RepositoryException
Workspace.getItem(String itemId) insteadid - of a trashed itemInternalErrorExceptionjavax.jcr.RepositoryExceptionCopyright © 2020. All Rights Reserved.