org.apache.chemistry.opencmis.jcr
Class JcrUnversionedDocument
java.lang.Object
org.apache.chemistry.opencmis.jcr.JcrNode
org.apache.chemistry.opencmis.jcr.JcrDocument
org.apache.chemistry.opencmis.jcr.JcrUnversionedDocument
public class JcrUnversionedDocument
- extends JcrDocument
Instances of this class represent a non versionable cmis:document backed by an underlying JCR Node
.
Methods inherited from class org.apache.chemistry.opencmis.jcr.JcrNode |
addPropertyBoolean, addPropertyDateTime, addPropertyId, addPropertyInteger, addPropertyString, asDocument, asFolder, asVersion, checkAddProperty, compileObjectType, create, delete, getAllowableActions, getBaseVersion, getChangeToken, getCreated, getCreatedBy, getId, getLastModified, getLastModifiedBy, getName, getNode, getNode, getNodeName, getObjectId, getParent, getPropertyLength, getPropertyOrElse, getPropertyOrElse, getTypeId, getVersionHistory, getVersionManager, getVersionSeriesId, isDocument, isFolder, isRoot, isVersionable, move, setAction, toString, updateProperties, updateProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JcrUnversionedDocument
public JcrUnversionedDocument(javax.jcr.Node node,
JcrTypeManager typeManager,
PathManager pathManager,
JcrNodeFactory nodeFactory)
getContextNode
protected javax.jcr.Node getContextNode()
throws javax.jcr.RepositoryException
- Description copied from class:
JcrNode
- Retrieve the context node of the CMIS object represented by this instance. The
context node is the node which is used to derive the common properties from
(creation date, modification date, ...)
- Specified by:
getContextNode
in class JcrNode
- Returns:
- the context node
- Throws:
javax.jcr.RepositoryException
compileAllowableActions
protected java.util.Set<Action> compileAllowableActions(java.util.Set<Action> aas)
- Description copied from class:
JcrNode
- Compile the allowed actions on the CMIS object represented by this instance
See CMIS 1.0 section 2.2.4.6 getAllowableActions
- Overrides:
compileAllowableActions
in class JcrDocument
- Parameters:
aas
- compilation of allowed actions
- Returns:
getTypeIdInternal
protected java.lang.String getTypeIdInternal()
- Specified by:
getTypeIdInternal
in class JcrNode
- Returns:
- the value of the
cmis:objectTypeId
property
isLatestVersion
protected boolean isLatestVersion()
- Specified by:
isLatestVersion
in class JcrDocument
- Returns:
- the value of the
cmis:isLatestVersion
property
isMajorVersion
protected boolean isMajorVersion()
- Specified by:
isMajorVersion
in class JcrDocument
- Returns:
- the value of the
cmis:isMajorVersion
property
isLatestMajorVersion
protected boolean isLatestMajorVersion()
- Specified by:
isLatestMajorVersion
in class JcrDocument
- Returns:
- the value of the
cmis:isLatestMajorVersion
property
getVersionLabel
protected java.lang.String getVersionLabel()
- Specified by:
getVersionLabel
in class JcrDocument
- Returns:
- the value of the
cmis:versionLabel
property
isCheckedOut
protected boolean isCheckedOut()
- Specified by:
isCheckedOut
in class JcrDocument
- Returns:
- the value of the
cmis:isVersionSeriesCheckedOut
property
getCheckedOutId
protected java.lang.String getCheckedOutId()
- Specified by:
getCheckedOutId
in class JcrDocument
- Returns:
- the value of the
cmis:versionSeriesCheckedOutId
property
getCheckedOutBy
protected java.lang.String getCheckedOutBy()
throws javax.jcr.RepositoryException
- Specified by:
getCheckedOutBy
in class JcrDocument
- Returns:
- the value of the
cmis:versionSeriesCheckedOutBy
property
- Throws:
javax.jcr.RepositoryException
getCheckInComment
protected java.lang.String getCheckInComment()
- Specified by:
getCheckInComment
in class JcrDocument
- Returns:
- the value of the
cmis:checkinComment
property
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.