| Modifier and Type | Method and Description |
|---|---|
void |
checkpoint(javax.jcr.Node node)
Creates a version checkpoint for the given node if versioning is enabled
for that node type.
|
void |
createVersion(javax.jcr.Workspace workspace,
Collection<String> paths)
Explicitly creates a version for the nodes at each path provided.
|
void |
nodeUpdated(javax.jcr.Node n)
Notifies the version manager that the given node was updated so that if
automatic versioning is set for that node, a version checkpoint will be
made.
|
void |
nodeUpdated(javax.jcr.Session session,
String absPath)
Notifies the version manager that the node at a given path was updated so
that if automatic versioning is set for that node, a version checkpoint
will be made.
|
void |
setTxService(TransactionService txService) |
exists, setRepositoryvoid nodeUpdated(javax.jcr.Session session,
String absPath)
throws javax.jcr.RepositoryException
nodeUpdated(javax.jcr.Node) will save the overhead of a
redundant node lookup.session - absPath - the absolute path to the node that was created or modifiedjavax.jcr.RepositoryExceptionvoid nodeUpdated(javax.jcr.Node n)
throws javax.jcr.RepositoryException
n - the node that was updatedjavax.jcr.RepositoryExceptionvoid createVersion(javax.jcr.Workspace workspace,
Collection<String> paths)
throws javax.jcr.RepositoryException
workspace - the workspace in which the node residespaths - absolute paths to the nodes within the workspacejavax.jcr.RepositoryExceptionvoid checkpoint(javax.jcr.Node node)
throws javax.jcr.RepositoryException
node - the node for whom a new version is to be mintedjavax.jcr.RepositoryExceptionvoid setTxService(TransactionService txService)
txService - the txService to setCopyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.