org.gcube.portlets.user.homelibrary.jcr.workspace
Class JCRWorkspaceShareableFolder
java.lang.Object
org.gcube.portlets.user.homelibrary.jcr.workspace.JCRWorkspaceShareableFolder
- All Implemented Interfaces:
- org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem, org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceShareableFolder
public class JCRWorkspaceShareableFolder
- extends Object
- implements org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceShareableFolder
|
Method Summary |
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem |
cloneItem(String cloneName)
|
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.ExternalResourceLink |
createExternalResourceLink(String name,
String description,
String mimeType,
String resourceIdString,
String pluginName)
|
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)
|
org.gcube.portlets.user.homelibrary.home.workspace.acl.Capabilities |
getCapabilities()
|
List<org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem> |
getChildren()
|
Calendar |
getCreationTime()
|
String |
getDescription()
|
String |
getId()
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItemAction |
getLastAction()
|
Calendar |
getLastModificationTime()
|
String |
getName()
|
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.WorkspaceFolder |
getParent()
|
String |
getPath()
|
org.gcube.portlets.user.homelibrary.home.workspace.Properties |
getProperties()
|
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItemType |
getType()
|
boolean |
isRoot()
|
void |
move(org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder destination)
|
void |
remove()
|
void |
removeChild(org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem child)
|
void |
rename(String name)
|
void |
setDescription(String description)
|
void |
share(List<String> users)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCRWorkspaceShareableFolder
public JCRWorkspaceShareableFolder()
getChildren
public List<org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem> getChildren()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- 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
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
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
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
share
public void share(List<String> users)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
share in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getId
public String getId()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getId in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getName
public String getName()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getName in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getDescription
public String getDescription()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getDescription in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
setDescription
public void setDescription(String description)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
setDescription in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
rename
public void rename(String name)
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:
rename 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
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
getCreationTime
public Calendar getCreationTime()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getCreationTime in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getLastModificationTime
public Calendar getLastModificationTime()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getLastModificationTime in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getLastAction
public org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItemAction getLastAction()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getLastAction in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
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
getCapabilities
public org.gcube.portlets.user.homelibrary.home.workspace.acl.Capabilities getCapabilities()
- Specified by:
getCapabilities in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
getProperties
public org.gcube.portlets.user.homelibrary.home.workspace.Properties getProperties()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getProperties in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getType
public org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItemType getType()
- Specified by:
getType in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
getParent
public org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder getParent()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getParent in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
getPath
public String getPath()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
getPath in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
isRoot
public boolean isRoot()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Specified by:
isRoot in interface org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem
- 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
remove
public void remove()
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
- Specified by:
remove 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
move
public void move(org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceFolder destination)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongDestinationException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
- Specified by:
move 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.WrongDestinationException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
cloneItem
public org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem cloneItem(String cloneName)
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:
cloneItem 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
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
createExternalResourceLink
public org.gcube.portlets.user.homelibrary.home.workspace.folder.items.ExternalResourceLink createExternalResourceLink(String name,
String description,
String mimeType,
String resourceIdString,
String pluginName)
throws 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.InsufficientPrivilegesException
- Specified by:
createExternalResourceLink 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.ItemAlreadyExistException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
Copyright © 2012. All Rights Reserved.