@RemoteServiceRelativePath(value="folder")
public interface FolderService
extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
void |
applyMetadata(String sid,
long parentId)
Applies all extendedAttributes to a sub-tree
|
void |
applyRights(String sid,
GUIFolder folder,
boolean subfolders)
Applies all security settings to folder
|
void |
applyTemplate(String sid,
long folderId,
long templateId)
Applies a template to a folder
|
GUIFolder |
create(String sid,
GUIFolder newFolder,
boolean inheritSecurity)
Creates a new folder
|
void |
delete(String sid,
long folderId)
Deletes the folder and the subtree
|
GUIFolder |
getFolder(String sid,
long folderId,
boolean computePath)
Gets the Folder initializing the permissions.
|
GUIValuePair[] |
loadTemplates(String sid)
Loads the folders templates
|
void |
move(String sid,
long folderId,
long targetId)
Moves a folder under a target folder
|
void |
paste(String sid,
long[] docIds,
long folderId,
String action)
Pastes documents into the target folder.
|
void |
pasteAsAlias(String sid,
long[] docIds,
long folderId)
Pastes documents alias into the target folder.
|
void |
rename(String sid,
long folderId,
String name)
Renames the given folder
|
void |
restore(String sid,
long folderId,
long parentId)
Restores a given folder
|
GUIFolder |
save(String sid,
GUIFolder folder)
Saves the folder in the DB
|
void |
saveTemplates(String sid,
GUIValuePair[] templates)
Saves the passed folder templates
|
GUIFolder save(String sid, GUIFolder folder) throws InvalidSessionException
folder - The folder to saveInvalidSessionExceptionGUIFolder create(String sid, GUIFolder newFolder, boolean inheritSecurity) throws InvalidSessionException
newFolder - The folder to be createdinheritSecurity - True if the new folder has to inherit the security
policies from the parentInvalidSessionExceptionvoid rename(String sid, long folderId, String name) throws InvalidSessionException
InvalidSessionExceptionvoid applyRights(String sid, GUIFolder folder, boolean subfolders) throws InvalidSessionException
sid - The session IDfolder - The folder that contains the new security settingssubfolders - If true, the current security settings will be applied
to the sub-foldersInvalidSessionExceptionvoid applyMetadata(String sid, long parentId) throws InvalidSessionException
sid - The session IDparentId - The parent folder containing the metadataInvalidSessionExceptionGUIFolder getFolder(String sid, long folderId, boolean computePath) throws InvalidSessionException
folderId - The folder identifierboolean - True if the complete path must be retrievedInvalidSessionExceptionvoid delete(String sid, long folderId) throws InvalidSessionException
InvalidSessionExceptionvoid restore(String sid, long folderId, long parentId) throws InvalidSessionException
InvalidSessionExceptionvoid move(String sid, long folderId, long targetId) throws InvalidSessionException
InvalidSessionExceptionvoid paste(String sid, long[] docIds, long folderId, String action) throws InvalidSessionException
docIds - The documents identifiers.folderId - The target folder identifier.action - The action selectee (Clipboard#COPY or Clipboard#COPY).InvalidSessionExceptionvoid pasteAsAlias(String sid, long[] docIds, long folderId) throws InvalidSessionException
docIds - The documents alias identifiers.folderId - The target folder identifier.InvalidSessionExceptionGUIValuePair[] loadTemplates(String sid) throws InvalidSessionException
InvalidSessionExceptionvoid saveTemplates(String sid, GUIValuePair[] templates) throws InvalidSessionException
InvalidSessionExceptionvoid applyTemplate(String sid, long folderId, long templateId) throws InvalidSessionException
InvalidSessionExceptionCopyright © 2008-2014 Logical Objects. All Rights Reserved.