Search in sources :

Example 6 with NodeStateEx

use of org.apache.jackrabbit.core.version.NodeStateEx in project jackrabbit by apache.

the class VersionManagerImpl method doneMerge.

/**
     * {@inheritDoc}
     */
public void doneMerge(String absPath, Version version) throws RepositoryException {
    NodeStateEx state = getNodeState(absPath, ItemValidator.CHECK_LOCK | ItemValidator.CHECK_PENDING_CHANGES_ON_NODE | ItemValidator.CHECK_HOLD, Permission.VERSION_MNGMT);
    finishMerge(state, version, false);
}
Also used : NodeStateEx(org.apache.jackrabbit.core.version.NodeStateEx)

Aggregations

NodeStateEx (org.apache.jackrabbit.core.version.NodeStateEx)6 NodeId (org.apache.jackrabbit.core.id.NodeId)2 AccessDeniedException (javax.jcr.AccessDeniedException)1 InvalidItemStateException (javax.jcr.InvalidItemStateException)1 RepositoryException (javax.jcr.RepositoryException)1 UnsupportedRepositoryOperationException (javax.jcr.UnsupportedRepositoryOperationException)1 ItemStateException (org.apache.jackrabbit.core.state.ItemStateException)1 InternalVersion (org.apache.jackrabbit.core.version.InternalVersion)1