org.gcube.portlets.user.homelibrary.jcr.workspace
Class JCRWorkspaceFolder
java.lang.Object
org.gcube.portlets.user.homelibrary.jcr.workspace.JCRWorkspaceItem
org.gcube.portlets.user.homelibrary.jcr.workspace.JCRWorkspaceFolder
- All Implemented Interfaces:
- org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
public class JCRWorkspaceFolder
- extends JCRWorkspaceItem
- implements org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
|
Method Summary |
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.Annotation |
createAnnotationItem(String name,
String description,
String oid,
Map<String,String> data)
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder |
createAquaMapsItem(String name,
String description,
String mapName,
String mapType,
String author,
int numberOfSpecies,
String boundingBox,
float psoThreshold,
int numberOfGeneratedImages,
InputStream metadata,
Map<String,InputStream> images)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.Document |
createDocumentItem(String name,
String description,
String oid,
String mimeType,
InputStream documentData,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.link.DocumentLink |
createDocumentLinkItem(String name,
String description,
String oid,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName,
String mimeType)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalFile |
createExternalFileItem(String name,
String description,
String mimeType,
InputStream fileData)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalImage |
createExternalImageItem(String name,
String description,
String mimeType,
InputStream imageData)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalPDFFile |
createExternalPDFFileItem(String name,
String description,
String mimeType,
InputStream fileData)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalUrl |
createExternalUrlItem(String name,
String description,
InputStream url)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalUrl |
createExternalUrlItem(String name,
String description,
String url)
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder |
createFolder(String name,
String description)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.ImageDocument |
createImageDocumentItem(String name,
String description,
String oid,
String mimeType,
InputStream imageData,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.link.ImageDocumentLink |
createImageDocumentLinkItem(String name,
String description,
String oid,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName,
String mimeType)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.Metadata |
createMetadataItem(String name,
String description,
String oid,
String schema,
String language,
String metadata,
String collectionName)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.PDFDocument |
createPDFDocumentItem(String name,
String description,
String oid,
String mimeType,
InputStream data,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.link.PDFDocumentLink |
createPDFDocumentLinkItem(String name,
String description,
String oid,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName,
String mimeType)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Query |
createQueryItem(String name,
String description,
InputStream query,
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.QueryType queryType)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Query |
createQueryItem(String name,
String description,
String query,
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.QueryType queryType)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report |
createReportItem(String name,
String description,
Calendar created,
Calendar lastEdit,
String author,
String lastEditBy,
String templateName,
int numberOfSections,
String status,
InputStream reportData)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ReportTemplate |
createReportTemplateItem(String name,
String description,
Calendar created,
Calendar lastEdit,
String author,
String lastEditBy,
int numberOfSections,
String status,
InputStream templateData)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ts.TimeSeries |
createTimeSeries(String name,
String description,
String timeseriesId,
String title,
String creator,
String timeseriesDescription,
String timeseriesCreationDate,
String publisher,
String sourceId,
String sourceName,
String rights,
long dimension,
List<String> headerLabels,
InputStream compressedCSV)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.UrlDocument |
createUrlDocumentItem(String name,
String description,
String oid,
String mimeType,
InputStream documentData,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.WorkflowReport |
createWorkflowReport(String name,
String description,
String workflowId,
String workflowStatus,
String workflowData)
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.WorkflowTemplate |
createWorkflowTemplate(String name,
String description,
String workflowId,
String workflowStatus,
String workflowData)
|
boolean |
exists(String name)
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem |
find(String name)
|
List<org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem> |
getChildren()
|
org.gcube.portlets.user.homelibrary.home.workspace.folder.FolderBulkCreator |
getNewFolderBulkCreator()
|
org.gcube.portlets.user.homelibrary.home.User |
getOwner()
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItemType |
getType()
|
JCRWorkspace |
getWorkspace()
|
void |
removeChild(org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem child)
|
| Methods inherited from class org.gcube.portlets.user.homelibrary.jcr.workspace.JCRWorkspaceItem |
cloneItem, getCapabilities, getCreationTime, getDescription, getId, getLastAction, getLastModificationTime, getName, getParent, getPath, getPath, getProperties, internalCopy, internalDescription, internalMove, internalRename, isRoot, isRoot, move, remove, rename, save, setDescription |
| 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.WorkspaceItem |
cloneItem, getCapabilities, getCreationTime, getDescription, getId, getLastAction, getLastModificationTime, getName, getParent, getPath, getProperties, isRoot, move, remove, rename, setDescription |
JCRWorkspaceFolder
public JCRWorkspaceFolder(JCRWorkspace workspace,
javax.jcr.Node node)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
JCRWorkspaceFolder
public JCRWorkspaceFolder(JCRWorkspace workspace,
javax.jcr.Node node,
String name,
String description)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getWorkspace
public JCRWorkspace getWorkspace()
getType
public org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItemType getType()
- Specified by:
getType in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
exists
public boolean exists(String name)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
exists in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
find
public org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem find(String name)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
find in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getChildren
public List<org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem> getChildren()
- Specified by:
getChildren in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder- Specified by:
getChildren in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
createFolder
public org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder createFolder(String name,
String description)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createFolder in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createExternalImageItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalImage createExternalImageItem(String name,
String description,
String mimeType,
InputStream imageData)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createExternalImageItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createExternalFileItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalFile createExternalFileItem(String name,
String description,
String mimeType,
InputStream fileData)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createExternalFileItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createExternalPDFFileItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalPDFFile createExternalPDFFileItem(String name,
String description,
String mimeType,
InputStream fileData)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createExternalPDFFileItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createExternalUrlItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalUrl createExternalUrlItem(String name,
String description,
String url)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createExternalUrlItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createExternalUrlItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalUrl createExternalUrlItem(String name,
String description,
InputStream url)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createExternalUrlItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createReportTemplateItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ReportTemplate createReportTemplateItem(String name,
String description,
Calendar created,
Calendar lastEdit,
String author,
String lastEditBy,
int numberOfSections,
String status,
InputStream templateData)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createReportTemplateItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createReportItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Report createReportItem(String name,
String description,
Calendar created,
Calendar lastEdit,
String author,
String lastEditBy,
String templateName,
int numberOfSections,
String status,
InputStream reportData)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createReportItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createQueryItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Query createQueryItem(String name,
String description,
String query,
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.QueryType queryType)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createQueryItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createQueryItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.Query createQueryItem(String name,
String description,
InputStream query,
org.gcube.portlets.user.homelibrary.home.workspace.folder.items.QueryType queryType)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createQueryItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createAquaMapsItem
public org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder createAquaMapsItem(String name,
String description,
String mapName,
String mapType,
String author,
int numberOfSpecies,
String boundingBox,
float psoThreshold,
int numberOfGeneratedImages,
InputStream metadata,
Map<String,InputStream> images)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongDestinationException
- Specified by:
createAquaMapsItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongDestinationException
createAnnotationItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.Annotation createAnnotationItem(String name,
String description,
String oid,
Map<String,String> data)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createAnnotationItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createMetadataItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.Metadata createMetadataItem(String name,
String description,
String oid,
String schema,
String language,
String metadata,
String collectionName)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createMetadataItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createDocumentItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.Document createDocumentItem(String name,
String description,
String oid,
String mimeType,
InputStream documentData,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createDocumentItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createImageDocumentItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.ImageDocument createImageDocumentItem(String name,
String description,
String oid,
String mimeType,
InputStream imageData,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createImageDocumentItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createPDFDocumentItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.PDFDocument createPDFDocumentItem(String name,
String description,
String oid,
String mimeType,
InputStream data,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createPDFDocumentItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createUrlDocumentItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.UrlDocument createUrlDocumentItem(String name,
String description,
String oid,
String mimeType,
InputStream documentData,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createUrlDocumentItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createDocumentLinkItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.link.DocumentLink createDocumentLinkItem(String name,
String description,
String oid,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName,
String mimeType)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createDocumentLinkItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createImageDocumentLinkItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.link.ImageDocumentLink createImageDocumentLinkItem(String name,
String description,
String oid,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName,
String mimeType)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createImageDocumentLinkItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createPDFDocumentLinkItem
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.gcube.link.PDFDocumentLink createPDFDocumentLinkItem(String name,
String description,
String oid,
Map<String,String> metadata,
Map<String,String> annotations,
String collectionName,
String mimeType)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createPDFDocumentLinkItem in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createTimeSeries
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ts.TimeSeries createTimeSeries(String name,
String description,
String timeseriesId,
String title,
String creator,
String timeseriesDescription,
String timeseriesCreationDate,
String publisher,
String sourceId,
String sourceName,
String rights,
long dimension,
List<String> headerLabels,
InputStream compressedCSV)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createTimeSeries in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createWorkflowReport
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.WorkflowReport createWorkflowReport(String name,
String description,
String workflowId,
String workflowStatus,
String workflowData)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createWorkflowReport in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createWorkflowTemplate
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.WorkflowTemplate createWorkflowTemplate(String name,
String description,
String workflowId,
String workflowStatus,
String workflowData)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
createWorkflowTemplate in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
getNewFolderBulkCreator
public org.gcube.portlets.user.homelibrary.home.workspace.folder.FolderBulkCreator getNewFolderBulkCreator()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getNewFolderBulkCreator in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
removeChild
public void removeChild(org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem child)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
- Specified by:
removeChild in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
getOwner
public org.gcube.portlets.user.homelibrary.home.User getOwner()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getOwner in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
Copyright © 2012. All Rights Reserved.