public interface WorkspaceTrashItem extends WorkspaceFolder
| Modifier and Type | Method and Description |
|---|---|
void |
deletePermanently()
Delete Permanently an item in the trash folder
|
String |
getDeletedBy()
Get the user who deleted the item
|
String |
getDeletedFrom()
Get the path where the item was deleted
|
Calendar |
getDeletedTime()
Get the date when the item was deleted
|
String |
getMimeType()
Get mime type
|
String |
getName()
Get the name of the trashed item
|
String |
getOriginalParentId()
Get original parent Id to restore the item
|
org.gcube.common.homelibary.model.items.type.WorkspaceItemType |
getType()
Return this item type.
|
boolean |
isFolder()
Return true if the trash item was a folder
|
void |
restore()
Restore an item in the trash folder
|
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, getOwner, getParent, getPath, getProperties, getPublicLink, getReaders, getRemotePath, getSecurePublicLink, getStorageID, hasAccessRight, isHidden, isMarkedAsRead, isRoot, isShared, isTrashed, markAsRead, move, remove, removeChild, rename, setDescription, setHidden, updateItemString getOriginalParentId()
String getDeletedFrom()
String getDeletedBy()
Calendar getDeletedTime()
boolean isFolder()
isFolder in interface WorkspaceItemString getMimeType() throws InternalErrorException
InternalErrorExceptionString getName() throws InternalErrorException
getName in interface WorkspaceItemInternalErrorExceptionorg.gcube.common.homelibary.model.items.type.WorkspaceItemType getType()
getType in interface WorkspaceItemvoid deletePermanently()
throws InternalErrorException
InternalErrorExceptionvoid restore()
throws InternalErrorException
InternalErrorExceptionCopyright © 2020. All Rights Reserved.