@Deprecated public abstract class AbstractPersistenceManager extends Object implements PersistenceManager
PersistenceManager that handles some
 concepts.| Constructor and Description | 
|---|
| AbstractPersistenceManager()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| void | checkConsistency(String[] uuids,
                boolean recursive,
                boolean fix)Deprecated.  This implementation does nothing. | 
| NodeState | createNew(NodeId id)Deprecated.  Creates a new node state instance with the given id. | 
| PropertyState | createNew(PropertyId id)Deprecated.  Creates a new property state instance with the given id. | 
| protected abstract void | destroy(NodeReferences refs)Deprecated.  Destroy a node references object. | 
| protected abstract void | destroy(NodeState state)Deprecated.  Destroy a node state. | 
| protected abstract void | destroy(PropertyState state)Deprecated.  Destroy a property state. | 
| void | store(ChangeLog changeLog)Deprecated.  Right now, this iterates over all items in the changelog and
 calls the individual methods that handle single item states
 or node references objects. | 
| protected abstract void | store(NodeReferences refs)Deprecated.  Store a references object. | 
| protected abstract void | store(NodeState state)Deprecated.  Store a node state. | 
| protected abstract void | store(PropertyState state)Deprecated.  Store a property state. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, exists, exists, existsReferencesTo, init, load, load, loadReferencesTopublic NodeState createNew(NodeId id)
createNew in interface PersistenceManagerid - node idpublic PropertyState createNew(PropertyId id)
createNew in interface PersistenceManagerid - property idpublic void store(ChangeLog changeLog) throws ItemStateException
store in interface PersistenceManagerchangeLog - change log containing states that were changedItemStateException - if the changes could not be savedpublic void checkConsistency(String[] uuids, boolean recursive, boolean fix)
checkConsistency in interface PersistenceManageruuids - list of UUIDs of nodes to be checked. if null, all nodes will
            be checkedrecursive - if true, the tree(s) below the given node(s) will be traversed
            and checked as wellfix - if true, any problems found that can be repaired will be
            repaired. if false, no data will be modified, instead all
            inconsistencies will only get loggedprotected abstract void store(NodeState state) throws ItemStateException
state - node state to storeItemStateException - if an error occursprotected abstract void store(PropertyState state) throws ItemStateException
state - property state to storeItemStateException - if an error occursprotected abstract void store(NodeReferences refs) throws ItemStateException
refs - references object to storeItemStateException - if an error occursprotected abstract void destroy(NodeState state) throws ItemStateException
state - node state to destroyItemStateException - if an error occursprotected abstract void destroy(PropertyState state) throws ItemStateException
state - property state to destroyItemStateException - if an error occursprotected abstract void destroy(NodeReferences refs) throws ItemStateException
refs - node references object to destroyItemStateException - if an error occursCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.