| Modifier and Type | Method and Description |
|---|---|
WorkspaceItem |
WorkspaceStorageHubClientService.copyFile(String itemId,
String folderDestinationId)
Copy file.
|
List<WorkspaceItem> |
WorkspaceStorageHubClientService.copyFileItems(List<String> itemIds,
String folderDestinationId)
Copy file items.
|
WorkspaceFolder |
WorkspaceStorageHubClientService.createFolder(String name,
String description,
String destinationFolderId)
Creates the folder.
|
WorkspaceFolder |
WorkspaceStorageHubClientService.createFolder(String name,
String description,
String destinationFolderId,
Map<String,String> properties)
Creates the folder.
|
boolean |
WorkspaceStorageHubClientService.exists(String name,
String folderId)
Exists.
|
List<WorkspaceItem> |
WorkspaceStorageHubClientService.find(String name,
String folderId)
Find.
|
WorkspaceItem |
WorkspaceStorageHubClientService.getItem(String itemId)
Gets the item.
|
WorkspaceItem |
WorkspaceStorageHubClientService.getItem(String itemId,
boolean withAccounting,
boolean withFileDetails,
boolean withMapProperties)
Gets the item.
|
WorkspaceItem |
WorkspaceStorageHubClientService.getItemByPath(String folderId,
String relativePath) |
WorkspaceItem |
WorkspaceStorageHubClientService.getItemForExplorer(String itemId,
boolean withAccounting,
boolean withFileDetails,
boolean withMapProperties)
Gets the item.
|
String |
WorkspaceStorageHubClientService.getOwner()
Gets the owner.
|
List<? extends WorkspaceItem> |
WorkspaceStorageHubClientService.getParentsById(String id)
Gets the parents by id.
|
List<? extends WorkspaceItem> |
WorkspaceStorageHubClientService.getParentsForExplorerById(String id)
Gets the parents for explorer by id.
|
WorkspaceFolder |
WorkspaceStorageHubClientService.getRoot()
Gets the root.
|
WorkspaceItem |
WorkspaceStorageHubClientService.moveItem(String itemId,
String folderDestinationId)
Move item.
|
List<WorkspaceItem> |
WorkspaceStorageHubClientService.moveItems(List<String> itemIds,
String folderDestinationId)
Move items.
|
Map<String,String> |
WorkspaceStorageHubClientService.removeItems(String... id)
Removes the items.
|
WorkspaceItem |
WorkspaceStorageHubClientService.renameItem(String itemId,
String newName)
Rename item.
|
List<WorkspaceItem> |
WorkspaceStorageHubClientService.search(String text,
String folderId)
Search.
|
| Modifier and Type | Method and Description |
|---|---|
WorkspaceItem |
Workspace.copyFile(String itemId,
String folderDestinationId)
Copy file.
|
List<WorkspaceItem> |
Workspace.copyFileItems(List<String> itemIds,
String folderDestinationId)
Copy file items.
|
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.
|
void |
Workspace.deleteItem(String itemId)
Delete item.
|
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.
|
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.
|
WorkspaceItem |
Workspace.getItemByPath(String idFolder,
String relativePath) |
WorkspaceItem |
Workspace.getItemForExplorer(String itemId,
boolean withAccounting,
boolean withFileDetails,
boolean withMapProperties)
Gets the item for Explorer.
|
String |
Workspace.getOwner()
Gets the owner.
|
List<? extends WorkspaceItem> |
Workspace.getParentsById(String id)
Gets the parents by id.
|
List<? extends WorkspaceItem> |
Workspace.getParentsForExplorerById(String id)
Gets the parents for explorer by id.
|
WorkspaceFolder |
Workspace.getRoot()
Returns the workspace root.
|
WorkspaceItem |
Workspace.getTrash()
Get Trash Folder.
|
WorkspaceItem |
Workspace.moveItem(String itemId,
String destinationFolderId)
Move item.
|
List<WorkspaceItem> |
Workspace.moveItems(List<String> itemIds,
String folderDestinationId)
Move items.
|
Map<String,String> |
Workspace.removeItems(String... id)
Removes the items.
|
WorkspaceItem |
Workspace.renameItem(String itemId,
String newName)
Rename an item.
|
List<WorkspaceItem> |
Workspace.search(String text,
String folderId)
Search.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Properties.getId()
Get ID.
|
String |
TrashedItem.getMimeType()
Get mime type.
|
Map<String,String> |
Properties.getProperties()
Get Properties.
|
String |
Properties.getPropertyValue(String propertyName)
Get property value.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
ImageFile.getThumbnail() |
| Modifier and Type | Method and Description |
|---|---|
WorkspaceVersion |
FileItem.getCurrentVersion()
Get Current version.
|
InputStream |
Image.getThumbnail()
The image thumbnail.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WorkspaceTrashFolder.deletePermanentlyById(String id)
Delete permanently a specific item.
|
List<String> |
WorkspaceTrashFolder.emptyTrash()
Empty Trash.
|
TrashedItem |
WorkspaceTrashFolder.getTrashItemById(String id)
Deprecated.
use
org.gcube.portal.storagehubwrapper.server.tohl.homelibrary.home.workspace.Workspace#getItem(String itemId) instead |
List<TrashedItem> |
WorkspaceTrashFolder.listTrashItems()
Deprecated.
use
#getChildren() instead |
List<String> |
WorkspaceTrashFolder.restoreAll()
Restore all item in Trash.
|
void |
WorkspaceTrashFolder.restoreById(String id)
Restore a specific item.
|
Copyright © 2022. All rights reserved.