public class JcrVersion extends JcrVersionBase
Node
.JcrNode.PropertyUpdater
MIME_UNKNOWN
DATE_UNKNOWN, pathManager, typeHandlerManager, typeManager, USER_UNKNOWN
Constructor and Description |
---|
JcrVersion(javax.jcr.Node node,
javax.jcr.version.Version version,
JcrTypeManager typeManager,
PathManager pathManager,
JcrTypeHandlerManager typeHandlerManager) |
Modifier and Type | Method and Description |
---|---|
protected String |
getCheckInComment() |
protected javax.jcr.Node |
getContextNode()
Retrieve the context node of the CMIS object represented by this
instance.
|
protected String |
getObjectId() |
protected String |
getVersionLabel() |
String |
getVersionName()
Retrieve version name.
|
protected boolean |
isLatestMajorVersion() |
protected boolean |
isLatestVersion() |
protected boolean |
isMajorVersion() |
cancelCheckout, checkin, checkout, compileAllowableActions, compileProperties, delete, getBaseNodeId, getCheckedOutBy, getCheckedOutId, getPwc, getPwcId, getTypeIdInternal, getVersion, getVersions, isCheckedOut
getBaseTypeId, getContentStream, getIsImmutable, isDocumentCheckedOut, setContentStream
addPropertyBoolean, addPropertyDateTime, addPropertyId, addPropertyInteger, addPropertyList, addPropertyString, asDocument, asFolder, asVersion, checkAddProperty, compileObjectType, create, getAllowableActions, getBaseVersion, getChangeToken, getCreated, getCreatedBy, getId, getLastModified, getLastModifiedBy, getName, getNode, getNode, getNodeName, getParent, getPropertyLength, getPropertyOrElse, getPropertyOrElse, getTypeId, getVersionHistory, getVersionManager, getVersionSeriesId, isDocument, isFolder, isRoot, isVersionable, move, setAction, toString, updateProperties, updateProperties
public JcrVersion(javax.jcr.Node node, javax.jcr.version.Version version, JcrTypeManager typeManager, PathManager pathManager, JcrTypeHandlerManager typeHandlerManager)
protected javax.jcr.Node getContextNode() throws javax.jcr.RepositoryException
JcrNode
getContextNode
in class JcrNode
javax.jcr.RepositoryException
protected String getObjectId() throws javax.jcr.RepositoryException
getObjectId
in class JcrNode
javax.jcr.RepositoryException
protected boolean isLatestVersion() throws javax.jcr.RepositoryException
isLatestVersion
in class JcrDocument
cmis:isLatestVersion
propertyjavax.jcr.RepositoryException
protected boolean isMajorVersion()
isMajorVersion
in class JcrDocument
cmis:isMajorVersion
propertyprotected boolean isLatestMajorVersion() throws javax.jcr.RepositoryException
isLatestMajorVersion
in class JcrDocument
cmis:isLatestMajorVersion
propertyjavax.jcr.RepositoryException
protected String getVersionLabel() throws javax.jcr.RepositoryException
getVersionLabel
in class JcrDocument
cmis:versionLabel
propertyjavax.jcr.RepositoryException
protected String getCheckInComment() throws javax.jcr.RepositoryException
getCheckInComment
in class JcrDocument
cmis:checkinComment
propertyjavax.jcr.RepositoryException
public String getVersionName() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.