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, 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, getOwner, getParent, getPath, getProperties, getPublicLink, getReaders, getRemotePath, getStorageID, hasAccessRight, isHidden, isMarkedAsRead, isRoot, isShared, isTrashed, markAsRead, move, remove, removeChild, rename, setDescription, setHiddenvoid deletePermanently()
throws InternalErrorException
InternalErrorExceptionvoid restore()
throws InternalErrorException
InternalErrorExceptionString 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 WorkspaceItemCopyright © 2016. All Rights Reserved.