|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Filing
Path is the capability of an object to get accessed by a path in addition to the identifier. Paths are hierarchical, each object with a path has a parent where the parent is always a folder. Paths do not exist on its own but are part of other objects (documents and folders). Most of the functionality is defined in interfaces that are subclasses.
Field Summary | |
---|---|
static String |
PATH_SEPARATOR
character indicating how folders are separated within a path string. |
Method Summary | |
---|---|
List<Folder> |
getParents()
return a list of parents. |
boolean |
hasParent()
usually true except for the root folder, optimized call that just tests existence to provide information for AtomPub links (much cheaper than calling getParents() and test for empty result. |
void |
move(Folder oldParent,
Folder newParent)
Move an object to a different folder. |
Field Detail |
---|
static final String PATH_SEPARATOR
Method Detail |
---|
List<Folder> getParents()
boolean hasParent()
void move(Folder oldParent, Folder newParent)
newParent
- new parent folder for the object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |