public class DocumentImpl extends FilingImpl implements Document
description, fAclId, fCreatedAt, fCreatedBy, fId, fModifiedAt, fModifiedBy, fName, fProperties, fRepositoryId, fTypeId, policyIds, secondaryTypeIdsPATH_SEPARATOR| Constructor and Description |
|---|
DocumentImpl() |
| 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.
|
ContentStream |
getContent()
Retrieve the content of a document.
|
boolean |
hasContent()
return true if this object has content or false if there is no content
attached.
|
boolean |
hasRendition(String user)
check if the document can generate a renditions and rendition is visible
for user.
|
void |
setContent(ContentStream content)
Assign content to a document.
|
addParentId, getParentIds, getPathSegment, hasParent, removeParentIdaddAppliedPolicy, 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, updateSystemBasePropertiesWhenModifiedgetParentIds, getPathSegment, hasParentpublic ContentStream getContent()
ContentgetContent in interface Contentpublic void setContent(ContentStream content)
ContentsetContent in interface Contentcontent - content to be assigned to the document.public 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 boolean hasContent()
ContenthasContent in interface Contentpublic boolean hasRendition(String user)
StoredObjecthasRendition in interface StoredObjecthasRendition in class StoredObjectImpluser - user requesting allowable actionsCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.