public interface AutoVersionService
| Modifier and Type | Field and Description |
|---|---|
static int |
DOCUMENT_AUTO_DEFAULT_VERSION_EXPIRED |
static int |
DOCUMENT_AUTO_DEFAULT_VERSION_MAX |
static String |
DRIVES_AUTO_VERSION |
static String |
DRIVES_AUTO_VERSION_EXPIRED |
static String |
DRIVES_AUTO_VERSION_MAX |
static String |
GROUP_DRIVE_PARRTEN |
static String |
GROUP_DRIVE_PREFIX |
static String |
PERSONAL_DRIVE_PARRTEN |
static String |
PERSONAL_DRIVE_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.version.Version |
autoVersion(javax.jcr.Node currentNode)
Versioning for document
|
javax.jcr.version.Version |
autoVersion(javax.jcr.Node currentNode,
boolean isSkipCheckDrive)
Versioning for document
|
void |
autoVersion(javax.jcr.Node currentNode,
javax.jcr.Node sourceNode)
Versioning for document
|
void |
autoVersion(javax.jcr.Node currentNode,
javax.jcr.Node sourceNode,
boolean isSkipDriveCheck)
Versioning for document at Drive dont support Autoversioning
|
List<String> |
getDriveAutoVersion()
Get List of Drive supported versioning
|
boolean |
isVersionSupport(String nodePath,
String workspace)
Check support versioning of document
|
static final String DRIVES_AUTO_VERSION
static final String DRIVES_AUTO_VERSION_MAX
static final String DRIVES_AUTO_VERSION_EXPIRED
static final int DOCUMENT_AUTO_DEFAULT_VERSION_MAX
static final int DOCUMENT_AUTO_DEFAULT_VERSION_EXPIRED
static final String PERSONAL_DRIVE_PARRTEN
static final String GROUP_DRIVE_PARRTEN
static final String PERSONAL_DRIVE_PREFIX
static final String GROUP_DRIVE_PREFIX
javax.jcr.version.Version autoVersion(javax.jcr.Node currentNode)
throws Exception
currentNode - Exceptionjavax.jcr.version.Version autoVersion(javax.jcr.Node currentNode,
boolean isSkipCheckDrive)
throws Exception
currentNode - isSkipCheckDrive - Exceptionvoid autoVersion(javax.jcr.Node currentNode,
javax.jcr.Node sourceNode)
throws Exception
currentNode - sourceNode - Exceptionboolean isVersionSupport(String nodePath, String workspace) throws Exception
nodePath - ExceptionList<String> getDriveAutoVersion()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.