public abstract class AbstractMultiFilingImpl extends StoredObjectImpl implements MultiFiling
| Modifier and Type | Field and Description |
|---|---|
protected List<Folder> |
fParents |
fAclId, fCreatedAt, fCreatedBy, fId, fModifiedAt, fModifiedBy, fName, fObjStore, fProperties, fRepositoryId, fTypeIdPATH_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
void |
addParent(Folder parent)
Add this document to a new parent folder as child object
|
List<Folder> |
getParents() |
List<Folder> |
getParents(String user)
return a list of parents the principal has access to.
|
String |
getPathSegment()
retrieve the path segment of this folder
|
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.
|
void |
removeParent(Folder parent)
Remove this object from the children of parent
|
void |
rename(String newName)
Rename an object
|
createSystemBasePropertiesWhenCreated, fillProperties, getAcl, getAclId, getAllowableActions, getChangeToken, getCreatedAt, getCreatedBy, getId, getModifiedAt, getModifiedBy, getName, getObjectRelationships, getProperties, getRenditionContent, getRenditions, getRepositoryId, getTypeId, hasRendition, persist, setAclId, setCreatedAt, setCreatedBy, setCustomProperties, setModifiedAtNow, setModifiedBy, setName, setProperties, setRepositoryId, setSystemBasePropertiesWhenCreatedDirect, setTypeId, updateSystemBasePropertiesWhenModifiedpublic void addParent(Folder parent)
MultiFilingaddParent in interface MultiFilingparent - new parent folder of the document.public void removeParent(Folder parent)
MultiFilingremoveParent in interface MultiFilingparent - parent folder of the documentpublic List<Folder> getParents(String user)
FilinggetParents in interface Filinguser - user idpublic boolean hasParent()
Filingpublic String getPathSegment()
MultiFilinggetPathSegment in interface MultiFilingpublic void move(Folder oldParent, Folder newParent)
Filingpublic void rename(String newName)
StoredObjectrename in interface StoredObjectrename in class StoredObjectImplnewName - the new name of the objectCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.