public class GWTWorkspaceServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements GWTWorkspaceService
Modifier and Type | Field and Description |
---|---|
protected static String |
IDENTIFIER_IS_NULL |
static String |
LAST_OPEN_FOLDER_ATTRIBUTE |
protected static String |
RETRIEVING_ITEM_EITHER_ITEM_DOESN_T_EXIST |
static String |
SELECTION_STATE_ATTRIBUTE |
protected org.apache.log4j.Logger |
workspaceLogger |
Constructor and Description |
---|
GWTWorkspaceServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
addAdministratorsByFolderId(String folderId,
List<String> listContactLogins)
Adds the administrators by folder id.
|
boolean |
copyItem(String itemId,
String destinationFolderId)
Copy item.
|
boolean |
copyItems(List<String> idsItem,
String destinationFolderId)
Copy items.
|
FileModel |
createExternalUrl(FileModel parentFileModel,
String name,
String description,
String url)
Creates the external url.
|
FolderModel |
createFolder(String nameFolder,
String description,
FileModel parent)
Creates the folder.
|
SmartFolderModel |
createSmartFolder(String name,
String description,
String query,
String parentId)
Creates the smart folder.
|
List<GarbageItem> |
deleteListItemsForIds(List<String> ids)
Delete list items for ids.
|
TrashOperationContent |
executeOperationOnTrash(List<String> listTrashItemIds,
WorkspaceTrashOperation operation)
Execute operation on trash.
|
List<GxtAccountingField> |
getAccountingHistory(String identifier)
Gets the accounting history.
|
List<GxtAccountingField> |
getAccountingReaders(String identifier)
Gets the accounting readers.
|
WorkspaceACL |
getACLBySharedFolderId(String identifier)
Gets the ACL by shared folder id.
|
List<WorkspaceACL> |
getACLs()
Gets the AC ls.
|
String |
getACLsDescriptionForWorkspaceItemById(String workspaceItemId)
Gets ACLs Description For WorkspaceItem ById.
|
List<InfoContactModel> |
getAdministratorsByFolderId(String folderId)
Gets the administrators by folder id.
|
List<InfoContactModel> |
getAllContacts()
Gets the all contacts.
|
List<ScopeModel> |
getAllScope()
Gets the all scope.
|
List<SmartFolderModel> |
getAllSmartFolders()
Gets the all smart folders.
|
ArrayList<SubTree> |
getChildrenSubTreeToRootByIdentifier(String itemIdentifier)
Gets the children sub tree to root by identifier.
|
FileDetailsModel |
getDetailsFile(FileModel folder)
Gets the details file.
|
List<FileModel> |
getFolderChildren(FolderModel folder)
Gets the folder children.
|
List<FileGridModel> |
getFolderChildrenForFileGrid(FileModel folder)
Gets the folder children for file grid.
|
List<FileGridModel> |
getFolderChildrenForFileGridById(String folderId)
Gets the folder children for file grid by id.
|
protected GWTWorkspaceBuilder |
getGWTWorkspaceBuilder()
Gets the GWT workspace builder.
|
String |
getHTMLGcubeItemProperties(String itemId)
Gets the HTML gcube item properties.
|
GWTWorkspaceItem |
getImageById(String identifier,
boolean isInteralImage,
boolean fullDetails)
Gets the image by id.
|
Date |
getItemCreationDateById(String itemId)
Gets the item creation date by id.
|
String |
getItemDescriptionById(String identifier)
Gets the item description by id.
|
FileGridModel |
getItemForFileGrid(String itemId)
Gets the item for file grid.
|
FileModel |
getItemForFileTree(String itemId) |
List<FileGridModel> |
getItemsBySearchName(String text,
String folderId)
Gets the items by search name.
|
List<FileModel> |
getListParentsByItemIdentifier(String itemIdentifier,
boolean includeItemAsParent)
Gets the list parents by item identifier.
|
List<InfoContactModel> |
getListUserSharedByFolderSharedId(String folderSharedId)
Gets the list user shared by folder shared id.
|
List<InfoContactModel> |
getListUserSharedBySharedItem(String sharedItemId)
Gets the list user shared by shared item.
|
UserBean |
getMyLogin()
Gets the my login.
|
protected NotificationsProducer |
getNotificationProducer()
Gets the notification producer.
|
InfoContactModel |
getOwnerByItemId(String itemId)
Gets the owner by item id.
|
FileModel |
getParentByItemId(String identifier)
Gets the parent by item id.
|
protected PropertySpecialFolderReader |
getPropertySpecialFolderReader()
Gets the property special folder reader.
|
PublicLink |
getPublicLinkForFolderItemId(String itemId,
boolean shortenUrl)
Gets the public link for folder item id.
|
FolderModel |
getRootForTree()
Gets the root for tree.
|
FolderModel |
getRootForTree(String scopeId)
Gets the root for tree.
|
protected ScopeUtilFilter |
getScopeUtilFilter()
Gets the scope util filter.
|
String |
getShortUrl(String longUrl)
Gets the short url.
|
List<FileGridModel> |
getSmartFolderResultsByCategory(String category)
Gets the smart folder results by category.
|
List<FileGridModel> |
getSmartFolderResultsById(String folderId)
Gets the smart folder results by id.
|
GWTWorkspaceItem |
getTimeSeriesById(String identifier)
Deprecated.
|
List<FileTrashedModel> |
getTrashContent()
Gets the trash content.
|
protected UriResolverReaderParameterForResolverIndex |
getUriResolver()
Gets the uri resolver.
|
GWTWorkspaceItem |
getUrlById(String identifier,
boolean isInternalUrl,
boolean fullDetails)
Gets the url by id.
|
String |
getURLFromApplicationProfile(String oid)
Gets the URL from application profile.
|
protected UrlShortener |
getUrlShortener()
Gets the url shortener.
|
String |
getUrlWebDav(String itemId)
Gets the url web dav.
|
List<ExtendedWorkspaceACL> |
getUserACLForFolderId(String folderId)
Gets the user acl for folder id.
|
List<InfoContactModel> |
getUsersManagerToSharedFolder(String folderId)
Gets the users manager to shared folder.
|
WorkspaceUserQuote |
getUserWorkspaceQuote()
Gets the user workspace quote.
|
String |
getUserWorkspaceSize()
Gets the user workspace size.
|
long |
getUserWorkspaceTotalItems()
Gets the user workspace total items.
|
protected org.gcube.common.homelibrary.home.workspace.Workspace |
getWorkspace()
Gets the workspace.
|
boolean |
isASharedFolder(String itemID,
boolean asRoot)
Checks if is a shared folder.
|
boolean |
isASharedFolder(org.gcube.common.homelibrary.home.workspace.WorkspaceItem item,
boolean asRoot)
Checks if is a shared folder.
|
boolean |
isSessionExpired()
Checks if is session expired.
|
protected boolean |
isTestMode()
Checks if is test mode.
|
String |
itemExistsInWorkpaceFolder(String parentId,
String itemName)
Item exists in workpace folder.
|
Map<String,String> |
loadGcubeItemProperties(String itemId)
Load gcube item properties.
|
Date |
loadLastModificationDateById(String itemId)
Load last modification date by id.
|
Long |
loadSizeByItemId(String itemId)
Load size by item id.
|
Boolean |
moveItem(String itemId,
String destinationId)
Move item.
|
Boolean |
moveItems(List<String> ids,
String destinationId)
Move items.
|
Boolean |
removeItem(String itemId)
Removes the item.
|
Boolean |
removeSmartFolder(String itemId,
String name)
Removes the smart folder.
|
Boolean |
renameItem(String itemId,
String newName,
String previousName)
Rename item.
|
boolean |
sendToById(List<String> listContactsId,
List<String> listAttachmentsId,
String subject,
String body)
Send to by id.
|
void |
setACLs(String folderId,
List<String> listLogins,
String aclType)
Sets the ac ls.
|
void |
setGcubeItemProperties(String itemId,
Map<String,String> properties)
Sets the gcube item properties.
|
void |
setValueInSession(String name,
String value)
Sets the value in session.
|
boolean |
shareFolder(FileModel folder,
List<InfoContactModel> listContacts,
boolean isNewFolder,
WorkspaceACL acl)
Share folder.
|
boolean |
unSharedFolderByFolderSharedId(String folderSharedId)
Un shared folder by folder shared id.
|
void |
updateACLForVREbyGroupName(String folderId,
String aclType)
Update acl for vr eby group name.
|
TrashContent |
updateTrashContent(WorkspaceTrashOperation operation)
Update trash content.
|
ReportAssignmentACL |
validateACLToUser(String folderId,
List<String> listLogins,
String aclType)
Validate acl to user.
|
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected static final String IDENTIFIER_IS_NULL
protected static final String RETRIEVING_ITEM_EITHER_ITEM_DOESN_T_EXIST
public static final String LAST_OPEN_FOLDER_ATTRIBUTE
public static final String SELECTION_STATE_ATTRIBUTE
protected org.apache.log4j.Logger workspaceLogger
protected GWTWorkspaceBuilder getGWTWorkspaceBuilder()
protected org.gcube.common.homelibrary.home.workspace.Workspace getWorkspace() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException, org.gcube.common.homelibrary.home.exceptions.HomeNotFoundException, org.gcube.common.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException
org.gcube.common.homelibrary.home.exceptions.InternalErrorException
- the internal error exceptionorg.gcube.common.homelibrary.home.exceptions.HomeNotFoundException
- the home not found exceptionorg.gcube.common.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException
- the workspace folder not found exceptionprotected NotificationsProducer getNotificationProducer()
protected ScopeUtilFilter getScopeUtilFilter()
protected boolean isTestMode()
protected UrlShortener getUrlShortener()
protected UriResolverReaderParameterForResolverIndex getUriResolver()
protected PropertySpecialFolderReader getPropertySpecialFolderReader()
public FolderModel getRootForTree() throws Exception
GWTWorkspaceService
getRootForTree
in interface GWTWorkspaceService
Exception
- the exceptionpublic FolderModel getRootForTree(String scopeId) throws Exception
GWTWorkspaceService
getRootForTree
in interface GWTWorkspaceService
scopeId
- the scope idException
- the exceptionpublic List<FileGridModel> getItemsBySearchName(String text, String folderId) throws Exception
GWTWorkspaceService
getItemsBySearchName
in interface GWTWorkspaceService
text
- the textfolderId
- the folder idException
- the exceptionpublic List<FileModel> getFolderChildren(FolderModel folder) throws Exception, SessionExpiredException
GWTWorkspaceService
getFolderChildren
in interface GWTWorkspaceService
folder
- the folderException
- the exceptionSessionExpiredException
- the session expired exceptionpublic List<FileGridModel> getFolderChildrenForFileGrid(FileModel folder) throws Exception, SessionExpiredException
GWTWorkspaceService
getFolderChildrenForFileGrid
in interface GWTWorkspaceService
folder
- the folderException
- the exceptionSessionExpiredException
- the session expired exceptionpublic List<FileGridModel> getFolderChildrenForFileGridById(String folderId) throws Exception, SessionExpiredException
GWTWorkspaceService
getFolderChildrenForFileGridById
in interface GWTWorkspaceService
folderId
- the folder idException
- the exceptionSessionExpiredException
- the session expired exceptionpublic FileGridModel getItemForFileGrid(String itemId) throws Exception
GWTWorkspaceService
getItemForFileGrid
in interface GWTWorkspaceService
itemId
- the item idException
- the exceptionpublic FileModel getItemForFileTree(String itemId) throws Exception
getItemForFileTree
in interface GWTWorkspaceService
Exception
public Boolean moveItem(String itemId, String destinationId) throws Exception
GWTWorkspaceService
moveItem
in interface GWTWorkspaceService
itemId
- the item iddestinationId
- the destination idException
- the exceptionpublic Boolean moveItems(List<String> ids, String destinationId) throws Exception
GWTWorkspaceService
moveItems
in interface GWTWorkspaceService
ids
- the idsdestinationId
- the destination idException
- the exceptionpublic Boolean removeItem(String itemId) throws Exception
GWTWorkspaceService
removeItem
in interface GWTWorkspaceService
itemId
- the item idException
- the exceptionpublic Boolean renameItem(String itemId, String newName, String previousName) throws Exception
GWTWorkspaceService
renameItem
in interface GWTWorkspaceService
itemId
- the item idnewName
- the new namepreviousName
- the old nameException
- the exceptionpublic FolderModel createFolder(String nameFolder, String description, FileModel parent) throws Exception
GWTWorkspaceService
createFolder
in interface GWTWorkspaceService
nameFolder
- the name folderdescription
- the descriptionparent
- the parentException
- the exceptionpublic FileDetailsModel getDetailsFile(FileModel folder) throws Exception
GWTWorkspaceService
getDetailsFile
in interface GWTWorkspaceService
folder
- the itemException
- the exceptionpublic ArrayList<SubTree> getChildrenSubTreeToRootByIdentifier(String itemIdentifier) throws Exception
GWTWorkspaceService
getChildrenSubTreeToRootByIdentifier
in interface GWTWorkspaceService
itemIdentifier
- the item identifierException
- the exceptionpublic List<FileGridModel> getSmartFolderResultsByCategory(String category) throws Exception
GWTWorkspaceService
getSmartFolderResultsByCategory
in interface GWTWorkspaceService
category
- the categoryException
- the exceptionpublic SmartFolderModel createSmartFolder(String name, String description, String query, String parentId) throws Exception
GWTWorkspaceService
createSmartFolder
in interface GWTWorkspaceService
name
- the namedescription
- the descriptionquery
- the queryparentId
- the parent idException
- the exceptionpublic Boolean removeSmartFolder(String itemId, String name) throws Exception
GWTWorkspaceService
removeSmartFolder
in interface GWTWorkspaceService
itemId
- the item idname
- the nameException
- the exceptionpublic List<SmartFolderModel> getAllSmartFolders() throws Exception
GWTWorkspaceService
getAllSmartFolders
in interface GWTWorkspaceService
Exception
- the exceptionpublic List<FileGridModel> getSmartFolderResultsById(String folderId) throws Exception
GWTWorkspaceService
getSmartFolderResultsById
in interface GWTWorkspaceService
folderId
- the folder idException
- the exceptionpublic GWTWorkspaceItem getImageById(String identifier, boolean isInteralImage, boolean fullDetails) throws Exception
GWTWorkspaceService
getImageById
in interface GWTWorkspaceService
identifier
- the identifierisInteralImage
- the is interal imagefullDetails
- the full detailsException
- the exception@Deprecated public GWTWorkspaceItem getTimeSeriesById(String identifier) throws Exception
GWTWorkspaceService
getTimeSeriesById
in interface GWTWorkspaceService
identifier
- the identifierException
- the exceptionpublic GWTWorkspaceItem getUrlById(String identifier, boolean isInternalUrl, boolean fullDetails) throws Exception
GWTWorkspaceService
getUrlById
in interface GWTWorkspaceService
identifier
- the identifierisInternalUrl
- the is internal urlfullDetails
- the full detailsException
- the exceptionpublic FileModel createExternalUrl(FileModel parentFileModel, String name, String description, String url) throws Exception
GWTWorkspaceService
createExternalUrl
in interface GWTWorkspaceService
parentFileModel
- the parent file modelname
- the namedescription
- the descriptionurl
- the urlException
- the exceptionpublic String getURLFromApplicationProfile(String oid) throws Exception
GWTWorkspaceService
getURLFromApplicationProfile
in interface GWTWorkspaceService
oid
- the oidException
- the exceptionpublic void setValueInSession(String name, String value) throws Exception
GWTWorkspaceService
setValueInSession
in interface GWTWorkspaceService
name
- the namevalue
- the valueException
- the exceptionpublic List<ScopeModel> getAllScope() throws Exception
GWTWorkspaceService
getAllScope
in interface GWTWorkspaceService
Exception
- the exceptionpublic List<InfoContactModel> getAllContacts() throws Exception
GWTWorkspaceService
getAllContacts
in interface GWTWorkspaceService
Exception
- the exceptionpublic boolean sendToById(List<String> listContactsId, List<String> listAttachmentsId, String subject, String body) throws Exception
GWTWorkspaceService
sendToById
in interface GWTWorkspaceService
listContactsId
- the list contacts idlistAttachmentsId
- the list attachments idsubject
- the subjectbody
- the textException
- the exceptionpublic boolean copyItem(String itemId, String destinationFolderId) throws Exception
GWTWorkspaceService
copyItem
in interface GWTWorkspaceService
itemId
- the item iddestinationFolderId
- the destination folder idException
- the exceptionpublic boolean copyItems(List<String> idsItem, String destinationFolderId) throws Exception
GWTWorkspaceService
copyItems
in interface GWTWorkspaceService
idsItem
- the ids itemdestinationFolderId
- the destination folder idException
- the exceptionpublic String getUrlWebDav(String itemId) throws Exception
GWTWorkspaceService
getUrlWebDav
in interface GWTWorkspaceService
itemId
- the item idException
- the exceptionpublic boolean shareFolder(FileModel folder, List<InfoContactModel> listContacts, boolean isNewFolder, WorkspaceACL acl) throws Exception
GWTWorkspaceService
shareFolder
in interface GWTWorkspaceService
folder
- the folderlistContacts
- the list contactsisNewFolder
- the is new folderacl
- the aclException
- the exceptionpublic List<InfoContactModel> getListUserSharedByFolderSharedId(String folderSharedId) throws Exception
GWTWorkspaceService
getListUserSharedByFolderSharedId
in interface GWTWorkspaceService
folderSharedId
- the item idException
- the exceptionpublic List<InfoContactModel> getListUserSharedBySharedItem(String sharedItemId) throws Exception
GWTWorkspaceService
getListUserSharedBySharedItem
in interface GWTWorkspaceService
sharedItemId
- the shared item idException
- the exceptionpublic boolean unSharedFolderByFolderSharedId(String folderSharedId) throws Exception
GWTWorkspaceService
unSharedFolderByFolderSharedId
in interface GWTWorkspaceService
folderSharedId
- the folder shared idException
- the exceptionpublic List<FileModel> getListParentsByItemIdentifier(String itemIdentifier, boolean includeItemAsParent) throws Exception
getListParentsByItemIdentifier
in interface GWTWorkspaceService
itemIdentifier
- the item identifierincludeItemAsParent
- - if parameter is true and item passed in input is a folder, the folder is included in path returned as last parentException
- the exceptionpublic InfoContactModel getOwnerByItemId(String itemId) throws Exception
GWTWorkspaceService
getOwnerByItemId
in interface GWTWorkspaceService
itemId
- the item idException
- the exceptionpublic List<InfoContactModel> getUsersManagerToSharedFolder(String folderId) throws Exception
GWTWorkspaceService
getUsersManagerToSharedFolder
in interface GWTWorkspaceService
folderId
- the folder idException
- the exceptionpublic String itemExistsInWorkpaceFolder(String parentId, String itemName) throws Exception
GWTWorkspaceService
itemExistsInWorkpaceFolder
in interface GWTWorkspaceService
parentId
- the parent iditemName
- the item nameException
- the exceptionpublic Date getItemCreationDateById(String itemId) throws Exception
GWTWorkspaceService
getItemCreationDateById
in interface GWTWorkspaceService
itemId
- the item idException
- the exceptionpublic Long loadSizeByItemId(String itemId) throws Exception
GWTWorkspaceService
loadSizeByItemId
in interface GWTWorkspaceService
itemId
- the item idException
- the exceptionpublic Date loadLastModificationDateById(String itemId) throws Exception
GWTWorkspaceService
loadLastModificationDateById
in interface GWTWorkspaceService
itemId
- the item idException
- the exceptionpublic FileModel getParentByItemId(String identifier) throws Exception
GWTWorkspaceService
getParentByItemId
in interface GWTWorkspaceService
identifier
- the identifierException
- the exceptionpublic List<GxtAccountingField> getAccountingReaders(String identifier) throws Exception
GWTWorkspaceService
getAccountingReaders
in interface GWTWorkspaceService
identifier
- the identifierException
- the exceptionpublic List<GxtAccountingField> getAccountingHistory(String identifier) throws Exception
GWTWorkspaceService
getAccountingHistory
in interface GWTWorkspaceService
identifier
- the identifierException
- the exceptionpublic String getShortUrl(String longUrl) throws Exception
GWTWorkspaceService
getShortUrl
in interface GWTWorkspaceService
longUrl
- the long urlException
- the exceptionpublic PublicLink getPublicLinkForFolderItemId(String itemId, boolean shortenUrl) throws Exception
getPublicLinkForFolderItemId
in interface GWTWorkspaceService
itemId
- the item idshortenUrl
- the shorten urlException
- the exceptionpublic boolean isSessionExpired() throws Exception
GWTWorkspaceService
isSessionExpired
in interface GWTWorkspaceService
Exception
- the exceptionpublic List<GarbageItem> deleteListItemsForIds(List<String> ids) throws Exception
GWTWorkspaceService
deleteListItemsForIds
in interface GWTWorkspaceService
ids
- the idsException
- the exceptionpublic void setACLs(String folderId, List<String> listLogins, String aclType) throws Exception
GWTWorkspaceService
setACLs
in interface GWTWorkspaceService
folderId
- the folder idlistLogins
- the list loginsaclType
- the acl typeException
- the exceptionpublic ReportAssignmentACL validateACLToUser(String folderId, List<String> listLogins, String aclType) throws Exception
validateACLToUser
in interface GWTWorkspaceService
folderId
- the folder idlistLogins
- the list loginsaclType
- the acl typeException
- the exceptionpublic List<WorkspaceACL> getACLs() throws Exception
getACLs
in interface GWTWorkspaceService
Exception
- the exceptionpublic UserBean getMyLogin()
GWTWorkspaceService
getMyLogin
in interface GWTWorkspaceService
public void updateACLForVREbyGroupName(String folderId, String aclType) throws Exception
updateACLForVREbyGroupName
in interface GWTWorkspaceService
folderId
- the folder idaclType
- the acl typeException
- the exceptionpublic List<ExtendedWorkspaceACL> getUserACLForFolderId(String folderId) throws Exception
getUserACLForFolderId
in interface GWTWorkspaceService
folderId
- the folder idException
- the exceptionpublic String getACLsDescriptionForWorkspaceItemById(String workspaceItemId) throws Exception
getACLsDescriptionForWorkspaceItemById
in interface GWTWorkspaceService
workspaceItemId
- the folder idException
- the exceptionpublic boolean isASharedFolder(String itemID, boolean asRoot)
itemID
- the item idasRoot
- true check if itemID is root, not otherwisepublic boolean isASharedFolder(org.gcube.common.homelibrary.home.workspace.WorkspaceItem item, boolean asRoot)
item
- the itemasRoot
- the as rootisASharedFolder(String, boolean)
public List<FileTrashedModel> getTrashContent() throws Exception
getTrashContent
in interface GWTWorkspaceService
Exception
- the exceptionpublic TrashContent updateTrashContent(WorkspaceTrashOperation operation) throws Exception
updateTrashContent
in interface GWTWorkspaceService
operation
- the operationException
- the exceptionpublic TrashOperationContent executeOperationOnTrash(List<String> listTrashItemIds, WorkspaceTrashOperation operation) throws Exception
GWTWorkspaceService
executeOperationOnTrash
in interface GWTWorkspaceService
listTrashItemIds
- the list trash item idsoperation
- the operationException
- the exceptionpublic boolean addAdministratorsByFolderId(String folderId, List<String> listContactLogins) throws Exception
GWTWorkspaceService
addAdministratorsByFolderId
in interface GWTWorkspaceService
folderId
- the folder idlistContactLogins
- the list contact idsException
- the exceptionpublic List<InfoContactModel> getAdministratorsByFolderId(String folderId) throws Exception
GWTWorkspaceService
getAdministratorsByFolderId
in interface GWTWorkspaceService
folderId
- the identifierException
- the exceptionpublic String getItemDescriptionById(String identifier) throws Exception
GWTWorkspaceService
getItemDescriptionById
in interface GWTWorkspaceService
identifier
- the identifierException
- the exceptionpublic WorkspaceACL getACLBySharedFolderId(String identifier) throws Exception
GWTWorkspaceService
getACLBySharedFolderId
in interface GWTWorkspaceService
identifier
- the identifierException
- the exceptionpublic WorkspaceUserQuote getUserWorkspaceQuote() throws Exception
GWTWorkspaceService
getUserWorkspaceQuote
in interface GWTWorkspaceService
Exception
- the exceptionpublic String getUserWorkspaceSize() throws Exception
GWTWorkspaceService
getUserWorkspaceSize
in interface GWTWorkspaceService
Exception
- the exceptionpublic long getUserWorkspaceTotalItems() throws Exception
GWTWorkspaceService
getUserWorkspaceTotalItems
in interface GWTWorkspaceService
Exception
- the exceptionpublic Map<String,String> loadGcubeItemProperties(String itemId) throws Exception
GWTWorkspaceService
loadGcubeItemProperties
in interface GWTWorkspaceService
itemId
- the item idException
- the exceptionpublic String getHTMLGcubeItemProperties(String itemId) throws Exception
getHTMLGcubeItemProperties
in interface GWTWorkspaceService
itemId
- the item idException
- the exceptionpublic void setGcubeItemProperties(String itemId, Map<String,String> properties) throws Exception
setGcubeItemProperties
in interface GWTWorkspaceService
itemId
- the item idproperties
- the propertiesException
- the exceptionCopyright © 2016. All Rights Reserved.