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

All Superinterfaces:
FolderItem, WorkspaceItem

public interface ReportTemplate
extends FolderItem

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

Method Summary
 String getAuthor()
          Returns the template author.
 Calendar getCreated()
          Returns the template creation time.
 InputStream getData()
          Return the template file data.
 Calendar getLastEdit()
          Returns the last edit time.
 String getLastEditBy()
          Returns the last template editor.
 int getNumberOfSections()
          Returns the number of sections.
 String getStatus()
          Returns the template status.
 
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 template creation time.

Returns:
the creation time.

getLastEdit

Calendar getLastEdit()
Returns the last edit time.

Returns:
the lastEdit

getAuthor

String getAuthor()
Returns the template author.

Returns:
the author

getLastEditBy

String getLastEditBy()
Returns the last template editor.

Returns:
the lastEditBy

getNumberOfSections

int getNumberOfSections()
Returns the number of sections.

Returns:
the numberOfSections

getStatus

String getStatus()
Returns the template status.

Returns:
the status


Copyright © 2013. All Rights Reserved.