public class JcrPrivateWorkingCopy extends JcrVersionBase
Node
.JcrNode.PropertyUpdater
Modifier and Type | Field and Description |
---|---|
static String |
PWC_NAME
Name of a private working copy
|
MIME_UNKNOWN
DATE_UNKNOWN, pathManager, typeHandlerManager, typeManager, USER_UNKNOWN
Constructor and Description |
---|
JcrPrivateWorkingCopy(javax.jcr.Node node,
JcrTypeManager typeManager,
PathManager pathManager,
JcrTypeHandlerManager typeHandlerManager) |
Modifier and Type | Method and Description |
---|---|
static boolean |
denotesPwc(String versionName) |
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 |
getPwcId() |
protected String |
getVersionLabel() |
protected boolean |
isLatestMajorVersion() |
protected boolean |
isLatestVersion() |
protected boolean |
isMajorVersion() |
static boolean |
isPwc(String objectId) |
cancelCheckout, checkin, checkout, compileAllowableActions, compileProperties, delete, getBaseNodeId, getCheckedOutBy, getCheckedOutId, getPwc, 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 static final String PWC_NAME
public JcrPrivateWorkingCopy(javax.jcr.Node node, JcrTypeManager typeManager, PathManager pathManager, JcrTypeHandlerManager typeHandlerManager)
public static boolean denotesPwc(String versionName)
true
iff versionName
is the name of
private working copy.PWC_NAME
public static boolean isPwc(String objectId)
objectId
- true
iff objectId
is the id of a
private working copy.PWC_NAME
protected javax.jcr.Node getContextNode()
JcrNode
getContextNode
in class JcrNode
protected String getPwcId() throws javax.jcr.RepositoryException
getPwcId
in class JcrVersionBase
javax.jcr.RepositoryException
protected String getObjectId() throws javax.jcr.RepositoryException
getObjectId
in class JcrNode
javax.jcr.RepositoryException
protected String getVersionLabel() throws javax.jcr.RepositoryException
getVersionLabel
in class JcrDocument
cmis:versionLabel
propertyjavax.jcr.RepositoryException
protected boolean isLatestVersion() throws javax.jcr.RepositoryException
isLatestVersion
in class JcrDocument
cmis:isLatestVersion
propertyjavax.jcr.RepositoryException
protected boolean isMajorVersion() throws javax.jcr.RepositoryException
isMajorVersion
in class JcrDocument
cmis:isMajorVersion
propertyjavax.jcr.RepositoryException
protected boolean isLatestMajorVersion() throws javax.jcr.RepositoryException
isLatestMajorVersion
in class JcrDocument
cmis:isLatestMajorVersion
propertyjavax.jcr.RepositoryException
protected String getCheckInComment()
getCheckInComment
in class JcrDocument
cmis:checkinComment
propertyCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.