| Modifier and Type | Method and Description |
|---|---|
void |
WorkspaceStorageHubClientService.changeDescription(String itemId,
String newDescription) |
WorkspaceItem |
WorkspaceStorageHubClientService.copy(String itemId,
String destinationFolderId) |
WorkspaceItem |
WorkspaceStorageHubClientService.copy(String itemId,
String newName,
String destinationFolderId) |
URLFileItem |
WorkspaceStorageHubClientService.createExternalUrl(String name,
String description,
InputStream url,
String destinationfolderId) |
URLFileItem |
WorkspaceStorageHubClientService.createExternalUrl(String name,
String description,
String url,
String destinationFolderId) |
WorkspaceFolder |
WorkspaceStorageHubClientService.createFolder(String name,
String description,
String destinationFolderId) |
WorkspaceFolder |
WorkspaceStorageHubClientService.createFolder(String name,
String description,
String destinationFolderId,
Map<String,String> properties) |
WorkspaceItem |
WorkspaceStorageHubClientService.createGcubeItem(String name,
String description,
List<String> scopes,
String creator,
String itemType,
Map<String,String> properties,
String destinationFolderId) |
WorkspaceSharedFolder |
WorkspaceStorageHubClientService.createSharedFolder(String name,
String description,
List<String> users,
String destinationFolderId) |
WorkspaceSharedFolder |
WorkspaceStorageHubClientService.createSharedFolder(String name,
String description,
String groupId,
String destinationFolderId,
String displayName,
boolean isVREFolder) |
WorkspaceVREFolder |
WorkspaceStorageHubClientService.createVREFolder(String scope,
String description,
String displayName,
ACLType privilege) |
boolean |
WorkspaceStorageHubClientService.exists(String name,
String folderId) |
List<WorkspaceItem> |
WorkspaceStorageHubClientService.find(String name,
String folderId) |
long |
WorkspaceStorageHubClientService.getDiskUsage() |
List<WorkspaceItem> |
WorkspaceStorageHubClientService.getFolderItems(org.gcube.common.storagehub.model.types.GenericItemType type) |
String |
WorkspaceStorageHubClientService.getGroup(String groupId) |
WorkspaceItem |
WorkspaceStorageHubClientService.getItem(String itemId) |
WorkspaceItem |
WorkspaceStorageHubClientService.getItem(String itemId,
boolean withAccounting,
boolean withFileDetails,
boolean withMapProperties) |
WorkspaceFolder |
WorkspaceStorageHubClientService.getMySpecialFolders() |
String |
WorkspaceStorageHubClientService.getOwner() |
List<? extends WorkspaceItem> |
WorkspaceStorageHubClientService.getParentsById(String id) |
List<WorkspaceItem> |
WorkspaceStorageHubClientService.getPublicFolders() |
WorkspaceFolder |
WorkspaceStorageHubClientService.getRoot() |
int |
WorkspaceStorageHubClientService.getTotalItems() |
WorkspaceTrashItem |
WorkspaceStorageHubClientService.getTrash() |
WorkspaceSharedFolder |
WorkspaceStorageHubClientService.getVREFolderByScope(String scope) |
boolean |
WorkspaceStorageHubClientService.isGroup(String groupId) |
WorkspaceItem |
WorkspaceStorageHubClientService.moveItem(String itemId,
String destinationFolderId) |
void |
WorkspaceStorageHubClientService.remove(String itemName,
String folderId) |
void |
WorkspaceStorageHubClientService.removeItem(String itemId) |
Map<String,String> |
WorkspaceStorageHubClientService.removeItems(String... id) |
void |
WorkspaceStorageHubClientService.renameItem(String itemId,
String newName) |
List<WorkspaceItem> |
WorkspaceStorageHubClientService.searchByMimeType(String mimeType) |
List<WorkspaceItem> |
WorkspaceStorageHubClientService.searchByName(String name,
String folderId) |
List<WorkspaceItem> |
WorkspaceStorageHubClientService.searchByProperties(List<String> properties) |
WorkspaceSharedFolder |
WorkspaceStorageHubClientService.share(List<String> users,
String itemId) |
WorkspaceSharedFolder |
WorkspaceStorageHubClientService.shareFolder(List<String> users,
String destinationFolderId) |
WorkspaceItem |
WorkspaceStorageHubClientService.unshare(String itemId) |
WorkspaceItem |
WorkspaceStorageHubClientService.uploadFile(String folderId,
InputStream is,
String fileName,
String fileDescription) |
| Modifier and Type | Method and Description |
|---|---|
void |
Workspace.changeDescription(String itemId,
String newDescription)
Change an item description.
|
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.
|
URLFileItem |
Workspace.createExternalUrl(String name,
String description,
InputStream url,
String destinationfolderId)
Create a new External URL into a folder.
|
URLFileItem |
Workspace.createExternalUrl(String name,
String description,
String url,
String destinationFolderId)
Create a new External URL into a 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.
|
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.
|
WorkspaceVREFolder |
Workspace.createVREFolder(String scope,
String description,
String displayName,
ACLType privilege)
Create a VRE folder.
|
boolean |
Workspace.exists(String name,
String folderId)
Check if an item with the specified name exists in the specified folder.
|
List<WorkspaceItem> |
Workspace.find(String name,
String folderId)
Get an item with the specified name in the specified folder.
|
long |
Workspace.getDiskUsage()
Get the disk usage of a worskpace.
|
List<WorkspaceItem> |
Workspace.getFolderItems(org.gcube.common.storagehub.model.types.GenericItemType type)
Get items by type.
|
String |
Workspace.getGroup(String groupId)
Get group name by group id.
|
WorkspaceItem |
Workspace.getItem(String itemId)
Return the item with the specified id.
|
WorkspaceItem |
Workspace.getItem(String itemId,
boolean withAccounting,
boolean withFileDetails,
boolean withMapProperties)
Return the item with the specified id.
|
WorkspaceFolder |
Workspace.getMySpecialFolders()
Get MySpecialFolders.
|
String |
Workspace.getOwner()
Gets the owner.
|
List<? extends WorkspaceItem> |
Workspace.getParentsById(String id)
Gets the parents by id.
|
List<WorkspaceItem> |
Workspace.getPublicFolders()
Get public folders.
|
WorkspaceFolder |
Workspace.getRoot()
Returns the workspace root.
|
int |
Workspace.getTotalItems()
Get the total number of items in a workspace.
|
WorkspaceTrashItem |
Workspace.getTrash()
Get Trash Folder.
|
WorkspaceSharedFolder |
Workspace.getVREFolderByScope(String scope)
Get VRE Folder By Scope.
|
boolean |
Workspace.isGroup(String groupId)
Check if a user is a group.
|
WorkspaceItem |
Workspace.moveItem(String itemId,
String destinationFolderId)
Move a workspaceItem to a specified destination.
|
void |
Workspace.remove(String itemName,
String folderId)
Remove an item from a folder.
|
void |
Workspace.removeItem(String itemId)
Remove an item.
|
Map<String,String> |
Workspace.removeItems(String... id)
Remove a list of items identified by ids.
|
void |
Workspace.renameItem(String itemId,
String newName)
Rename an item.
|
List<WorkspaceItem> |
Workspace.searchByMimeType(String mimeType)
Search By MimeType.
|
List<WorkspaceItem> |
Workspace.searchByName(String name,
String folderId)
Search by Name.
|
List<WorkspaceItem> |
Workspace.searchByProperties(List<String> properties)
Search By Properties.
|
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. |
WorkspaceItem |
Workspace.unshare(String itemId)
Unshare a shared item.
|
WorkspaceItem |
Workspace.uploadFile(String folderId,
InputStream inputStream,
String fileName,
String fileDescription)
Upload file.
|
| Modifier and Type | Method and Description |
|---|---|
Calendar |
WorkspaceItem.getCreationTime()
This item creation time.
|
String |
WorkspaceItem.getDescription()
This item description.
|
String |
WorkspaceItem.getId()
This item id.
|
String |
Properties.getId()
Get ID.
|
Calendar |
WorkspaceItem.getLastModificationTime()
This item last modification time.
|
String |
WorkspaceItem.getLastModifiedBy()
Gets the last modified by.
|
String |
WorkspaceItem.getName()
This item name.
|
String |
WorkspaceItem.getOwner()
This item owner.
|
Map<String,String> |
Properties.getProperties()
Get Properties.
|
String |
Properties.getPropertyValue(String propertyName)
Get property value.
|
boolean |
WorkspaceItem.isFolder()
Check if the item is a folder.
|
boolean |
WorkspaceItem.isHidden()
Return a flag indicating whether the element is hidden.
|
boolean |
WorkspaceItem.isRoot()
Says if this item is a root element.
|
boolean |
WorkspaceItem.isShared()
Return a flag indicating whether the element is shared.
|
boolean |
WorkspaceItem.isTrashed()
Check if the item is in the trash.
|
| Modifier and Type | Method and Description |
|---|---|
WorkspaceVersion |
FileItem.getCurrentVersion() |
String |
FileItem.getMimeType() |
Long |
FileItem.getSize() |
InputStream |
ImageFile.getThumbnail() |
| Modifier and Type | Method and Description |
|---|---|
WorkspaceVersion |
FileItem.getCurrentVersion()
Get Current version.
|
InputStream |
GCubeItem.getData()
Gets the data.
|
String |
File.getMimeType()
The folder myme type.
|
List<String> |
GCubeItem.getScopes()
Gets the scopes.
|
Long |
File.getSize()
Gets the size.
|
InputStream |
Image.getThumbnail()
The image thumbnail.
|
WorkspaceSharedFolder |
GCubeItem.share(List<String> users)
Share.
|
| 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
org.gcube.portal.storagehubwrapper.server.tohl.homelibrary.home.workspace.Workspace#getItem(String itemId) instead |
List<WorkspaceTrashItem> |
WorkspaceTrashFolder.listTrashItems()
Deprecated.
use
#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.
|
Copyright © 2018. All Rights Reserved.