public class FolderImpl extends AbstractSingleFilingImpl implements Folder
Children.ChildrenResultfParentfAclId, fCreatedAt, fCreatedBy, fId, fModifiedAt, fModifiedBy, fName, fObjStore, fProperties, fRepositoryId, fTypeIdPATH_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, setParentcreateSystemBasePropertiesWhenCreated, 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, updateSystemBasePropertiesWhenModifiedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, getPath, setParentgetParents, hasParent, movecreateSystemBasePropertiesWhenCreated, 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, updateSystemBasePropertiesWhenModifiedpublic 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)
ChildrengetChildren in interface ChildrenmaxItems - max. number of items to returnskipCount - initial offset where to start fetchingpublic Children.ChildrenResult getFolderChildren(int maxItems, int skipCount, String user)
ChildrengetFolderChildren in interface ChildrenmaxItems - max. number of items to returnskipCount - initial offset where to start fetchingpublic boolean hasChild(String name)
Childrenpublic void fillProperties(Map<String,PropertyData<?>> properties, BindingsObjectFactory objFactory, List<String> requestedIds)
fillProperties in interface StoredObjectfillProperties in class StoredObjectImplpublic void moveChildDocument(StoredObject so, Folder oldParent, Folder newParent)
public List<String> getAllowedChildObjectTypeIds()
FoldergetAllowedChildObjectTypeIds in interface FolderCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.