org.apache.jackrabbit.core.state.bdb
Class BerkeleyDBPersistenceManager
java.lang.Object
org.apache.jackrabbit.core.state.AbstractPersistenceManager
org.apache.jackrabbit.core.state.bdb.BerkeleyDBPersistenceManager
- All Implemented Interfaces:
- BLOBStore, PersistenceManager
- public class BerkeleyDBPersistenceManager
- extends AbstractPersistenceManager
- implements BLOBStore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENCODING
protected static final String ENCODING
- See Also:
- Constant Field Values
BerkeleyDBPersistenceManager
public BerkeleyDBPersistenceManager()
init
public void init(PMContext context)
throws Exception
- Specified by:
init
in interface PersistenceManager
- Throws:
Exception
close
public void close()
throws Exception
- Specified by:
close
in interface PersistenceManager
- Throws:
Exception
load
public NodeState load(NodeId id)
throws NoSuchItemStateException,
ItemStateException
- Specified by:
load
in interface PersistenceManager
- Throws:
NoSuchItemStateException
ItemStateException
load
public PropertyState load(PropertyId id)
throws NoSuchItemStateException,
ItemStateException
- Specified by:
load
in interface PersistenceManager
- Throws:
NoSuchItemStateException
ItemStateException
load
public NodeReferences load(NodeReferencesId id)
throws NoSuchItemStateException,
ItemStateException
- Specified by:
load
in interface PersistenceManager
- Throws:
NoSuchItemStateException
ItemStateException
exists
public boolean exists(NodeId id)
throws ItemStateException
- Specified by:
exists
in interface PersistenceManager
- Throws:
ItemStateException
exists
public boolean exists(PropertyId id)
throws ItemStateException
- Specified by:
exists
in interface PersistenceManager
- Throws:
ItemStateException
exists
public boolean exists(NodeReferencesId targetId)
throws ItemStateException
- Specified by:
exists
in interface PersistenceManager
- Throws:
ItemStateException
store
public void store(ChangeLog changeLog)
throws ItemStateException
- Specified by:
store
in interface PersistenceManager
- Throws:
ItemStateException
store
protected void store(NodeState state)
throws ItemStateException
- Throws:
ItemStateException
store
protected void store(PropertyState state)
throws ItemStateException
- Throws:
ItemStateException
store
protected void store(NodeReferences refs)
throws ItemStateException
- Throws:
ItemStateException
destroy
protected void destroy(NodeState state)
throws ItemStateException
- Throws:
ItemStateException
destroy
protected void destroy(PropertyState state)
throws ItemStateException
- Throws:
ItemStateException
destroy
protected void destroy(NodeReferences refs)
throws ItemStateException
- Throws:
ItemStateException
get
public FileSystemResource get(String blobId)
throws Exception
- Specified by:
get
in interface BLOBStore
- Throws:
Exception
put
public String put(PropertyId id,
int index,
InputStream in,
long size)
throws Exception
- Specified by:
put
in interface BLOBStore
- Throws:
Exception
remove
public boolean remove(String blobId)
throws Exception
- Specified by:
remove
in interface BLOBStore
- Throws:
Exception
Copyright © 2005 The Apache Software Foundation. All Rights Reserved.