@RemoteServiceRelativePath(value="WorkspaceService")
public interface GWTWorkspaceService
extends com.google.gwt.user.client.rpc.RemoteService
Modifier and Type | Method and Description |
---|---|
boolean |
addAdministratorsByFolderId(String folderId,
List<String> listContactIds)
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 the AC ls description for workspace item by id.
|
List<InfoContactModel> |
getAdministratorsByFolderId(String identifier)
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 item)
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.
|
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 itemId)
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.
|
InfoContactModel |
getOwnerByItemId(String itemId)
Gets the owner by item id.
|
FileModel |
getParentByItemId(String identifier)
Gets the parent by item id.
|
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.
|
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)
Gets the time series by id.
|
List<FileTrashedModel> |
getTrashContent()
Gets the trash content.
|
GWTWorkspaceItem |
getUrlById(String identifier,
boolean isInternalUrl,
boolean fullDetails)
Gets the url by id.
|
String |
getURLFromApplicationProfile(String oid)
Gets the URL from application profile.
|
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.
|
boolean |
isSessionExpired()
Checks if is session expired.
|
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 oldName)
Rename item.
|
boolean |
sendToById(List<String> listContactsId,
List<String> listAttachmentsId,
String subject,
String text)
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.
|
String getUserWorkspaceSize() throws Exception
Exception
- the exceptionFolderModel getRootForTree() throws Exception
Exception
- the exceptionFolderModel getRootForTree(String scopeId) throws Exception
scopeId
- the scope idException
- the exceptionList<ScopeModel> getAllScope() throws Exception
Exception
- the exceptionList<FileModel> getFolderChildren(FolderModel folder) throws Exception, SessionExpiredException
folder
- the folderException
- the exceptionSessionExpiredException
- the session expired exceptionList<FileGridModel> getFolderChildrenForFileGrid(FileModel folder) throws Exception, SessionExpiredException
folder
- the folderException
- the exceptionSessionExpiredException
- the session expired exceptionFileDetailsModel getDetailsFile(FileModel item) throws Exception
item
- the itemException
- the exceptionFolderModel createFolder(String nameFolder, String description, FileModel parent) throws Exception
nameFolder
- the name folderdescription
- the descriptionparent
- the parentException
- the exceptionArrayList<SubTree> getChildrenSubTreeToRootByIdentifier(String itemIdentifier) throws Exception
itemIdentifier
- the item identifierException
- the exceptionList<FileGridModel> getSmartFolderResultsByCategory(String category) throws Exception
category
- the categoryException
- the exceptionSmartFolderModel createSmartFolder(String name, String description, String query, String parentId) throws Exception
name
- the namedescription
- the descriptionquery
- the queryparentId
- the parent idException
- the exceptionList<FileGridModel> getSmartFolderResultsById(String folderId) throws Exception
folderId
- the folder idException
- the exceptionList<SmartFolderModel> getAllSmartFolders() throws Exception
Exception
- the exceptionGWTWorkspaceItem getImageById(String identifier, boolean isInteralImage, boolean fullDetails) throws Exception
identifier
- the identifierisInteralImage
- the is interal imagefullDetails
- the full detailsException
- the exceptionGWTWorkspaceItem getUrlById(String identifier, boolean isInternalUrl, boolean fullDetails) throws Exception
identifier
- the identifierisInternalUrl
- the is internal urlfullDetails
- the full detailsException
- the exceptionFileModel createExternalUrl(FileModel parentFileModel, String name, String description, String url) throws Exception
parentFileModel
- the parent file modelname
- the namedescription
- the descriptionurl
- the urlException
- the exceptionvoid setValueInSession(String name, String value) throws Exception
name
- the namevalue
- the valueException
- the exceptionList<FileGridModel> getItemsBySearchName(String text, String folderId) throws Exception
text
- the textfolderId
- the folder idException
- the exceptionBoolean moveItem(String itemId, String destinationId) throws Exception
itemId
- the item iddestinationId
- the destination idException
- the exceptionBoolean removeItem(String itemId) throws Exception
itemId
- the item idException
- the exceptionBoolean renameItem(String itemId, String newName, String oldName) throws Exception
itemId
- the item idnewName
- the new nameoldName
- the old nameException
- the exceptionBoolean removeSmartFolder(String itemId, String name) throws Exception
itemId
- the item idname
- the nameException
- the exceptionList<InfoContactModel> getAllContacts() throws Exception
Exception
- the exceptionString getUrlWebDav(String itemId) throws Exception
itemId
- the item idException
- the exceptionboolean sendToById(List<String> listContactsId, List<String> listAttachmentsId, String subject, String text) throws Exception
listContactsId
- the list contacts idlistAttachmentsId
- the list attachments idsubject
- the subjecttext
- the textException
- the exceptionboolean copyItem(String itemId, String destinationFolderId) throws Exception
itemId
- the item iddestinationFolderId
- the destination folder idException
- the exceptionGWTWorkspaceItem getTimeSeriesById(String identifier) throws Exception
identifier
- the identifierException
- the exceptionboolean shareFolder(FileModel folder, List<InfoContactModel> listContacts, boolean isNewFolder, WorkspaceACL acl) throws Exception
folder
- the folderlistContacts
- the list contactsisNewFolder
- the is new folderacl
- the aclException
- the exceptionList<InfoContactModel> getListUserSharedByFolderSharedId(String itemId) throws Exception
itemId
- the item idException
- the exceptionboolean unSharedFolderByFolderSharedId(String folderSharedId) throws Exception
folderSharedId
- the folder shared idException
- the exceptionList<FileModel> getListParentsByItemIdentifier(String itemIdentifier, boolean includeItemAsParent) throws Exception
itemIdentifier
- the item identifierincludeItemAsParent
- the include item as parentException
- the exceptionString getURLFromApplicationProfile(String oid) throws Exception
oid
- the oidException
- the exceptionInfoContactModel getOwnerByItemId(String itemId) throws Exception
itemId
- the item idException
- the exceptionString itemExistsInWorkpaceFolder(String parentId, String itemName) throws Exception
parentId
- the parent iditemName
- the item nameException
- the exceptionList<InfoContactModel> getListUserSharedBySharedItem(String sharedItemId) throws Exception
sharedItemId
- the shared item idException
- the exceptionDate getItemCreationDateById(String itemId) throws Exception
itemId
- the item idException
- the exceptionLong loadSizeByItemId(String itemId) throws Exception
itemId
- the item idException
- the exceptionDate loadLastModificationDateById(String itemId) throws Exception
itemId
- the item idException
- the exceptionFileModel getParentByItemId(String identifier) throws Exception
identifier
- the identifierException
- the exceptionList<GxtAccountingField> getAccountingReaders(String identifier) throws Exception
identifier
- the identifierException
- the exceptionList<GxtAccountingField> getAccountingHistory(String identifier) throws Exception
identifier
- the identifierException
- the exceptionFileGridModel getItemForFileGrid(String itemId) throws Exception
itemId
- the item idException
- the exceptionList<FileGridModel> getFolderChildrenForFileGridById(String folderId) throws Exception, SessionExpiredException
folderId
- the folder idException
- the exceptionSessionExpiredException
- the session expired exceptionString getShortUrl(String longUrl) throws Exception
longUrl
- the long urlException
- the exceptionPublicLink getPublicLinkForFolderItemId(String itemId, boolean shortenUrl) throws Exception
itemId
- the item idshortenUrl
- the shorten urlException
- the exceptionboolean isSessionExpired() throws Exception
Exception
- the exceptionList<GarbageItem> deleteListItemsForIds(List<String> ids) throws Exception
ids
- the idsException
- the exceptionboolean copyItems(List<String> idsItem, String destinationFolderId) throws Exception
idsItem
- the ids itemdestinationFolderId
- the destination folder idException
- the exceptionBoolean moveItems(List<String> ids, String destinationId) throws Exception
ids
- the idsdestinationId
- the destination idException
- the exceptionList<WorkspaceACL> getACLs() throws Exception
Exception
- the exceptionvoid setACLs(String folderId, List<String> listLogins, String aclType) throws Exception
folderId
- the folder idlistLogins
- the list loginsaclType
- the acl typeException
- the exceptionUserBean getMyLogin()
void updateACLForVREbyGroupName(String folderId, String aclType) throws Exception
folderId
- the folder idaclType
- the acl typeException
- the exceptionList<ExtendedWorkspaceACL> getUserACLForFolderId(String folderId) throws Exception
folderId
- the folder idException
- the exceptionList<FileTrashedModel> getTrashContent() throws Exception
Exception
- the exceptionString getACLsDescriptionForWorkspaceItemById(String workspaceItemId) throws Exception
workspaceItemId
- the workspace item idException
- the exceptionList<InfoContactModel> getUsersManagerToSharedFolder(String folderId) throws Exception
folderId
- the folder idException
- the exceptionTrashContent updateTrashContent(WorkspaceTrashOperation operation) throws Exception
operation
- the operationException
- the exceptionTrashOperationContent executeOperationOnTrash(List<String> listTrashItemIds, WorkspaceTrashOperation operation) throws Exception
listTrashItemIds
- the list trash item idsoperation
- the operationException
- the exceptionboolean addAdministratorsByFolderId(String folderId, List<String> listContactIds) throws Exception
folderId
- the folder idlistContactIds
- the list contact idsException
- the exceptionList<InfoContactModel> getAdministratorsByFolderId(String identifier) throws Exception
identifier
- the identifierException
- the exceptionWorkspaceACL getACLBySharedFolderId(String identifier) throws Exception
identifier
- the identifierException
- the exceptionlong getUserWorkspaceTotalItems() throws Exception
Exception
- the exceptionWorkspaceUserQuote getUserWorkspaceQuote() throws Exception
Exception
- the exceptionString getItemDescriptionById(String identifier) throws Exception
identifier
- the identifierException
- the exceptionReportAssignmentACL validateACLToUser(String folderId, List<String> listLogins, String aclType) throws Exception
folderId
- the folder idlistLogins
- the list loginsaclType
- the acl typeException
- the exceptionMap<String,String> loadGcubeItemProperties(String itemId) throws Exception
itemId
- the item idException
- the exceptionString getHTMLGcubeItemProperties(String itemId) throws Exception
itemId
- the item idException
- the exceptionvoid setGcubeItemProperties(String itemId, Map<String,String> properties) throws Exception
itemId
- the item idproperties
- the propertiesException
- the exceptionCopyright © 2016. All Rights Reserved.