Package org.xwiki.filemanager
Interface Folder
- All Superinterfaces:
Document
Represents a folder.
- Since:
- 2.0M1
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionList<org.xwiki.model.reference.DocumentReference>List<org.xwiki.model.reference.DocumentReference>org.xwiki.model.reference.DocumentReferencevoidsetParentReference(org.xwiki.model.reference.DocumentReference parentReference) Sets the parent folder reference.Methods inherited from interface org.xwiki.filemanager.Document
getName, getReference, setName
-
Method Details
-
getParentReference
org.xwiki.model.reference.DocumentReference getParentReference()- Returns:
- the reference to the parent folder
-
setParentReference
void setParentReference(org.xwiki.model.reference.DocumentReference parentReference) Sets the parent folder reference.- Parameters:
parentReference- the reference to the parent folder
-
getChildFolderReferences
List<org.xwiki.model.reference.DocumentReference> getChildFolderReferences()- Returns:
- the read-only list of references to the child folders
-
getChildFileReferences
List<org.xwiki.model.reference.DocumentReference> getChildFileReferences()- Returns:
- the read-only list of references to the child files
-