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() 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, createExternalImageItem, createExternalImageItem, createExternalPDFFileItem, createExternalPDFFileItem, createExternalUrlItem, createExternalUrlItem, createExternalUrlItem, createFolder, createQueryItem, createQueryItem, createReportItem, createReportTemplateItem, createTimeSeries, exists, find, getChildren, getCount, getHiddenChildren, getLastItems, getNewFolderBulkCreator, getSize, getUniqueName, setACL, sharecloneItem, deleteACL, getAccounting, getACLOwner, getACLUser, getCapabilities, getCreationTime, getDescription, getId, getIdSharedFolder, getLastAction, getLastModificationTime, getLastUpdatedBy, getName, getOwner, getParent, getPath, getProperties, getPublicLink, getReaders, getRemotePath, getStorageID, getType, hasAccessRight, isFolder, isHidden, isMarkedAsRead, isRoot, isShared, isTrashed, markAsRead, move, remove, removeChild, rename, setDescription, setHiddenList<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() insteadid - of a trashed itemInternalErrorExceptionjavax.jcr.RepositoryExceptionCopyright © 2016. All Rights Reserved.