public abstract class AbstractSingleFilingImpl extends StoredObjectImpl implements SingleFiling
| Modifier and Type | Field and Description |
|---|---|
protected FolderImpl |
fParent |
description, fAclId, fCreatedAt, fCreatedBy, fId, fModifiedAt, fModifiedBy, fName, fObjStore, fProperties, fRepositoryId, fTypeId, ICON_SIZE, policyIds, RENDITION_MIME_TYPE_JPEG, RENDITION_MIME_TYPE_PNG, RENDITION_SUFFIX, secondaryTypeIdsPATH_SEPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSingleFilingImpl(ObjectStoreImpl objStore) |
| Modifier and Type | Method and Description |
|---|---|
Folder |
getParent() |
List<Folder> |
getParents() |
List<Folder> |
getParents(String user)
return a list of parents the principal has access to.
|
String |
getPath() |
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 |
rename(String newName)
Rename an object
|
void |
setParent(Folder parent)
Put the document in a folder and set the parent.
|
addAppliedPolicy, createSystemBasePropertiesWhenCreated, fillProperties, getAcl, getAclId, getAllowableActions, getAppliedPolicies, getChangeToken, getCreatedAt, getCreatedBy, getDescription, getIconFromResourceDir, getId, getModifiedAt, getModifiedBy, getName, getObjectRelationships, getProperties, getRenditionContent, getRenditions, getRepositoryId, getSecondaryTypeIds, getTypeId, hasRendition, persist, removePolicy, setAclId, setAppliedPolicies, setCreatedAt, setCreatedBy, setCustomProperties, setDescription, setModifiedAtNow, setModifiedBy, setName, setProperties, setRepositoryId, setSystemBasePropertiesWhenCreatedDirect, setTypeId, testRenditionFilterForImage, updateSystemBasePropertiesWhenModifiedprotected FolderImpl fParent
protected AbstractSingleFilingImpl(ObjectStoreImpl objStore)
public String getPath()
getPath in interface SingleFilingpublic Folder getParent()
getParent in interface SingleFilingpublic boolean hasParent()
Filingpublic List<Folder> getParents(String user)
FilinggetParents in interface Filinguser - user idpublic void setParent(Folder parent)
SingleFilingsetParent in interface SingleFilingparent - parent folder of the document to be assigned.public void rename(String newName)
StoredObjectrename in interface StoredObjectrename in class StoredObjectImplnewName - the new name of the objectCopyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.