org.apache.jackrabbit.core.state.orm.ojb
Class OJBPersistenceManager
java.lang.Object
org.apache.jackrabbit.core.state.orm.ojb.OJBPersistenceManager
- All Implemented Interfaces:
- PersistenceManager
- public class OJBPersistenceManager
- extends Object
- implements PersistenceManager
OJB implementation of a Jackrabbit persistence manager.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OJBPersistenceManager
public OJBPersistenceManager()
init
public void init(PMContext context)
throws Exception
- Specified by:
init
in interface PersistenceManager
- Throws:
Exception
- See Also:
PersistenceManager.init(org.apache.jackrabbit.core.state.PMContext)
close
public void close()
throws Exception
- Specified by:
close
in interface PersistenceManager
- Throws:
Exception
- See Also:
PersistenceManager.close()
load
public NodeState load(NodeId nodeId)
throws NoSuchItemStateException,
ItemStateException
- Specified by:
load
in interface PersistenceManager
- Throws:
NoSuchItemStateException
ItemStateException
- See Also:
PersistenceManager.load(NodeId)
load
public PropertyState load(PropertyId propId)
throws NoSuchItemStateException,
ItemStateException
- Specified by:
load
in interface PersistenceManager
- Throws:
NoSuchItemStateException
ItemStateException
- See Also:
PersistenceManager.load(PropertyId)
load
public NodeReferences load(NodeReferencesId targetId)
throws NoSuchItemStateException,
ItemStateException
- Specified by:
load
in interface PersistenceManager
- Throws:
NoSuchItemStateException
ItemStateException
- See Also:
PersistenceManager.load(NodeReferencesId)
exists
public boolean exists(NodeId id)
throws ItemStateException
- Specified by:
exists
in interface PersistenceManager
- Throws:
ItemStateException
- See Also:
PersistenceManager.exists(NodeId)
exists
public boolean exists(PropertyId id)
throws ItemStateException
- Specified by:
exists
in interface PersistenceManager
- Throws:
ItemStateException
- See Also:
PersistenceManager.exists(PropertyId)
exists
public boolean exists(NodeReferencesId targetId)
throws ItemStateException
- Specified by:
exists
in interface PersistenceManager
- Throws:
ItemStateException
- See Also:
PersistenceManager.exists(NodeReferencesId)
createNew
public NodeState createNew(NodeId id)
- Specified by:
createNew
in interface PersistenceManager
- See Also:
PersistenceManager.createNew(org.apache.jackrabbit.core.NodeId)
createNew
public PropertyState createNew(PropertyId id)
- Specified by:
createNew
in interface PersistenceManager
- See Also:
PersistenceManager.createNew(org.apache.jackrabbit.core.NodeId)
store
public void store(ChangeLog changeLog)
throws ItemStateException
- Specified by:
store
in interface PersistenceManager
- Throws:
ItemStateException
- See Also:
This method ensures that changes are either written completely to the
underlying persistence layer, or not at all.
Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.