|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Children
A folder is a StoredObject that that has a path and children. Children can be folder or documents
Method Summary | |
---|---|
void |
addChildDocument(Document doc)
Add a document to a folder. |
void |
addChildDocument(VersionedDocument doc)
Add a versioned document to a folder. |
void |
addChildFolder(Folder folder)
Create a subfolder in an existing folder. |
List<StoredObject> |
getChildren(int maxItems,
int skipCount)
get all the children of this folder. |
List<Folder> |
getFolderChildren(int maxItems,
int skipCount)
get all the children of this folder which are folders. |
boolean |
hasChild(String name)
indicate if a child with the given name exists in this folder |
Method Detail |
---|
void addChildFolder(Folder folder)
folder
- new child foldervoid addChildDocument(Document doc)
doc
- document to be addedvoid addChildDocument(VersionedDocument doc)
doc
- document to be addedList<StoredObject> getChildren(int maxItems, int skipCount)
maxItems
- max. number of items to returnskipCount
- initial offset where to start fetching
List<Folder> getFolderChildren(int maxItems, int skipCount)
maxItems
- max. number of items to returnskipCount
- initial offset where to start fetching
boolean hasChild(String name)
name
- name to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |