public class FolderImpl extends AbstractSingleFilingImpl implements Folder
Children.ChildrenResult
fParent
fAclId, fCreatedAt, fCreatedBy, fId, fModifiedAt, fModifiedBy, fName, fObjStore, fProperties, fRepositoryId, fTypeId
PATH_SEPARATOR
Constructor and Description |
---|
FolderImpl(ObjectStoreImpl objStore,
String name,
Folder parent) |
Modifier and Type | Method and Description |
---|---|
void |
addChildDocument(Document doc) |
void |
addChildDocument(VersionedDocument doc) |
void |
addChildFolder(Folder folder) |
void |
fillProperties(Map<String,PropertyData<?>> properties,
BindingsObjectFactory objFactory,
List<String> requestedIds) |
List<String> |
getAllowedChildObjectTypeIds()
return a list of allowed types of children in this folder
|
Children.ChildrenResult |
getChildren(int maxItems,
int skipCount,
String user)
get all the children of this folder.
|
Children.ChildrenResult |
getFolderChildren(int maxItems,
int skipCount,
String user)
get all the children of this folder which are folders.
|
boolean |
hasChild(String name)
indicate if a child with the given name exists in this folder
|
void |
moveChildDocument(StoredObject so,
Folder oldParent,
Folder newParent) |
getParent, getParents, getParents, getPath, hasParent, move, rename, setParent
createSystemBasePropertiesWhenCreated, 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, updateSystemBasePropertiesWhenModified
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, getPath, setParent
getParents, hasParent, move
createSystemBasePropertiesWhenCreated, getAcl, getAllowableActions, getChangeToken, getCreatedAt, getCreatedBy, getId, getModifiedAt, getModifiedBy, getName, getObjectRelationships, getProperties, getRenditionContent, getRenditions, getRepositoryId, getTypeId, hasRendition, persist, rename, setCreatedAt, setCreatedBy, setCustomProperties, setModifiedAtNow, setModifiedBy, setName, setProperties, setRepositoryId, setTypeId, updateSystemBasePropertiesWhenModified
public FolderImpl(ObjectStoreImpl objStore, String name, Folder parent)
public void addChildFolder(Folder folder)
public void addChildDocument(Document doc)
public void addChildDocument(VersionedDocument doc)
public Children.ChildrenResult getChildren(int maxItems, int skipCount, String user)
Children
getChildren
in interface Children
maxItems
- max. number of items to returnskipCount
- initial offset where to start fetchingpublic Children.ChildrenResult getFolderChildren(int maxItems, int skipCount, String user)
Children
getFolderChildren
in interface Children
maxItems
- max. number of items to returnskipCount
- initial offset where to start fetchingpublic boolean hasChild(String name)
Children
public void fillProperties(Map<String,PropertyData<?>> properties, BindingsObjectFactory objFactory, List<String> requestedIds)
fillProperties
in interface StoredObject
fillProperties
in class StoredObjectImpl
public void moveChildDocument(StoredObject so, Folder oldParent, Folder newParent)
public List<String> getAllowedChildObjectTypeIds()
Folder
getAllowedChildObjectTypeIds
in interface Folder
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.