use of org.apache.jackrabbit.jcr2spi.operation.Checkpoint in project jackrabbit by apache.
the class VersionManagerImpl method checkpoint.
public NodeEntry checkpoint(NodeState nodeState) throws RepositoryException {
Checkpoint cp = Checkpoint.create(nodeState, this);
workspaceManager.execute(cp);
return workspaceManager.getHierarchyManager().getNodeEntry(cp.getNewVersionId());
}
use of org.apache.jackrabbit.jcr2spi.operation.Checkpoint in project jackrabbit by apache.
the class VersionManagerImpl method checkpoint.
public NodeEntry checkpoint(NodeState nodeState, NodeId activityId) throws RepositoryException {
Checkpoint cp = Checkpoint.create(nodeState, activityId, this);
workspaceManager.execute(cp);
return workspaceManager.getHierarchyManager().getNodeEntry(cp.getNewVersionId());
}
Aggregations