|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.state.AbstractPersistenceManager
Implementation PersistenceManager
that handles some
concepts.
Constructor Summary | |
AbstractPersistenceManager()
|
Method Summary | |
NodeState |
createNew(NodeId id)
Creates a new node state instance with the given id. |
PropertyState |
createNew(PropertyId id)
Creates a new property state instance with the given id. |
protected abstract void |
destroy(NodeReferences refs)
Destroy a node references object. |
protected abstract void |
destroy(NodeState state)
Destroy a node state. |
protected abstract void |
destroy(PropertyState state)
Destroy a property state. |
void |
store(ChangeLog changeLog)
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)
Store a references object. |
protected abstract void |
store(NodeState state)
Store a node state. |
protected abstract void |
store(PropertyState state)
Store a property state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jackrabbit.core.state.PersistenceManager |
close, exists, exists, exists, init, load, load, load |
Constructor Detail |
public AbstractPersistenceManager()
Method Detail |
public NodeState createNew(NodeId id)
createNew
in interface PersistenceManager
id
- node id
public PropertyState createNew(PropertyId id)
createNew
in interface PersistenceManager
id
- property id
public void store(ChangeLog changeLog) throws ItemStateException
store
in interface PersistenceManager
changeLog
- change log containing states that were changed
ItemStateException
- if the changes could not be savedprotected abstract void store(NodeState state) throws ItemStateException
state
- node state to store
ItemStateException
- if an error occursprotected abstract void store(PropertyState state) throws ItemStateException
state
- property state to store
ItemStateException
- if an error occursprotected abstract void store(NodeReferences refs) throws ItemStateException
refs
- references object to store
ItemStateException
- if an error occursprotected abstract void destroy(NodeState state) throws ItemStateException
state
- node state to destroy
ItemStateException
- if an error occursprotected abstract void destroy(PropertyState state) throws ItemStateException
state
- property state to destroy
ItemStateException
- if an error occursprotected abstract void destroy(NodeReferences refs) throws ItemStateException
refs
- node references object to destroy
ItemStateException
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |