public abstract class AbstractMultiFilingImpl extends StoredObjectImpl implements MultiFiling
Modifier and Type | Field and Description |
---|---|
protected List<Folder> |
fParents |
description, fAclId, fCreatedAt, fCreatedBy, fId, fModifiedAt, fModifiedBy, fName, fObjStore, fProperties, fRepositoryId, fTypeId, ICON_SIZE, RENDITION_MIME_TYPE_JPEG, RENDITION_MIME_TYPE_PNG, RENDITION_SUFFIX, secondaryTypeIds
PATH_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, getDescription, getIconFromResourceDir, getId, getModifiedAt, getModifiedBy, getName, getObjectRelationships, getProperties, getRenditionContent, getRenditions, getRepositoryId, getSecondaryTypeIds, getTypeId, hasRendition, persist, setAclId, setCreatedAt, setCreatedBy, setCustomProperties, setDescription, setModifiedAtNow, setModifiedBy, setName, setProperties, setRepositoryId, setSystemBasePropertiesWhenCreatedDirect, setTypeId, testRenditionFilterForImage, updateSystemBasePropertiesWhenModified
public void addParent(Folder parent)
MultiFiling
addParent
in interface MultiFiling
parent
- new parent folder of the document.public void removeParent(Folder parent)
MultiFiling
removeParent
in interface MultiFiling
parent
- parent folder of the documentpublic List<Folder> getParents(String user)
Filing
getParents
in interface Filing
user
- user idpublic boolean hasParent()
Filing
public String getPathSegment()
MultiFiling
getPathSegment
in interface MultiFiling
public void move(Folder oldParent, Folder newParent)
Filing
public void rename(String newName)
StoredObject
rename
in interface StoredObject
rename
in class StoredObjectImpl
newName
- the new name of the objectCopyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.