public abstract class JcrDocument extends JcrNode
Node.JcrNode.PropertyUpdater| Modifier and Type | Field and Description |
|---|---|
static String |
MIME_UNKNOWN |
DATE_UNKNOWN, pathManager, typeHandlerManager, typeManager, USER_UNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
JcrDocument(javax.jcr.Node node,
JcrTypeManager typeManager,
PathManager pathManager,
JcrTypeHandlerManager typeHandlerManager) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<Action> |
compileAllowableActions(Set<Action> aas)
Compile the allowed actions on the CMIS object represented by this instance
See CMIS 1.0 section 2.2.4.6 getAllowableActions
|
protected void |
compileProperties(PropertiesImpl properties,
Set<String> filter,
ObjectInfoImpl objectInfo)
Compile the properties of the CMIS object represented by this instance.
|
protected BaseTypeId |
getBaseTypeId() |
protected abstract String |
getCheckedOutBy() |
protected abstract String |
getCheckedOutId() |
protected abstract String |
getCheckInComment() |
ContentStream |
getContentStream()
See CMIS 1.0 section 2.2.4.10 getContentStream
|
protected boolean |
getIsImmutable() |
protected abstract String |
getVersionLabel() |
protected abstract boolean |
isCheckedOut() |
boolean |
isDocumentCheckedOut() |
protected abstract boolean |
isLatestMajorVersion() |
protected abstract boolean |
isLatestVersion() |
protected abstract boolean |
isMajorVersion() |
JcrNode |
setContentStream(ContentStream contentStream,
boolean overwriteFlag)
See CMIS 1.0 section 2.2.4.16 setContentStream
|
addPropertyBoolean, addPropertyDateTime, addPropertyId, addPropertyInteger, addPropertyList, addPropertyString, asDocument, asFolder, asVersion, checkAddProperty, compileObjectType, create, delete, getAllowableActions, getBaseVersion, getChangeToken, getContextNode, getCreated, getCreatedBy, getId, getLastModified, getLastModifiedBy, getName, getNode, getNode, getNodeName, getObjectId, getParent, getPropertyLength, getPropertyOrElse, getPropertyOrElse, getTypeId, getTypeIdInternal, getVersionHistory, getVersionManager, getVersionSeriesId, isDocument, isFolder, isRoot, isVersionable, move, setAction, toString, updateProperties, updatePropertiespublic static final String MIME_UNKNOWN
protected JcrDocument(javax.jcr.Node node,
JcrTypeManager typeManager,
PathManager pathManager,
JcrTypeHandlerManager typeHandlerManager)
public boolean isDocumentCheckedOut()
true iff the document is checked outpublic ContentStream getContentStream()
public JcrNode setContentStream(ContentStream contentStream, boolean overwriteFlag)
CmisStorageExceptionprotected abstract boolean isLatestVersion()
throws javax.jcr.RepositoryException
cmis:isLatestVersion propertyjavax.jcr.RepositoryExceptionprotected abstract boolean isMajorVersion()
throws javax.jcr.RepositoryException
cmis:isMajorVersion propertyjavax.jcr.RepositoryExceptionprotected abstract boolean isLatestMajorVersion()
throws javax.jcr.RepositoryException
cmis:isLatestMajorVersion propertyjavax.jcr.RepositoryExceptionprotected abstract String getVersionLabel() throws javax.jcr.RepositoryException
cmis:versionLabel propertyjavax.jcr.RepositoryExceptionprotected abstract boolean isCheckedOut()
throws javax.jcr.RepositoryException
cmis:isVersionSeriesCheckedOut propertyjavax.jcr.RepositoryExceptionprotected abstract String getCheckedOutId() throws javax.jcr.RepositoryException
cmis:versionSeriesCheckedOutId propertyjavax.jcr.RepositoryExceptionprotected abstract String getCheckedOutBy() throws javax.jcr.RepositoryException
cmis:versionSeriesCheckedOutBy propertyjavax.jcr.RepositoryExceptionprotected abstract String getCheckInComment() throws javax.jcr.RepositoryException
cmis:checkinComment propertyjavax.jcr.RepositoryExceptionprotected boolean getIsImmutable()
protected void compileProperties(PropertiesImpl properties, Set<String> filter, ObjectInfoImpl objectInfo) throws javax.jcr.RepositoryException
JcrNodecompileProperties in class JcrNodeproperties - compilation of propertiesjavax.jcr.RepositoryExceptionprotected Set<Action> compileAllowableActions(Set<Action> aas)
JcrNodecompileAllowableActions in class JcrNodeaas - compilation of allowed actionsprotected BaseTypeId getBaseTypeId()
getBaseTypeId in class JcrNodecmis:baseTypeId propertyCopyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.