public interface WorkspaceSmartFolder
| Modifier and Type | Method and Description |
|---|---|
List<? extends WorkspaceItem> |
getChildren()
Return this item children.
|
Calendar |
getCreationTime()
This item creation time.
|
String |
getDescription()
This item description.
|
String |
getId()
This item id.
|
org.gcube.common.homelibary.model.util.WorkspaceItemAction |
getLastAction()
Return the last action on this Item.
|
Calendar |
getLastModificationTime()
This item last modification time.
|
String |
getName()
This item name.
|
User |
getOwner()
This item owner.
|
Properties |
getProperties()
The item properties.
|
List<? extends SearchItem> |
getSearchItems() |
org.gcube.common.homelibary.model.items.type.WorkspaceItemType |
getType()
Return this item type.
|
void |
remove()
Remove this item from the workspace.
|
void |
rename(String name)
Change this item name.
|
void |
setDescription(String description)
Set a new item description.
|
String getId() throws InternalErrorException
InternalErrorException - if an internal error occurs.String getName() throws InternalErrorException
InternalErrorException - if an internal error occurs.String getDescription() throws InternalErrorException
InternalErrorException - if an internal error occurs.void setDescription(String description) throws InternalErrorException
description - the new description.InternalErrorException - if an internal error occurs.void rename(String name) throws InternalErrorException, InsufficientPrivilegesException, ItemAlreadyExistException
name - the new name.InternalErrorException - if an internal error occurs.InsufficientPrivilegesException - if the user don't have sufficient privileges to perform this operation.ItemAlreadyExistException - if an item with this name already exists in the containing folder.Calendar getCreationTime() throws InternalErrorException
InternalErrorException - if an internal error occurs.Calendar getLastModificationTime() throws InternalErrorException
InternalErrorException - if an internal error occurs.org.gcube.common.homelibary.model.util.WorkspaceItemAction getLastAction()
throws InternalErrorException
InternalErrorException - if an internal error occurs.User getOwner() throws InternalErrorException
InternalErrorException - if an internal error occurs.Properties getProperties() throws InternalErrorException
InternalErrorException - if an internal error occurs.org.gcube.common.homelibary.model.items.type.WorkspaceItemType getType()
List<? extends WorkspaceItem> getChildren() throws InternalErrorException
InternalErrorException - if an internal error occurs.List<? extends SearchItem> getSearchItems() throws InternalErrorException
InternalErrorExceptionvoid remove()
throws InternalErrorException,
InsufficientPrivilegesException
InternalErrorException - if an internal error occurs.InsufficientPrivilegesException - if the user don't have sufficient privileges to perform this operation.Copyright © 2020. All Rights Reserved.