org.gcube.portlets.user.homelibrary.jcr.workspace.folder.items
Class JCRReport
java.lang.Object
org.gcube.portlets.user.homelibrary.jcr.workspace.JCRWorkspaceItem
org.gcube.portlets.user.homelibrary.jcr.workspace.folder.items.JCRWorkspaceFolderItem
org.gcube.portlets.user.homelibrary.jcr.workspace.folder.items.JCRReport
- All Implemented Interfaces:
- org.gcube.portlets.user.homelibrary.home.workspace.folder.FolderItem, org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
public class JCRReport
- extends JCRWorkspaceFolderItem
- implements org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report
|
Constructor Summary |
JCRReport(JCRWorkspace workspace,
javax.jcr.Node node)
|
JCRReport(JCRWorkspace workspace,
javax.jcr.Node node,
String name,
String description,
Calendar created,
Calendar lastEdit,
String author,
String lastEditBy,
String templateName,
int numberOfSections,
String status,
InputStream reportData)
|
| Methods inherited from class org.gcube.portlets.user.homelibrary.jcr.workspace.folder.items.JCRWorkspaceFolderItem |
getChildren, getProperties, getType, getWorkflowData, getWorkflowId, getWorkflowStatus, removeChild, save, setWorkflowData, setWorkflowId, setWorkflowStatus |
| Methods inherited from class org.gcube.portlets.user.homelibrary.jcr.workspace.JCRWorkspaceItem |
cloneItem, getAccounting, getCapabilities, getCreationTime, getDescription, getId, getIdSharedFolder, getLastAction, getLastModificationTime, getName, getOwner, getParent, getParent, getPath, getPath, internalCopy, internalDescription, internalMove, internalRename, isMarkedAsRead, isRoot, isRoot, isShared, markAsRead, move, remove, rename, setDescription, setOwnerNode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.gcube.portlets.user.homelibrary.home.workspace.folder.FolderItem |
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, getLastAction, getLastModificationTime, getName, getOwner, getParent, getPath, getProperties, getType, isMarkedAsRead, isRoot, isShared, markAsRead, move, remove, removeChild, rename, setDescription |
JCRReport
public JCRReport(JCRWorkspace workspace,
javax.jcr.Node node)
throws javax.jcr.RepositoryException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Throws:
javax.jcr.RepositoryException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
JCRReport
public JCRReport(JCRWorkspace workspace,
javax.jcr.Node node,
String name,
String description,
Calendar created,
Calendar lastEdit,
String author,
String lastEditBy,
String templateName,
int numberOfSections,
String status,
InputStream reportData)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getLength
public long getLength()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getLength in interface org.gcube.portlets.user.homelibrary.home.workspace.folder.FolderItem- Specified by:
getLength in class JCRWorkspaceFolderItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getData
public InputStream getData()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getData in interface org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getCreated
public Calendar getCreated()
- Specified by:
getCreated in interface org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report
getLastEdit
public Calendar getLastEdit()
- Specified by:
getLastEdit in interface org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report
getAuthor
public String getAuthor()
- Specified by:
getAuthor in interface org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report
getLastEditBy
public String getLastEditBy()
- Specified by:
getLastEditBy in interface org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report
getTemplateName
public String getTemplateName()
- Specified by:
getTemplateName in interface org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report
getNumberOfSections
public int getNumberOfSections()
- Specified by:
getNumberOfSections in interface org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report
getStatus
public String getStatus()
- Specified by:
getStatus in interface org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report
getFolderItemType
public org.gcube.portlets.user.homelibrary.home.workspace.folder.FolderItemType getFolderItemType()
- Specified by:
getFolderItemType in interface org.gcube.portlets.user.homelibrary.home.workspace.folder.FolderItem- Specified by:
getFolderItemType in class JCRWorkspaceFolderItem
saveContent
public void saveContent(javax.jcr.Node node)
throws javax.jcr.RepositoryException
- Specified by:
saveContent in class JCRWorkspaceFolderItem
- Throws:
javax.jcr.RepositoryException
Copyright © 2013. All Rights Reserved.