org.gcube.portlets.user.homelibrary.home.workspace.folder.items
Interface Report

All Superinterfaces:
FolderItem, WorkspaceItem

public interface Report
extends FolderItem

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

Method Summary
 String getAuthor()
          Returns the report author.
 Calendar getCreated()
          Returns the report creation time.
 InputStream getData()
          Return the template file data.
 Calendar getLastEdit()
          Returns the last edit time.
 String getLastEditBy()
          Returns the last report editor.
 int getNumberOfSections()
          Returns the number of sections.
 String getStatus()
          Returns the report status.
 String getTemplateName()
          Returns the source template name.
 
Methods inherited from interface org.gcube.portlets.user.homelibrary.home.workspace.folder.FolderItem
getFolderItemType, getLength, getMimeType, getWorkflowData, getWorkflowId, getWorkflowStatus, setWorkflowData, setWorkflowId, setWorkflowStatus
 
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

getData

InputStream getData()
                    throws InternalErrorException
Return the template file data.

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

getCreated

Calendar getCreated()
Returns the report creation time.

Returns:
the creation time.

getLastEdit

Calendar getLastEdit()
Returns the last edit time.

Returns:
the lastEdit

getAuthor

String getAuthor()
Returns the report author.

Returns:
the author

getLastEditBy

String getLastEditBy()
Returns the last report editor.

Returns:
the lastEditBy

getTemplateName

String getTemplateName()
Returns the source template name.

Returns:
template name.

getNumberOfSections

int getNumberOfSections()
Returns the number of sections.

Returns:
the numberOfSections

getStatus

String getStatus()
Returns the report status.

Returns:
the status


Copyright © 2013. All Rights Reserved.