|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Folders
Basic API for manipulating folders.
Field Summary | |
---|---|
static java.lang.String |
NAME
NAME : String. |
Method Summary | |
---|---|
ResourceSummary |
create(Folder folder)
Create a folder with the specified name. |
ResourceSummary |
createFolder(java.util.UUID parentId,
java.lang.String name,
java.lang.String title,
boolean publish)
Deprecated. |
ResourceSummary |
createRoot(java.lang.String name)
Create a root folder with the specified name. |
PagedCollection<ResourceSummary> |
getAccessibleChildren(java.util.UUID folderId)
List all of the children of the specified folder which are accessible to current user. |
java.lang.Boolean |
nameExistsInFolder(java.util.UUID folderId,
java.lang.String name)
Query whether given folder has a resource with given name. |
PagedCollection<ResourceSummary> |
roots()
List the root folders available. |
void |
update(java.util.UUID folderId,
Folder delta)
Update the specified folder. |
Field Detail |
---|
static final java.lang.String NAME
Method Detail |
---|
PagedCollection<ResourceSummary> getAccessibleChildren(java.util.UUID folderId)
folderId
- The folder.
java.lang.Boolean nameExistsInFolder(java.util.UUID folderId, java.lang.String name)
folderId
- The id of the folder to check.name
- The name of the resource.
PagedCollection<ResourceSummary> roots()
ResourceSummary create(Folder folder)
folder
- Details of the new folder.
void update(java.util.UUID folderId, Folder delta)
folderId
- The id of the folder to update.delta
- The updated details of the folder.@Deprecated ResourceSummary createFolder(java.util.UUID parentId, java.lang.String name, java.lang.String title, boolean publish)
parentId
- The folder in which the new folder should be created.name
- The name of the new folder.title
- The title of the folder.publish
- True if the title should be published, false otherwise.
ResourceSummary createRoot(java.lang.String name)
name
- The name of the root folder.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |