|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FoldersManagementSubService<FolderType,ResourceType>
The folders management interface. This sub-service is used by other services.
Method Summary | |
---|---|
boolean |
attachFolderToFolder(java.util.List<java.lang.String> folderToAttachPathFromRoot,
java.util.List<java.lang.String> targetFolderPathFromRoot)
Moves an existing folder to be attached to specified target folder. |
boolean |
attachToFolder(java.lang.String resourceName,
java.util.List<java.lang.String> folderPathFromRoot)
Attaches the resource matching the given name to the folder path, creating the path if needed. |
boolean |
createFolder(java.util.List<java.lang.String> folderPathFromRoot)
Creates folders according to the given path from the root. |
boolean |
deleteFolder(java.util.List<java.lang.String> folderPathFromRoot)
Deletes the folder at the end of the given path, along with its subfolders and the resources in the folder or any of its subfolders. |
FolderType |
getFoldersTreeRoot()
Returns the folder tree of the resources created by the service that created this object. |
boolean |
renameFolder(java.util.List<java.lang.String> folderPath,
java.lang.String newName)
Renames a folder. |
Method Detail |
---|
boolean createFolder(java.util.List<java.lang.String> folderPathFromRoot)
folderPathFromRoot
- The path. Can not be null.
boolean deleteFolder(java.util.List<java.lang.String> folderPathFromRoot)
folderPathFromRoot
- The path. Can not be null.
boolean attachToFolder(java.lang.String resourceName, java.util.List<java.lang.String> folderPathFromRoot)
resourceName
- the name of the resource to attach. There must be a valid resource created by the
service that created this object.folderPathFromRoot
- The path. Can not be null.
boolean attachFolderToFolder(java.util.List<java.lang.String> folderToAttachPathFromRoot, java.util.List<java.lang.String> targetFolderPathFromRoot)
folderToAttachPathFromRoot
- the folder to move.targetFolderPathFromRoot
- the target folder to attach the folder to move under.
boolean renameFolder(java.util.List<java.lang.String> folderPath, java.lang.String newName)
folderPath
- the full path of the folder to rename.newName
- the new name for the folder.
FolderType getFoldersTreeRoot()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |