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_UNKNOWNDATE_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, isCheckedOutgetBaseTypeId, getContentStream, getIsImmutable, isDocumentCheckedOut, setContentStreamaddPropertyBoolean, addPropertyDateTime, addPropertyId, addPropertyInteger, 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, updatePropertiespublic 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_NAMEpublic static boolean isPwc(String objectId)
objectId - true iff objectId is the id of a private working copy.PWC_NAMEprotected javax.jcr.Node getContextNode()
JcrNodegetContextNode in class JcrNodeprotected String getPwcId() throws javax.jcr.RepositoryException
getPwcId in class JcrVersionBasejavax.jcr.RepositoryExceptionprotected String getObjectId() throws javax.jcr.RepositoryException
getObjectId in class JcrNodejavax.jcr.RepositoryExceptionprotected String getVersionLabel() throws javax.jcr.RepositoryException
getVersionLabel in class JcrDocumentcmis:versionLabel propertyjavax.jcr.RepositoryExceptionprotected boolean isLatestVersion()
throws javax.jcr.RepositoryException
isLatestVersion in class JcrDocumentcmis:isLatestVersion propertyjavax.jcr.RepositoryExceptionprotected boolean isMajorVersion()
throws javax.jcr.RepositoryException
isMajorVersion in class JcrDocumentcmis:isMajorVersion propertyjavax.jcr.RepositoryExceptionprotected boolean isLatestMajorVersion()
throws javax.jcr.RepositoryException
isLatestMajorVersion in class JcrDocumentcmis:isLatestMajorVersion propertyjavax.jcr.RepositoryExceptionprotected String getCheckInComment()
getCheckInComment in class JcrDocumentcmis:checkinComment propertyCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.