public class FolderImpl extends StoredObjectImpl implements Folder
description, fAclId, fCreatedAt, fCreatedBy, fId, fModifiedAt, fModifiedBy, fName, fProperties, fRepositoryId, fTypeId, policyIds, secondaryTypeIdsPATH_SEPARATOR| Constructor and Description |
|---|
FolderImpl() |
FolderImpl(String name,
String parentId) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillProperties(Map<String,PropertyData<?>> properties,
BindingsObjectFactory objFactory,
List<String> requestedIds)
fill a passed map object with properties of this object.
|
List<String> |
getAllowedChildObjectTypeIds()
return a list of allowed types of children in this folder.
|
String |
getParentId()
get parent if of this folder.
|
List<String> |
getParentIds()
return a list of parents the principal has access to.
|
String |
getPathSegment()
get the path segment of this object.
|
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.
|
boolean |
hasRendition(String user)
check if the document can generate a renditions and rendition is visible
for user.
|
void |
setParentId(String parentId)
set the parent id of a folder.
|
addAppliedPolicy, createSystemBasePropertiesWhenCreated, getAclId, getAllowableActions, getAppliedPolicies, getChangeToken, getCreatedAt, getCreatedBy, getDescription, getIconFromResourceDir, getId, getModifiedAt, getModifiedBy, getName, getProperties, getRepositoryId, getSecondaryTypeIds, getTypeId, removePolicy, setAclId, setAppliedPolicies, setCreatedAt, setCreatedBy, setCustomProperties, setDescription, setId, setModifiedAt, setModifiedAtNow, setModifiedBy, setName, setProperties, setRepositoryId, setSystemBasePropertiesWhenCreatedDirect, setTypeId, testRenditionFilterForImage, updateSystemBasePropertiesWhenModifiedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAppliedPolicy, createSystemBasePropertiesWhenCreated, getAclId, getAllowableActions, getAppliedPolicies, getChangeToken, getCreatedAt, getCreatedBy, getDescription, getId, getModifiedAt, getModifiedBy, getName, getProperties, getRepositoryId, getSecondaryTypeIds, getTypeId, removePolicy, setCreatedAt, setCreatedBy, setCustomProperties, setDescription, setId, setModifiedAt, setModifiedAtNow, setModifiedBy, setName, setProperties, setRepositoryId, setTypeId, updateSystemBasePropertiesWhenModifiedpublic void fillProperties(Map<String,PropertyData<?>> properties, BindingsObjectFactory objFactory, List<String> requestedIds)
StoredObjectfillProperties in interface StoredObjectfillProperties in class StoredObjectImplproperties - map to fillobjFactory - object factory to create objectsrequestedIds - list of property ids being requestedpublic List<String> getAllowedChildObjectTypeIds()
FoldergetAllowedChildObjectTypeIds in interface Folderpublic boolean hasRendition(String user)
StoredObjecthasRendition in interface StoredObjecthasRendition in class StoredObjectImpluser - user requesting allowable actionspublic List<String> getParentIds()
FilinggetParentIds in interface Filingpublic boolean hasParent()
Filingpublic String getParentId()
FoldergetParentId in interface Folderpublic String getPathSegment()
FilinggetPathSegment in interface Filingpublic void setParentId(String parentId)
FoldersetParentId in interface FolderparentId - parent id of this folderCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.