org.apache.jackrabbit.core.version
Class VersionManagerImplBase.WriteOperation
java.lang.Object
org.apache.jackrabbit.core.version.VersionManagerImplBase.WriteOperation
- Enclosing class:
- VersionManagerImplBase
public class VersionManagerImplBase.WriteOperation
- extends Object
Helper for managing write operations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionManagerImplBase.WriteOperation
public VersionManagerImplBase.WriteOperation(ISMLocking.WriteLock lock)
save
public void save()
throws ItemStateException,
RepositoryException
- Saves the pending operations in the
LocalItemStateManager
.
- Throws:
ItemStateException
- if the pending state is invalid
RepositoryException
- if the pending state could not be persisted
close
public void close()
- Closes the write operation. The pending operations are cancelled
if they could not be properly saved. Finally the write lock is
released.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.