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, updateProperties
public 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)
CmisStorageException
protected abstract boolean isLatestVersion() throws javax.jcr.RepositoryException
cmis:isLatestVersion
propertyjavax.jcr.RepositoryException
protected abstract boolean isMajorVersion() throws javax.jcr.RepositoryException
cmis:isMajorVersion
propertyjavax.jcr.RepositoryException
protected abstract boolean isLatestMajorVersion() throws javax.jcr.RepositoryException
cmis:isLatestMajorVersion
propertyjavax.jcr.RepositoryException
protected abstract String getVersionLabel() throws javax.jcr.RepositoryException
cmis:versionLabel
propertyjavax.jcr.RepositoryException
protected abstract boolean isCheckedOut() throws javax.jcr.RepositoryException
cmis:isVersionSeriesCheckedOut
propertyjavax.jcr.RepositoryException
protected abstract String getCheckedOutId() throws javax.jcr.RepositoryException
cmis:versionSeriesCheckedOutId
propertyjavax.jcr.RepositoryException
protected abstract String getCheckedOutBy() throws javax.jcr.RepositoryException
cmis:versionSeriesCheckedOutBy
propertyjavax.jcr.RepositoryException
protected abstract String getCheckInComment() throws javax.jcr.RepositoryException
cmis:checkinComment
propertyjavax.jcr.RepositoryException
protected boolean getIsImmutable()
protected void compileProperties(PropertiesImpl properties, Set<String> filter, ObjectInfoImpl objectInfo) throws javax.jcr.RepositoryException
JcrNode
compileProperties
in class JcrNode
properties
- compilation of propertiesjavax.jcr.RepositoryException
protected Set<Action> compileAllowableActions(Set<Action> aas)
JcrNode
compileAllowableActions
in class JcrNode
aas
- compilation of allowed actionsprotected BaseTypeId getBaseTypeId()
getBaseTypeId
in class JcrNode
cmis:baseTypeId
propertyCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.