workspaceManager.execute(cp);
return workspaceManager.getHierarchyManager().getNodeEntry(cp.getNewVersionId());
}
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());
}