| Modifier and Type | Method and Description |
|---|---|
protected static void |
HomeLibrary.checkPersistenceFolder(String persistenceFolder)
Check if the persistence folder exists otherwise create it.
|
protected static HomeManagerFactory |
HomeLibrary.createHomeManagerFactoryInstance(String persistenceRoot) |
User |
HomeManager.createUser(String portalLogin)
Create a new user.
|
boolean |
HomeManagerFactory.exists(String scope)
Check if the specified scope exists.
|
boolean |
HomeManager.existUser(String portalLogin)
Check if the specified user exists.
|
AccessManager |
HomeManagerFactory.getAccessManager() |
org.gcube.common.homelibary.model.util.MemoryCache<String,Home> |
HomeManager.getCache()
Get cache for user homes
|
ApplicationsArea |
Home.getDataArea()
Retrieves the user data area.
|
Home |
HomeManager.getGuestLogin() |
Home |
HomeManager.getHome()
Get user home using token
|
Home |
HomeManager.getHome(String portalLogin)
Deprecated.
|
Home |
HomeManager.getHome(User user)
Deprecated.
|
HomeLibraryManager |
HomeManagerFactory.getHomeLibraryManager()
Return the HomeLibraryManager instance.
|
HomeManager |
HomeManagerFactory.getHomeManager()
Retrieves an HomeManager for the given GCube's scope.
|
HomeManager |
HomeManagerFactory.getHomeManager(String scope) |
static HomeManagerFactory |
HomeLibrary.getHomeManagerFactory()
Return the HomeManagerFactory.
|
static HomeManagerFactory |
HomeLibrary.getHomeManagerFactory(String persistenceRoot)
Return an instance of HomeManager factory for the given path.
|
protected static HomeManagerFactory |
HomeLibrary.getHomeManagerFactoryImplementation()
Returns the HomeManagerFactory implementation to use.
|
PrivilegeManager |
HomeManagerFactory.getPrivilegeManager() |
User |
HomeManager.getUser(String portalLogin)
Get an user, if the user is not found a new one is created.
|
static ApplicationsArea |
HomeLibrary.getUserDataArea(String portalLogin)
Return the DataArea for the user in session.
|
static Home |
HomeLibrary.getUserHome(String portalLogin)
Return the Home for the user in session.
|
UserManager |
HomeManagerFactory.getUserManager() |
static Workspace |
HomeLibrary.getUserWorkspace(String portalLogin)
Return the Workspace for the user in session.
|
Workspace |
Home.getWorkspace()
Retrieves the user workspace.
|
void |
HomeManagerFactory.initialize(String persistenceFolder)
Initialize the HomeManagerFactory instance.
|
List<String> |
HomeManagerFactory.listInfrastructureScopes()
Returns the scopes list from the infrastructure.
|
List<String> |
HomeManagerFactory.listInfrastructureScopeUsers(String scope)
Return the users list from the infrastructure for the specified scope.
|
List<String> |
Home.listScopes() |
List<String> |
HomeManagerFactory.listScopes()
List the actuals scopes.
|
List<String> |
HomeManagerFactory.listUserScopes(String portalLogin)
List the User scopes.
|
void |
HomeManagerFactory.removeHomeManager()
Remove the HomeManager for the specified scope.
|
void |
HomeManager.removeUser(User user)
Remove the specified user.
|
void |
HomeManagerFactory.shutdown()
Shutdown the HomeManagerFactory.
|
| Modifier and Type | Method and Description |
|---|---|
WorkspaceFolder |
ApplicationsArea.getApplicationRoot(String applicationName)
Return the application root folder.
|
WorkspaceFolder |
ApplicationsArea.getApplicationShareRoot(String applicationName) |
WorkspaceFolder |
ApplicationsArea.getApplicationUserRoot(String applicationName) |
| Modifier and Type | Method and Description |
|---|---|
<E> ApplicationList<E> |
ApplicationDataArea.createList(String dataName)
Create a new list.
|
<K,V> ApplicationMap<K,V> |
ApplicationDataArea.createMap(String dataName)
Create a new map.
|
ApplicationData |
ApplicationDataArea.deleteData(String dataName)
Delete the specified application data.
|
ApplicationData |
ApplicationDataArea.getData(String dataName)
Return the application data requested.
|
<E> ApplicationList<E> |
ApplicationDataArea.getList(String dataName)
If the ApplicationList with the specified name already exists this one is returned, otherwise a new one is created.
|
<K,V> ApplicationMap<K,V> |
ApplicationDataArea.getMap(String dataName)
If an ApplicationMap with the specified name already exists this one is returnes, otherwise a new one is created.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HomeLibraryManager.copyScopeHomes(String sourceScope,
String destinationScope,
ContentCopyMode mode)
Copy the specified scope homes to destination scope.
|
boolean |
HomeLibraryManager.copyWorkspaceContent(String sourceScope,
String sourceUser,
String destinationScope,
String destinationUser,
ContentCopyMode mode)
Copy the a user workspace content to another user workspace.
|
void |
HomeLibraryManager.removeScope(String scope)
Remove the specified scope with all contained homes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
WorkspaceSharedFolder.addAdmin(String username)
Add administrators to a shared folder
|
void |
Workspace.addBookmark(String itemId,
String destinationFolderId)
Deprecated.
|
void |
Properties.addProperties(Map<String,String> properties)
Add properties to item
|
void |
Properties.addProperty(String name,
String value)
Deprecated.
|
void |
WorkspaceSharedFolder.addUser(String user) |
void |
WorkspaceVREFolder.addUserToVRE(String user)
Add user to VRE folder
|
List<SearchItem> |
Workspace.advancedSearch(String name,
SearchItemByOperator date,
SearchItemByOperator size)
Deprecated.
|
URL |
Workspace.attachToConversation(UUID ConversationId,
String WorkspaceItemId)
Attach a workspaceItem to a conversation
|
void |
Workspace.changeDescription(String itemId,
String newDescription)
Change an item description.
|
void |
WorkspaceVREFolder.changeOwner(String user)
Change owner to VRE folder
|
WorkspaceItem |
WorkspaceItem.cloneItem(String cloneName)
Clone this item.
|
WorkspaceItem |
Workspace.cloneItem(String itemId,
String cloneName)
Clone an item in the same folder.
|
WorkspaceItem |
Workspace.copy(String itemId,
String destinationFolderId)
Copy an item from a folder to another folder.
|
WorkspaceItem |
Workspace.copy(String itemId,
String newName,
String destinationFolderId)
Copy an item from a folder to another folder.
|
ExternalFile |
Workspace.createExternalFile(String name,
String description,
String mimeType,
InputStream fileData,
String destinationFolderId)
Create a new External File into a folder.
|
ExternalFile |
Workspace.createExternalFile(String name,
String description,
String mimeType,
InputStream fileData,
String destinationFolderId,
Map<String,String> properties)
Create a new External File with properties
|
ExternalFile |
WorkspaceFolder.createExternalFileItem(String name,
String description,
String mimeType,
File fileData)
Create an External File into this folder.
|
ExternalFile |
WorkspaceFolder.createExternalFileItem(String name,
String description,
String mimeType,
InputStream fileData)
Create an External File into this folder.
|
FolderItem |
WorkspaceFolder.createExternalFileItem(String name,
String description,
String mimeType,
String storageId)
Create an External File into this folder.
|
FolderItem |
WorkspaceFolder.createExternalGenericItem(String name,
String description,
InputStream is)
Create a generic item
|
FolderItem |
WorkspaceFolder.createExternalGenericItem(String name,
String description,
InputStream is,
Map<String,String> properties)
Create a generic item with properties by inpustream
|
FolderItem |
WorkspaceFolder.createExternalGenericItem(String name,
String description,
InputStream is,
Map<String,String> properties,
String mimetype,
long size)
Create a generic item with properties by inpustream
|
FolderItem |
WorkspaceFolder.createExternalGenericItem(String name,
String description,
String storageId)
Create a generic item by storage id
|
FolderItem |
WorkspaceFolder.createExternalGenericItem(String name,
String description,
String storageId,
Map<String,String> properties)
Create a generic item with properties by storage id
|
FolderItem |
WorkspaceFolder.createExternalGenericItem(String name,
String description,
String storageId,
Map<String,String> properties,
String mimeType,
long size)
Create a generic item with properties by storage id
|
FolderItem |
WorkspaceFolder.createExternalGenericItem(String name,
String description,
String storageId,
String mimeType)
Create a generic item by storage id and mimetype
|
ExternalImage |
Workspace.createExternalImage(String name,
String description,
String mimeType,
InputStream imageData,
String destinationFolderId)
Create a new External Image into a folder.
|
ExternalImage |
Workspace.createExternalImage(String name,
String description,
String mimeType,
InputStream imageData,
String destinationFolderId,
Map<String,String> properties)
Create a new External Image with properties
|
ExternalImage |
WorkspaceFolder.createExternalImageItem(String name,
String description,
String mimeType,
File imageData)
Create a new External Image into this folder.
|
ExternalImage |
WorkspaceFolder.createExternalImageItem(String name,
String description,
String mimeType,
InputStream imageData)
Create a new External Image into this folder.
|
ExternalPDFFile |
Workspace.createExternalPDFFile(String name,
String description,
String mimeType,
InputStream fileData,
String destinationFolderId)
Create a new External PDF File into a folder.
|
ExternalPDFFile |
Workspace.createExternalPDFFile(String name,
String description,
String mimeType,
InputStream fileData,
String destinationFolderId,
Map<String,String> properties)
Create a new External PDF File with properties
|
ExternalPDFFile |
WorkspaceFolder.createExternalPDFFileItem(String name,
String description,
String mimeType,
File tmpFile)
Create a new External PDF file into this folder.
|
ExternalPDFFile |
WorkspaceFolder.createExternalPDFFileItem(String name,
String description,
String mimeType,
InputStream fileData)
Create a new External PDF file into this folder.
|
ExternalUrl |
Workspace.createExternalUrl(String name,
String description,
InputStream url,
String destinationfolderId)
Create a new External URL into a folder.
|
ExternalUrl |
Workspace.createExternalUrl(String name,
String description,
String url,
String destinationFolderId)
Create a new External URL into a folder.
|
ExternalUrl |
WorkspaceFolder.createExternalUrlItem(String name,
String description,
File tmpFile)
Create an External URL into this folder.
|
ExternalUrl |
WorkspaceFolder.createExternalUrlItem(String name,
String description,
InputStream url)
Create an External URL into this folder.
|
ExternalUrl |
WorkspaceFolder.createExternalUrlItem(String name,
String description,
String url)
Create an External URL into this folder.
|
WorkspaceFolder |
WorkspaceFolder.createFolder(String name,
String description)
Create a new folder into this folder.
|
WorkspaceFolder |
Workspace.createFolder(String name,
String description,
String destinationFolderId)
Create a new folder with specified name.
|
WorkspaceFolder |
Workspace.createFolder(String name,
String description,
String destinationFolderId,
Map<String,String> properties)
Create a new folder with properties
|
WorkspaceItem |
Workspace.createGcubeItem(String name,
String description,
List<String> scopes,
String creator,
String itemType,
Map<String,String> properties,
String destinationFolderId)
Create a GCubeItem
|
Query |
Workspace.createQuery(String name,
String description,
InputStream query,
QueryType queryType,
String destinationfolderId)
Create a new query into a folder.
|
Query |
Workspace.createQuery(String name,
String description,
String query,
QueryType queryType,
String destinationfolderId)
Create a new query into a folder.
|
Query |
WorkspaceFolder.createQueryItem(String name,
String description,
InputStream query,
QueryType queryType)
Create a new Query into this folder.
|
Query |
WorkspaceFolder.createQueryItem(String name,
String description,
String query,
QueryType queryType)
Create a new Query into this folder.
|
Report |
Workspace.createReport(String name,
String description,
Calendar created,
Calendar lastEdit,
String author,
String lastEditBy,
String templateName,
int numberOfSections,
String status,
InputStream reportData,
String destinationfolderId)
Create a new Report into a folder.
|
Report |
WorkspaceFolder.createReportItem(String name,
String description,
Calendar created,
Calendar lastEdit,
String author,
String lastEditBy,
String templateName,
int numberOfSections,
String status,
InputStream reportData)
Create a Report into this folder.
|
ReportTemplate |
Workspace.createReportTemplate(String name,
String description,
Calendar created,
Calendar lastEdit,
String author,
String lastEditBy,
int numberOfSections,
String status,
InputStream templateData,
String destinationfolderId)
Create a new Report Template into a folder.
|
ReportTemplate |
WorkspaceFolder.createReportTemplateItem(String name,
String description,
Calendar created,
Calendar lastEdit,
String author,
String lastEditBy,
int numberOfSections,
String status,
InputStream templateData)
Create a Report Template into this folder.
|
WorkspaceSharedFolder |
Workspace.createSharedFolder(String name,
String description,
List<String> users,
String destinationFolderId)
Create a shared folder with a list of users
|
WorkspaceSharedFolder |
Workspace.createSharedFolder(String name,
String description,
String groupId,
String destinationFolderId,
String displayName,
boolean isVREFolder)
Create a shared folder associated with a groupId
|
WorkspaceSmartFolder |
Workspace.createSmartFolder(String name,
String description,
String query,
String folderId)
Create a smart folder
|
TimeSeries |
WorkspaceFolder.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)
Create a new Time Series.
|
TimeSeries |
Workspace.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,
String destinationfolderId)
Create a new Time Series.
|
WorkspaceVREFolder |
Workspace.createVREFolder(String scope,
String description,
String displayName,
ACLType privilege)
Create a VRE folder
|
WorkflowReport |
Workspace.createWorkflowReport(String name,
String description,
String workflowId,
String workflowStatus,
String workflowData,
String destinationfolderId)
Creates a Workflow Report.
|
WorkspaceFolder |
Workspace.decomposeAquaMapsItem(String itemId,
String folderName,
String destinationWorkspaceId)
Deprecated.
|
void |
WorkspaceSharedFolder.deleteACL(List<String> users)
Delete privileges for a list of users
|
void |
WorkspaceItem.deleteACL(List<String> users)
Delete ACL for a list of users
|
boolean |
Workspace.deleteAllConversationAttachments(UUID ConversationId)
Delete all conversation attachments by conversation ID
|
boolean |
WorkspaceFolder.exists(String name)
Check if an item with the specified name exists.
|
boolean |
Workspace.exists(String itemId)
Check if an item with the specified id exists.
|
boolean |
Workspace.exists(String name,
String folderId)
Check if an item with the specified name exists in the specified folder.
|
WorkspaceItem |
WorkspaceFolder.find(String name)
Get an item with the specified name.
|
WorkspaceItem |
Workspace.find(String path)
Find an item using the specified path.
|
WorkspaceItem |
Workspace.find(String name,
String folderId)
Get an item with the specified name in the specified folder.
|
Map<ACLType,List<String>> |
WorkspaceItem.getACLOwner()
Get a map of ACL of a WorkspaceSharedFolder
|
ACLType |
WorkspaceItem.getACLUser()
Get the ACL of a WorkspaceSharedFolder
|
List<String> |
WorkspaceSharedFolder.getAdministrators()
Get Administrators
|
List<WorkspaceItem> |
WorkspaceFolder.getAllChildren(boolean showHidden)
Get children of the current folder
|
List<WorkspaceItem> |
WorkspaceFolder.getAllChildren(boolean showHidden,
int limit,
int offset)
Get children of the current folder
|
List<WorkspaceSmartFolder> |
Workspace.getAllSmartFolders()
Returns all user smart folders
|
WorkspaceFolder |
Workspace.getApplicationArea()
Get Application Area
|
List<Object> |
Workspace.getBookmarks(String bookmarkFolderId)
Deprecated.
|
WorkspaceCatalogue |
Workspace.getCatalogue()
Get Catalogue
|
List<? extends WorkspaceItem> |
WorkspaceSmartFolder.getChildren()
Return this item children.
|
List<? extends WorkspaceItem> |
WorkspaceItem.getChildren()
Return this item children.
|
List<WorkspaceItem> |
WorkspaceFolder.getChildren()
Get children of the current folder
|
List<WorkspaceItem> |
WorkspaceFolder.getChildren(boolean showHidden)
Get Children with hidden files or not
|
List<WorkspaceItem> |
WorkspaceFolder.getChildren(int limit,
int offset,
boolean showHidden)
Get children of a node
|
int |
WorkspaceFolder.getChildrenCount(boolean hidden)
Get the number of items in a folder
|
int |
WorkspaceFolder.getCount()
Get the number of items in a folder for Storage Manager
|
Calendar |
WorkspaceSmartFolder.getCreationTime()
This item creation time.
|
Calendar |
WorkspaceItem.getCreationTime()
This item creation time.
|
String |
WorkspaceSmartFolder.getDescription()
This item description.
|
String |
WorkspaceItem.getDescription()
This item description.
|
long |
Workspace.getDiskUsage()
Get the disk usage of a worskpace
|
String |
WorkspaceSharedFolder.getDisplayName()
Get displayName
|
List<SearchItem> |
Workspace.getFolderItems(org.gcube.common.homelibary.model.items.type.GenericItemType... types)
Get Folder Items
|
List<SearchItem> |
Workspace.getFolderItems(org.gcube.common.homelibary.model.items.type.GenericItemType type)
Get items by type
|
GCubeGroup |
WorkspaceVREFolder.getGroup()
Get VRE Group
|
GCubeGroup |
Workspace.getGroup(String groupId)
Get group name by group id
|
List<String> |
WorkspaceSharedFolder.getGroups()
Deprecated.
|
List<WorkspaceItem> |
WorkspaceFolder.getHiddenChildren()
Get hidden children of the current folder
|
String |
Properties.getId()
Get ID
|
String |
WorkspaceSmartFolder.getId()
This item id.
|
String |
WorkspaceItem.getId()
This item id.
|
String |
WorkspaceItem.getIdSharedFolder()
Get the id of the parent shared folder
|
org.gcube.common.homelibary.model.util.WorkspaceItemAction |
WorkspaceSmartFolder.getLastAction()
Return the last action on this Item.
|
org.gcube.common.homelibary.model.util.WorkspaceItemAction |
WorkspaceItem.getLastAction()
Return the last action on this Item.
|
List<WorkspaceItem> |
WorkspaceFolder.getLastItems(int limit)
Get items ordered by jcr:lastModified
|
Calendar |
WorkspaceSmartFolder.getLastModificationTime()
This item last modification time.
|
Calendar |
WorkspaceItem.getLastModificationTime()
This item last modification time.
|
String |
WorkspaceItem.getLastUpdatedBy()
Return last updated by
|
List<String> |
WorkspaceSharedFolder.getMembers()
Get members: users and groups of a shared folder
|
WorkspaceFolder |
Workspace.getMySpecialFolders()
Get MySpecialFolders
|
String |
WorkspaceSmartFolder.getName()
This item name.
|
String |
WorkspaceItem.getName()
This item name.
|
String |
WorkspaceSharedFolder.getName(String user)
Get the name
|
FolderBulkCreator |
WorkspaceFolder.getNewFolderBulkCreator()
Create a new FolderBulkCreator for this folder.
|
FolderBulkCreator |
Workspace.getNewFolderBulkCreator(String folderId)
Create a new folderBulkCreator for the specified folder.
|
User |
WorkspaceSmartFolder.getOwner()
This item owner.
|
User |
WorkspaceItem.getOwner()
This item owner.
|
User |
Workspace.getOwner()
Returns the workspace owner.
|
WorkspaceFolder |
WorkspaceItem.getParent()
Return this item parent.
|
List<WorkspaceItem> |
Workspace.getParentsById(String id)
Get a list of workspaceItem parents by id
|
String |
WorkspaceItem.getPath()
Return the current item path.
|
ACLType |
WorkspaceSharedFolder.getPrivilege()
Get the privilege set on a WorkspaceSharedFolder
|
Map<String,String> |
Properties.getProperties()
Get Properties
|
Properties |
WorkspaceSmartFolder.getProperties()
The item properties.
|
Properties |
WorkspaceItem.getProperties()
The item properties.
|
String |
Properties.getPropertyValue(String propertyName)
Get property value
|
List<WorkspaceItem> |
Workspace.getPublicFolders()
Get public folders
|
String |
WorkspaceItem.getPublicLink(boolean shortUrl)
Get a public link for the item
|
List<AccountingEntryRead> |
WorkspaceItem.getReaders()
Get a list of item readers.
|
String |
WorkspaceItem.getRemotePath()
Get the remote path of the element
|
String |
WorkspaceVREFolder.getScope()
Get VRE scope
|
List<? extends SearchItem> |
WorkspaceSmartFolder.getSearchItems() |
String |
WorkspaceItem.getSecurePublicLink(boolean shortenUrl)
Get a secure (i.e.
|
long |
WorkspaceFolder.getSize()
Get the size of a folder
|
WorkspaceSmartFolder |
Workspace.getSmartFolder(String folderId)
Get Smart Folder
|
String |
WorkspaceItem.getStorageID()
Get a storageId
|
int |
Workspace.getTotalItems()
Get the total number of items in a workspace
|
WorkspaceTrashFolder |
Workspace.getTrash()
Get Trash Folder
|
String |
WorkspaceFolder.getUniqueName(String initialName,
boolean copy)
Get Unique name
|
String |
Workspace.getUrlWebDav()
Get WebDav url
|
List<String> |
WorkspaceSharedFolder.getUsers() |
WorkspaceCatalogue |
WorkspaceSharedFolder.getVRECatalogue()
Get VRE Cataloge
|
WorkspaceSharedFolder |
Workspace.getVREFolderByScope(String scope)
Get VRE Folder By Scope
|
String |
WorkspaceCatalogueItem.getWorkspaceId(String id) |
List<WorkspaceItem> |
Workspace.getWorkspaceTree(WorkspaceItem item)
Get the WorkspaceTree
|
boolean |
WorkspaceItem.hasAccessRight(String user,
String absPath)
Return true if the user has the right to read the resource at abspath
|
boolean |
Properties.hasProperty(String property)
Check if the item has a given property
|
boolean |
WorkspaceItem.isFolder()
Check if the item is a folder
|
boolean |
Workspace.isGroup(String groupId)
Check if a user is a group
|
boolean |
WorkspaceItem.isHidden()
Return a flag indicating whether the element is hidden
|
boolean |
WorkspaceItem.isMarkedAsRead()
Return a flag indicating whether the element marked as read
|
boolean |
WorkspaceFolder.isPublic()
Check if the folder is public
|
boolean |
WorkspaceItem.isRoot()
Says if this item is a root element.
|
boolean |
WorkspaceItem.isShared()
Return a flag indicating whether the element is shared
|
boolean |
WorkspaceFolder.isSystemFolder()
Check if a folder is a system folder
|
boolean |
WorkspaceItem.isTrashed()
Check if the item is in the trash
|
void |
WorkspaceItem.markAsRead(boolean read)
Mark as read a shared item
|
void |
WorkspaceItem.move(WorkspaceFolder destination)
Move this item to a new folder.
|
WorkspaceItem |
Workspace.moveItem(String itemId,
String destinationFolderId)
Move a workspaceItem to a specified destination.
|
void |
WorkspaceSmartFolder.remove()
Remove this item from the workspace.
|
void |
WorkspaceItem.remove()
Remove this item from the workspace.
|
void |
Workspace.remove(String itemName,
String folderId)
Remove an item from a folder.
|
void |
Workspace.removeChild(String childId,
String folderId)
Remove an item from a folder.
|
void |
WorkspaceItem.removeChild(WorkspaceItem child)
Remove a child from this item.
|
void |
Workspace.removeItem(String itemId)
Remove an item.
|
Map<String,String> |
Workspace.removeItems(String... id)
Remove a list of items identified by ids
|
void |
WorkspaceVREFolder.removeUserFromVRE(String user)
Remove user from VRE folder
|
void |
WorkspaceSmartFolder.rename(String name)
Change this item name.
|
void |
WorkspaceItem.rename(String name)
Change this item name.
|
void |
Workspace.renameItem(String itemId,
String newName)
Rename an item.
|
List<SearchFolderItem> |
Workspace.searchByMimeType(String mimeType)
Search By MimeType
|
List<SearchItem> |
Workspace.searchByName(String name,
String folderId)
Search by Name
|
List<WorkspaceItem> |
Workspace.searchByProperties(List<String> properties)
Search By Properties
|
List<WorkspaceItem> |
Workspace.searchByProperties(SearchQuery queryString)
Search items by properties
|
List<SearchFolderItem> |
Workspace.searchFullText(String text)
Deprecated.
|
List<GCubeItem> |
Workspace.searchGCubeItems(SearchQuery query)
Search GCubeItems
|
void |
WorkspaceFolder.setACL(List<String> users,
ACLType privilege)
Set a privilege to a list of users
|
boolean |
WorkspaceSharedFolder.setAdmins(List<String> logins)
Set administrators
|
void |
WorkspaceSmartFolder.setDescription(String description)
Set a new item description.
|
void |
WorkspaceItem.setDescription(String description)
Set a new item description.
|
void |
WorkspaceVREFolder.setDisplayName(String displayName)
Set display name
|
void |
WorkspaceItem.setHidden(boolean flag)
Mark items as hidden
|
void |
WorkspaceFolder.setPublic(boolean flag)
Set a folder as public or private
|
void |
WorkspaceFolder.setSystemFolder(boolean systemFolder)
Mark folder as system folder
|
void |
WorkspaceSharedFolder.setVREFolder(boolean isVREFolder)
Set a folder as VRE folder
|
WorkspaceSharedFolder |
WorkspaceFolder.share(List<String> users)
Share a folder
|
WorkspaceSharedFolder |
Workspace.share(List<String> users,
String itemId)
Shared an exist
WorkspaceFolder with a list of users |
WorkspaceSharedFolder |
Workspace.shareFolder(List<String> users,
String destinationFolderId)
Shared an exist
WorkspaceFolder with a list of users |
WorkspaceFolder |
WorkspaceSharedFolder.unShare() |
WorkspaceItem |
Workspace.unshare(String itemId)
Unshare a shared item
|
WorkspaceFolder |
WorkspaceSharedFolder.unShare(String user)
Unshare a single user
|
void |
Properties.update()
Save modified properties
|
void |
WorkspaceItem.updateItem(InputStream fileData)
Update item
|
void |
Workspace.updateItem(String itemId,
InputStream fileData)
Update an item
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AccessManager.deleteAces(String resourcePath,
List<String> users)
Delete old Aces
|
Map<String,List<String>> |
AccessManager.getEACL(String absPath)
Get the permissions which are effective for a particular node.
|
boolean |
AccessManager.setAdminACL(List<String> users,
String absPath)
All privileges.
|
boolean |
AccessManager.setReadOnlyACL(List<String> users,
String absPath)
Allow users to only read files.
|
boolean |
AccessManager.setWriteAllACL(List<String> users,
String absPath)
Allow users to create, edit and delete files of everyone in the share.
|
boolean |
AccessManager.setWriteOwnerACL(List<String> users,
String absPath)
Allow users to create, edit and delete files of everyone in the share.
|
| Modifier and Type | Method and Description |
|---|---|
WorkspaceItem |
WorkspaceCatalogue.addWorkspaceItem(String workspaceItemID)
Copy item into Catalogue root
|
WorkspaceItem |
WorkspaceCatalogue.addWorkspaceItem(String workspaceItemID,
String destinationFolderID)
Copy item into Catalogue Folder
|
WorkspaceItem |
WorkspaceCatalogue.getCatalogueItem(String id)
Retrieve a catalogue item by id
|
WorkspaceItem |
WorkspaceCatalogue.getCatalogueItemByPath(String path)
Retrieve a catalogue item by relative path
|
List<WorkspaceItem> |
WorkspaceCatalogue.getCatalogueItemByWorkspaceID(String workspaceItemID)
Get all catalogue Items by a workspace item ID
|
WorkspaceItem |
WorkspaceCatalogue.getWorkspaceItemByCatalogueID(String catalogueItemID)
Get a WorkspaceItem by a catalogue item ID
|
| Modifier and Type | Method and Description |
|---|---|
void |
FolderBulkCreator.commit()
Commit all requested changes.
|
void |
FolderBulkCreator.createAnnotation(URI uri)
Create a new annotation into this folder.
|
void |
FolderBulkCreator.createDocumentAlternativeItem(URI uri)
Create a new document alternative into this folder.
|
void |
FolderBulkCreator.createDocumentItem(URI uri)
Create a new document into this folder.
|
void |
FolderBulkCreator.createDocumentPartItem(URI uri)
Create a new document part into this folder.
|
void |
FolderBulkCreator.createExternalUrl(String url)
Create an external url.
|
void |
FolderBulkCreator.createMetadata(URI uri)
Create a new metadata into this folder.
|
void |
FolderBulkCreator.createQuery(String name,
String query,
QueryType queryType)
Create a new query.
|
FolderBulkCreator |
FolderBulkCreatorManager.getActiveFolderBulkCreator(String id) |
int |
FolderBulkCreator.getFailures() |
long |
FolderItem.getLength()
The folder item length.
|
String |
FolderItem.getMimeType()
The folder myme type
|
int |
FolderBulkCreator.getNumberOfRequests()
Return the number of requests processed by this FolderBulkCreator.
|
float |
FolderBulkCreator.getStatus() |
void |
FolderBulkCreator.remove() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
ExternalFile.downloadVersion(String version)
Get a previous version
|
org.gcube.common.homelibary.model.versioning.WorkspaceVersion |
ExternalFile.getCurrentVersion()
Get Current version
|
InputStream |
GCubeItem.getData() |
InputStream |
Report.getData()
Return the template file data.
|
InputStream |
ReportTemplate.getData()
Return the template file data.
|
InputStream |
File.getData()
The file data.
|
void |
File.getHardLink(String linkName)
The hard link
|
long |
File.getLength()
The file length.
|
String |
File.getName()
The file name.
|
String |
File.getPublicLink()
The public link
|
List<String> |
GCubeItem.getScopes() |
String |
File.getStorageId()
The storage ID
|
InputStream |
Image.getThumbnail()
The image thumbnail.
|
String |
Url.getUrl()
Return the url value.
|
org.gcube.common.homelibary.model.versioning.WorkspaceVersion |
ExternalFile.getVersion(String versionID)
Get a version by version ID
|
List<org.gcube.common.homelibary.model.versioning.WorkspaceVersion> |
ExternalFile.getVersionHistory()
Get a list of versions
|
void |
ExternalFile.removeVersion(String version)
Remove a version
|
void |
ExternalFile.removeVersions(List<String> versions)
Remove a list of versions
|
void |
ExternalFile.restoreVersion(String version)
Restore a version
|
void |
ExternalFile.setData(InputStream data)
Set Data
|
WorkspaceSharedFolder |
GCubeItem.share(List<String> users) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
TimeSeries.getCompressedData()
Return the Time Series as compressed csv stream.
|
InputStream |
TimeSeries.getData()
Return the Time Series as csv stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PrivilegeManager.createCostumePrivilege(String name,
String[] strings) |
| Modifier and Type | Method and Description |
|---|---|
List<WorkspaceItem> |
WorkspaceMessage.getAttachments() |
WorkspaceMessage |
WorkspaceMessageManager.getReceivedMessage(String requestId) |
WorkspaceMessage |
WorkspaceMessageManager.getSentMessage(String id) |
void |
WorkspaceMessage.open() |
WorkspaceItem |
WorkspaceMessage.saveAttachment(String attachmentId,
String destinationFolderId) |
void |
WorkspaceMessage.saveAttachments(String destinationFolderId) |
List<WorkspaceMessage> |
WorkspaceMessageManager.searchInMessages(String name) |
List<WorkspaceMessage> |
WorkspaceMessageManager.searchOutMessages(String word) |
String |
WorkspaceMessageManager.sendMessageToPortalLogins(String subject,
String body,
List<String> attachmentIds,
List<String> portalLogins) |
String |
WorkspaceMessageManager.sendMessageToUsers(String subject,
String body,
List<String> attachmentIds,
List<User> addressees)
Create a new send request.
|
void |
WorkspaceMessage.setStatus(boolean status) |
| Modifier and Type | Method and Description |
|---|---|
void |
WorkspaceTrashItem.deletePermanently()
Delete Permanently an item in the trash folder
|
void |
WorkspaceTrashFolder.deletePermanentlyById(String id)
Delete permanently a specific item
|
List<String> |
WorkspaceTrashFolder.emptyTrash()
Empty Trash
|
String |
WorkspaceTrashItem.getMimeType()
Get mime type
|
String |
WorkspaceTrashItem.getName()
Get the name of the trashed item
|
WorkspaceTrashItem |
WorkspaceTrashFolder.getTrashItemById(String id)
Deprecated.
use
Workspace.getItem(String itemId) instead |
List<WorkspaceTrashItem> |
WorkspaceTrashFolder.listTrashItems()
Deprecated.
use
WorkspaceFolder.getChildren() instead |
void |
WorkspaceTrashItem.restore()
Restore an item in the trash folder
|
List<String> |
WorkspaceTrashFolder.restoreAll()
Restore all item in Trash
|
void |
WorkspaceTrashFolder.restoreById(String id)
Restore a specific item
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GCubeGroup.addMember(String user)
Adds the specified member to the group.
|
boolean |
GCubeGroup.addMembers(List<String> users)
Add a list of users
|
boolean |
UserManager.associateUserToGroup(String scope,
String userToAssociate)
Associate a user with a scope group
|
boolean |
UserManager.associateUserToGroup(String scope,
String userToAssociate,
String portalLogin)
Deprecated.
|
GCubeGroup |
UserManager.createGroup(String groupName)
Create a new group
|
boolean |
UserManager.createUser(String name,
String version)
Create a new user (the password will be automatically generated)
|
boolean |
UserManager.createUser(String name,
String pass,
String version)
Create a new user with password
|
boolean |
UserManager.deleteAuthorizable(String user)
Delete a group
|
String |
GCubeGroup.getDisplayName()
Return a diplayName for VRE group
|
GCubeGroup |
UserManager.getGroup(String groupname)
Return a group by the name
|
List<GCubeGroup> |
UserManager.getGroups()
Get all groups
|
List<String> |
GCubeGroup.getMembers()
Returns a list of the members in the group.
|
List<String> |
UserManager.getUsers()
Get a list of all users
|
String |
UserManager.getVersionByUser(String user)
Get current workspace Version By User
|
boolean |
UserManager.isGroup(String groupId)
Check if a user is a group
|
boolean |
GCubeGroup.isMember(String user)
Returns true if the passed user is a member of the group.
|
boolean |
UserManager.removeAdministrator(String scope,
String username) |
boolean |
UserManager.removeAdministrator(String scope,
String username,
String portalLogin)
Deprecated.
|
boolean |
GCubeGroup.removeMember(String user)
Removes the specified member from the group.
|
boolean |
GCubeGroup.removeMembers(List<String> users)
Delete a list of users
|
boolean |
UserManager.removeUserFromGroup(String scope,
String userToRemove)
Remove a user from a scope group
|
boolean |
UserManager.removeUserFromGroup(String scope,
String userToRemove,
String portalLogin)
Deprecated.
|
boolean |
UserManager.setAdministrator(String scope,
String username) |
boolean |
UserManager.setAdministrator(String scope,
String username,
String portalLogin)
Deprecated.
|
boolean |
GCubeGroup.setDisplayName(String displayName)
Set a new diplayName for VRE group
|
boolean |
UserManager.setVersionByUser(String user,
String version)
Set workspace Version for a User
|
| Modifier and Type | Method and Description |
|---|---|
static String |
WorkspaceUtil.cleanName(String name)
Clean the given name from invalid chars.
|
boolean |
ScopeHomesComparator.compareHomeManager(HomeManager manager1,
HomeManager manager2) |
boolean |
ScopeHomesComparator.compareScopes(String scope1,
String scope2,
HomeManagerFactory factory) |
boolean |
ScopeHomesComparator.compareWorkspaceItem(WorkspaceItem item1,
WorkspaceItem item2) |
static FolderItem |
WorkspaceUtil.createExternalFile(WorkspaceFolder destinationFolder,
String name,
String description,
InputStream is)
Create a external file in the specified folder.
|
static FolderItem |
WorkspaceUtil.createExternalFile(WorkspaceFolder destinationFolder,
String name,
String description,
InputStream is,
Map<String,String> properties)
Create an external file with properties
|
static FolderItem |
WorkspaceUtil.createExternalFile(WorkspaceFolder destinationFolder,
String name,
String description,
InputStream is,
Map<String,String> properties,
String mimeType,
long size)
Create an external file with mimetype and properties
|
static FolderItem |
WorkspaceUtil.createExternalFile(WorkspaceFolder destinationFolder,
String name,
String description,
String storageId)
Create an external file in the specified folder.
|
static FolderItem |
WorkspaceUtil.createExternalFile(WorkspaceFolder destinationFolder,
String name,
String description,
String mimeType,
InputStream is)
Create an item by inpustream with a given mimetype
|
static FolderItem |
WorkspaceUtil.createExternalFile(WorkspaceFolder destinationFolder,
String name,
String description,
String storageId,
Map<String,String> properties)
Create a external file with properties
|
static FolderItem |
WorkspaceUtil.createExternalFile(WorkspaceFolder destinationFolder,
String name,
String description,
String storageId,
Map<String,String> properties,
String mimeType,
long size)
Create a external file with properties
|
static FolderItem |
WorkspaceUtil.createExternalFile(WorkspaceFolder destinationFolder,
String name,
String description,
String mimeType,
String storageId) |
static ACLType |
WorkspaceUtil.getACLTypeByKey(List<String> list)
Get ACL by key
|
static String |
WorkspaceUtil.getCopyName(String initialName,
WorkspaceFolder folder)
Retrieve an unique name copying a item to the specified folder.
|
static List<String> |
WorkspaceUtil.getMembersByGroup(String id)
Get members by group ID
|
static String |
WorkspaceUtil.getUniqueName(String initialName,
WorkspaceFolder folder)
Retrieve an unique name for the specified folder.
|
static void |
WorkspaceUtil.overwrite(WorkspaceItem item,
FileInputStream fileInputStream) |
protected void |
WorkspaceTreeVisitor.printFolderItem(FolderItem item) |
protected void |
WorkspaceTreeVisitor.printWorkspaceItem(WorkspaceItem item)
Visits a Workspace item.
|
protected void |
WorkspaceTreeVisitor.visitExternalFile(ExternalFile file) |
protected void |
WorkspaceTreeVisitor.visitExternalImage(ExternalImage img)
Visits an image.
|
protected void |
WorkspaceTreeVisitor.visitExternalPDFFile(ExternalPDFFile pdf) |
protected void |
WorkspaceTreeVisitor.visitExternalURL(ExternalUrl url) |
void |
WorkspaceTreeVisitor.visitFolderItem(FolderItem item)
Visits a folder item.
|
void |
HomeLibraryVisitor.visitHomeLibrary(HomeManagerFactory factory)
Visit the specified home library.
|
protected void |
HomeLibraryVisitor.visitHomeManager(HomeManager homeManager) |
protected void |
WorkspaceTreeVisitor.visitImage(Image img) |
protected void |
WorkspaceTreeVisitor.visitImageH(Image img) |
protected void |
WorkspaceTreeVisitor.visitItem(WorkspaceItem item)
Visit an item tree without verbose information.
|
protected void |
WorkspaceTreeVisitor.visitPDF(PDF pdf) |
protected void |
WorkspaceTreeVisitor.visitQuery(Query query) |
protected void |
WorkspaceTreeVisitor.visitReport(Report report) |
protected void |
WorkspaceTreeVisitor.visitReportTemplate(ReportTemplate reportTemplate) |
void |
WorkspaceTreeVisitor.visitSimple(WorkspaceItem item)
Visit an item tree without verbose information.
|
protected void |
HomeLibraryVisitor.visitUser(Home home) |
protected void |
WorkspaceTreeVisitor.visitUser(User user)
Visits an user.
|
void |
WorkspaceTreeVisitor.visitVerbose(WorkspaceFolder folder)
Visit the tree in verbose mode.
|
protected void |
WorkspaceTreeVisitor.visitWorkspaceFolder(WorkspaceFolder folder)
Visits a workspace folder.
|
protected void |
WorkspaceTreeVisitor.visitWorkspaceItem(WorkspaceItem item)
Visit a workspace item.
|
| Modifier and Type | Method and Description |
|---|---|
String |
HomeLibraryConfiguration.getPersistenceFolder()
Returns the persistence folder.
|
| Modifier and Type | Method and Description |
|---|---|
ZipItem |
WorkspaceToZipModelConverter.convert(List<WorkspaceItem> items,
List<String> idsToExclude) |
ZipItem |
WorkspaceToZipModelConverter.convert(WorkspaceItem workspaceItem,
List<String> idsToExclude) |
protected ZipFolder |
WorkspaceToZipModelConverter.convertFolder(WorkspaceFolder workspaceFolder,
List<String> idsToExclude) |
protected ZipItem |
WorkspaceToZipModelConverter.convertFolderItem(FolderItem folderItem,
List<String> idsToExclude) |
protected ZipFile |
WorkspaceToZipModelConverter.convertImage(ZipFolder parent,
Image image) |
protected void |
ZipModelToWorkspaceCreator.createItem(WorkspaceFolder folder,
ZipFile zipFile) |
protected void |
ZipModelToWorkspaceCreator.createWorkspace(WorkspaceFolder parentFolder,
ZipFolder zipFolder) |
protected void |
ZipModelToWorkspaceCreator.createWorkspaceItem(WorkspaceFolder parentFolder,
ZipItem item) |
List<ZipItem> |
ExtractAllFiles.getModel() |
static WorkspaceFolder |
UnzipUtil.unzip(WorkspaceFolder destinationFolder,
InputStream is,
String zipName)
Unzip the specified file into the specified workspace.
|
static WorkspaceFolder |
UnzipUtil.unzip(WorkspaceFolder destinationFolder,
InputStream is,
String zipName,
boolean replace) |
static WorkspaceFolder |
UnzipUtil.unzip(WorkspaceFolder destinationFolder,
InputStream is,
String zipName,
boolean replace,
boolean hardreplace) |
static void |
UnzipUtil.unzip(WorkspaceFolder destinationFolder,
String zipPath) |
static File |
ZipUtil.zipDocument(GCubeItem document)
Zip the document into a tmp zip file.
|
static File |
ZipUtil.zipDocument(GCubeItem document,
boolean skipRoot)
Zip the document into a tmp zip file.
|
static File |
ZipUtil.zipFolder(WorkspaceFolder folder)
Zip the folder content into a tmp zip file.
|
static File |
ZipUtil.zipFolder(WorkspaceFolder folder,
boolean skipRoot,
List<String> idsToExclude)
Zip the folder content into a tmp zip file.
|
static File |
ZipUtil.zipTimeSeries(TimeSeries ts) |
static File |
ZipUtil.zipTimeSeries(TimeSeries ts,
boolean skipRoot) |
protected static File |
ZipUtil.zipWorkspaceItem(List<WorkspaceItem> items,
List<String> idsToExclude) |
protected static File |
ZipUtil.zipWorkspaceItem(WorkspaceItem workspaceItem) |
protected static File |
ZipUtil.zipWorkspaceItem(WorkspaceItem workspaceItem,
boolean skipRoot) |
protected static File |
ZipUtil.zipWorkspaceItem(WorkspaceItem workspaceItem,
boolean skipRoot,
List<String> idsToExclude) |
static File |
ZipUtil.zipWorkspaceItems(List<WorkspaceItem> items,
List<String> idsToExclude)
Zip a list of items
|
| Constructor and Description |
|---|
ExtractAllFiles(String path) |
Copyright © 2020. All Rights Reserved.