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.
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.
return a list of parents the principal has access to. for single parent object this list must contain
only one element. returns an empty list if this is an unfiled document.
Parameters:
user - user id
Returns:
list of parent folders
hasParent
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.
Returns:
true if object has a parent, false if it is a root object