public class JCRWorkspaceTrashFolder extends JCRWorkspaceFolder implements org.gcube.common.homelibrary.home.workspace.trash.WorkspaceTrashFolder
delegate, logger, workspace| Constructor and Description |
|---|
JCRWorkspaceTrashFolder(JCRWorkspace workspace,
org.gcube.common.homelibary.model.items.ItemDelegate delegate) |
JCRWorkspaceTrashFolder(JCRWorkspace workspace,
org.gcube.common.homelibary.model.items.ItemDelegate node,
String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
emptyTrash() |
String |
getId() |
String |
getPath() |
org.gcube.common.homelibrary.home.workspace.trash.WorkspaceTrashItem |
getTrashItemById(String id) |
org.gcube.common.homelibary.model.items.type.WorkspaceItemType |
getType() |
List<org.gcube.common.homelibrary.home.workspace.trash.WorkspaceTrashItem> |
listTrashItems() |
List<String> |
restoreAll() |
setACL, sharecreateExternalFileItem, createExternalFileItem, createExternalFileItem, createExternalImageItem, createExternalImageItem, createExternalPDFFileItem, createExternalPDFFileItem, createExternalUrlItem, createExternalUrlItem, createExternalUrlItem, createFolder, createQueryItem, createQueryItem, createReportItem, createReportTemplateItem, createTimeSeries, exists, find, getChildren, getCount, getLastItems, getNewFolderBulkCreator, getRemotePath, getSize, getUniqueName, getWorkspace, removeChildcloneItem, deleteACL, getAbsolutePath, getAccounting, getACLOwner, getACLUser, getCapabilities, getCreationTime, getDelegate, getDescription, getIdSharedFolder, getLastAction, getLastModificationTime, getLastUpdatedBy, getName, getOwner, getParent, getParent, getParentDelegate, getPath, getProperties, getPublicLink, getPublicLinkForFolderItemId, getReaders, getShortUrl, getStorageID, getUsers, hasAccessRight, internalCopy, internalDescription, internalMove, internalRename, isFolder, isMarkedAsRead, isRoot, isRoot, isShared, isTrashed, markAsRead, move, remove, rename, save, setDescription, setHistoryShareUnshare, setOwnerToCurrentUser, setRemotePath, setShare, setShareHistory, setUnshare, setUnshareHistoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloneItem, deleteACL, getAccounting, getACLOwner, getACLUser, getCapabilities, getCreationTime, getDescription, getIdSharedFolder, getLastAction, getLastModificationTime, getLastUpdatedBy, getName, getOwner, getParent, getProperties, getPublicLink, getReaders, getStorageID, hasAccessRight, isFolder, isMarkedAsRead, isRoot, isShared, isTrashed, markAsRead, move, remove, rename, setDescriptionpublic JCRWorkspaceTrashFolder(JCRWorkspace workspace, org.gcube.common.homelibary.model.items.ItemDelegate delegate) throws org.gcube.common.homelibrary.model.exceptions.RepositoryException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionpublic JCRWorkspaceTrashFolder(JCRWorkspace workspace, org.gcube.common.homelibary.model.items.ItemDelegate node, String name, String description) throws org.gcube.common.homelibrary.model.exceptions.RepositoryException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionpublic org.gcube.common.homelibrary.home.workspace.trash.WorkspaceTrashItem getTrashItemById(String id) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getTrashItemById in interface org.gcube.common.homelibrary.home.workspace.trash.WorkspaceTrashFolderorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic String getId() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getId in interface org.gcube.common.homelibrary.home.workspace.trash.WorkspaceTrashFoldergetId in interface org.gcube.common.homelibrary.home.workspace.WorkspaceItemgetId in class JCRWorkspaceItemorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic String getPath() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getPath in interface org.gcube.common.homelibrary.home.workspace.trash.WorkspaceTrashFoldergetPath in interface org.gcube.common.homelibrary.home.workspace.WorkspaceItemgetPath in class JCRWorkspaceItemorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic List<org.gcube.common.homelibrary.home.workspace.trash.WorkspaceTrashItem> listTrashItems() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException, org.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundException
listTrashItems in interface org.gcube.common.homelibrary.home.workspace.trash.WorkspaceTrashFolderorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionorg.gcube.common.homelibrary.home.workspace.exceptions.ItemNotFoundExceptionpublic List<String> emptyTrash() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
emptyTrash in interface org.gcube.common.homelibrary.home.workspace.trash.WorkspaceTrashFolderorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic List<String> restoreAll() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
restoreAll in interface org.gcube.common.homelibrary.home.workspace.trash.WorkspaceTrashFolderorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic org.gcube.common.homelibary.model.items.type.WorkspaceItemType getType()
getType in interface org.gcube.common.homelibrary.home.workspace.WorkspaceItemgetType in class JCRWorkspaceFolderCopyright © 2015. All Rights Reserved.