org.gcube.portlets.user.homelibrary.home.workspace.basket
Interface BasketItem

All Superinterfaces:
WorkspaceAreaItem
All Known Subinterfaces:
Annotation, Document, DocumentLink, ExternalFile, ExternalImage, ExternalPDFFile, ExternalUrl, ImageDocument, ImageDocumentLink, InfoObject, InfoObjectLink, Metadata, PDFDocument, PDFDocumentLink, Query, Report, ReportTemplate, UrlDocument

public interface BasketItem
extends WorkspaceAreaItem

Author:
Federico De Faveri defaveri@isti.cnr.it

Method Summary
 BasketItemType getBasketItemType()
          The basket item type.
 long getLength()
          The basket item length.
 Basket getParent()
          Return this item parent.
 
Methods inherited from interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceAreaItem
cloneItem, getCapabilities, getChildren, getCreationTime, getDescription, getId, getLastAction, getLastModificationTime, getName, getOwner, getPath, getProperties, getType, isRoot, move, remove, removeChild, rename, setDescription
 

Method Detail

getBasketItemType

BasketItemType getBasketItemType()
The basket item type.

Returns:
the type;

getLength

long getLength()
The basket item length.

Returns:
the length.

getParent

Basket getParent()
                 throws InternalErrorException
Return this item parent.

Specified by:
getParent in interface WorkspaceAreaItem
Returns:
the parent.
Throws:
InternalErrorException - if an internal error occurs.