org.gcube.portlets.user.homelibrary.home.workspace.folder
Interface FolderItem

All Superinterfaces:
WorkspaceItem
All Known Subinterfaces:
AquaMapsItem, Document, DocumentLink, ExternalFile, ExternalImage, ExternalPDFFile, ExternalResourceLink, ExternalUrl, ImageDocument, ImageDocumentLink, InfoObjectLink, Metadata, PDFDocument, PDFDocumentLink, Query, Report, ReportTemplate, TabularDataLink, TimeSeries, UrlDocument, WorkflowReport, WorkflowTemplate

public interface FolderItem
extends WorkspaceItem

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

Method Summary
 FolderItemType getFolderItemType()
          The folder item type.
 long getLength()
          The folder item length.
 String getMimeType()
           
 String getWorkflowData()
          Returns the workflow data.
 String getWorkflowId()
          Returns the workflow id.
 String getWorkflowStatus()
          Returns the workflow status.
 void setWorkflowData(String data)
          Sets the workflow data.
 void setWorkflowId(String id)
          Sets the workflow id.
 void setWorkflowStatus(String status)
          Sets the workflow status.
 
Methods inherited from interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
cloneItem, getAccounting, getCapabilities, getChildren, getCreationTime, getDescription, getId, getIdSharedFolder, getLastAction, getLastModificationTime, getName, getOwner, getParent, getPath, getProperties, getReaders, getType, isMarkedAsRead, isRoot, isShared, markAsRead, move, remove, removeChild, rename, setDescription
 

Method Detail

getFolderItemType

FolderItemType getFolderItemType()
The folder item type.

Returns:
the type;

getLength

long getLength()
               throws InternalErrorException
The folder item length.

Returns:
the length.
Throws:
InternalErrorException - if an internal error occurs.

getMimeType

String getMimeType()
                   throws InternalErrorException
Throws:
InternalErrorException

getWorkflowId

String getWorkflowId()
                     throws InternalErrorException
Returns the workflow id.

Returns:
the workflow id.
Throws:
InternalErrorException - if an internal error occurs.

setWorkflowId

void setWorkflowId(String id)
                   throws InternalErrorException
Sets the workflow id.

Parameters:
id - the workflow id.
Throws:
InternalErrorException - if an internal error occurs.

getWorkflowStatus

String getWorkflowStatus()
                         throws InternalErrorException
Returns the workflow status.

Returns:
the workflow status.
Throws:
InternalErrorException - if an internal error occurs.

setWorkflowStatus

void setWorkflowStatus(String status)
                       throws InternalErrorException
Sets the workflow status.

Parameters:
status - the workflow status.
Throws:
InternalErrorException - if an internal error occurs.

getWorkflowData

String getWorkflowData()
                       throws InternalErrorException
Returns the workflow data.

Returns:
the workflow data.
Throws:
InternalErrorException - if an internal error occurs.

setWorkflowData

void setWorkflowData(String data)
                     throws InternalErrorException
Sets the workflow data.

Parameters:
data - the workflow data.
Throws:
InternalErrorException - if an internal error occurs.


Copyright © 2013. All Rights Reserved.