|
||||||||||
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 org.jboss.portal.cms.hibernate.state.HibernatePersistenceManager
Field Summary | |
protected java.lang.String |
auto
|
protected java.lang.String |
autocommit
|
protected java.lang.String |
batch_size
|
protected org.apache.jackrabbit.core.fs.FileSystem |
blobFS
file system where BLOB data is stored (if externalBLOBs==true ) |
protected java.lang.String |
blobSelect
|
protected java.lang.String |
blobSelectData
|
protected java.lang.String |
blobSelectExist
|
protected org.apache.jackrabbit.core.state.util.BLOBStore |
blobStore
BLOBStore that manages BLOB data in the file system (if externalBLOBs==true ) |
protected java.lang.String |
datasource
|
protected boolean |
externalBLOBs
|
protected static int |
INITIAL_BUFFER_SIZE
|
protected boolean |
initialized
|
protected java.lang.String |
isolation
|
protected java.lang.String |
nodeReferenceSelect
|
protected java.lang.String |
nodeReferenceSelectData
|
protected java.lang.String |
nodeReferenceSelectExist
|
protected java.lang.String |
nodeStateSelect
|
protected java.lang.String |
nodeStateSelectData
|
protected java.lang.String |
nodeStateSelectExist
|
protected java.lang.String |
propertyStateSelect
|
protected java.lang.String |
propertyStateSelectData
|
protected java.lang.String |
propertyStateSelectExist
|
protected java.lang.String |
provider_class
|
protected static java.lang.String |
SCHEMA_OBJECT_PREFIX_VARIABLE
|
protected java.lang.String |
schemaObjectPrefix
|
Constructor Summary | |
HibernatePersistenceManager()
Creates a new SimpleDbPersistenceManager instance. |
Method Summary | |
void |
close()
|
protected void |
closeStream(java.io.InputStream in)
|
void |
destroy(org.apache.jackrabbit.core.state.NodeReferences refs)
|
void |
destroy(org.apache.jackrabbit.core.state.NodeState state)
|
void |
destroy(org.apache.jackrabbit.core.state.PropertyState state)
|
boolean |
exists(org.apache.jackrabbit.core.NodeId id)
|
boolean |
exists(org.apache.jackrabbit.core.state.NodeReferencesId targetId)
|
boolean |
exists(org.apache.jackrabbit.core.PropertyId id)
|
boolean |
exists(java.lang.String blobid)
|
java.lang.String |
getAuto()
|
java.lang.String |
getAutocommit()
|
java.lang.String |
getBatch_size()
|
java.lang.String |
getDatasource()
|
java.lang.String |
getIsolation()
|
protected org.hibernate.Session |
getNewConnection()
|
java.lang.String |
getProvider_class()
|
java.lang.String |
getSchemaObjectPrefix()
|
void |
init(org.apache.jackrabbit.core.state.PMContext context)
|
boolean |
isExternalBLOBs()
|
org.apache.jackrabbit.core.state.NodeState |
load(org.apache.jackrabbit.core.NodeId id)
|
org.apache.jackrabbit.core.state.NodeReferences |
load(org.apache.jackrabbit.core.state.NodeReferencesId targetId)
|
org.apache.jackrabbit.core.state.PropertyState |
load(org.apache.jackrabbit.core.PropertyId id)
|
protected void |
logException(java.lang.String message,
java.sql.SQLException se)
|
void |
setAuto(java.lang.String auto)
|
void |
setAutocommit(java.lang.String autocommit)
|
void |
setBatch_size(java.lang.String batch_size)
|
void |
setDatasource(java.lang.String datasource)
|
void |
setExternalBLOBs(boolean externalBLOBs)
|
void |
setExternalBLOBs(java.lang.String externalBLOBs)
|
void |
setIsolation(java.lang.String isolation)
|
void |
setProvider_class(java.lang.String provider_class)
|
void |
setSchemaObjectPrefix(java.lang.String schemaObjectPrefix)
|
void |
store(org.apache.jackrabbit.core.state.ChangeLog changeLog)
|
void |
store(org.apache.jackrabbit.core.state.NodeReferences refs)
This method uses shared PreparedStatement s which must
be executed strictly sequentially. |
void |
store(org.apache.jackrabbit.core.state.NodeState state)
This method uses shared PreparedStatement s which must
be executed strictly sequentially. |
void |
store(org.apache.jackrabbit.core.state.PropertyState state)
This method uses shared PreparedStatement s which must
be executed strictly sequentially. |
Methods inherited from class org.apache.jackrabbit.core.state.AbstractPersistenceManager |
createNew, createNew |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String SCHEMA_OBJECT_PREFIX_VARIABLE
protected boolean initialized
protected java.lang.String datasource
protected java.lang.String batch_size
protected java.lang.String isolation
protected java.lang.String auto
protected java.lang.String autocommit
protected java.lang.String provider_class
protected java.lang.String schemaObjectPrefix
protected boolean externalBLOBs
protected static final int INITIAL_BUFFER_SIZE
protected java.lang.String nodeStateSelect
protected java.lang.String nodeStateSelectData
protected java.lang.String nodeStateSelectExist
protected java.lang.String propertyStateSelect
protected java.lang.String propertyStateSelectData
protected java.lang.String propertyStateSelectExist
protected java.lang.String nodeReferenceSelect
protected java.lang.String nodeReferenceSelectData
protected java.lang.String nodeReferenceSelectExist
protected java.lang.String blobSelect
protected java.lang.String blobSelectData
protected java.lang.String blobSelectExist
protected org.apache.jackrabbit.core.fs.FileSystem blobFS
externalBLOBs==true
)
protected org.apache.jackrabbit.core.state.util.BLOBStore blobStore
externalBLOBs==true
)
Constructor Detail |
public HibernatePersistenceManager()
SimpleDbPersistenceManager
instance.
Method Detail |
public java.lang.String getDatasource()
public void setDatasource(java.lang.String datasource)
public java.lang.String getBatch_size()
public void setBatch_size(java.lang.String batch_size)
public java.lang.String getIsolation()
public void setIsolation(java.lang.String isolation)
public java.lang.String getAuto()
public void setAuto(java.lang.String auto)
public java.lang.String getAutocommit()
public void setAutocommit(java.lang.String autocommit)
public java.lang.String getProvider_class()
public void setProvider_class(java.lang.String provider_class)
public java.lang.String getSchemaObjectPrefix()
public void setSchemaObjectPrefix(java.lang.String schemaObjectPrefix)
public boolean isExternalBLOBs()
public void setExternalBLOBs(boolean externalBLOBs)
public void setExternalBLOBs(java.lang.String externalBLOBs)
public void init(org.apache.jackrabbit.core.state.PMContext context) throws java.lang.Exception
java.lang.Exception
public void close() throws java.lang.Exception
java.lang.Exception
public void store(org.apache.jackrabbit.core.state.ChangeLog changeLog) throws org.apache.jackrabbit.core.state.ItemStateException
org.apache.jackrabbit.core.state.ItemStateException
public org.apache.jackrabbit.core.state.NodeState load(org.apache.jackrabbit.core.NodeId id) throws org.apache.jackrabbit.core.state.NoSuchItemStateException, org.apache.jackrabbit.core.state.ItemStateException
org.apache.jackrabbit.core.state.NoSuchItemStateException
org.apache.jackrabbit.core.state.ItemStateException
public org.apache.jackrabbit.core.state.PropertyState load(org.apache.jackrabbit.core.PropertyId id) throws org.apache.jackrabbit.core.state.NoSuchItemStateException, org.apache.jackrabbit.core.state.ItemStateException
org.apache.jackrabbit.core.state.NoSuchItemStateException
org.apache.jackrabbit.core.state.ItemStateException
public void store(org.apache.jackrabbit.core.state.NodeState state) throws org.apache.jackrabbit.core.state.ItemStateException
PreparedStatement
s which must
be executed strictly sequentially. Because this method synchronizes on
the persistence manager instance there is no need to synchronize on the
shared statement. If the method would not be sychronized the shared
statements would have to be synchronized.
org.apache.jackrabbit.core.state.ItemStateException
public void store(org.apache.jackrabbit.core.state.PropertyState state) throws org.apache.jackrabbit.core.state.ItemStateException
PreparedStatement
s which must
be executed strictly sequentially. Because this method synchronizes on
the persistence manager instance there is no need to synchronize on the
shared statement. If the method would not be sychronized the shared
statements would have to be synchronized.
org.apache.jackrabbit.core.state.ItemStateException
public void destroy(org.apache.jackrabbit.core.state.NodeState state) throws org.apache.jackrabbit.core.state.ItemStateException
org.apache.jackrabbit.core.state.ItemStateException
public void destroy(org.apache.jackrabbit.core.state.PropertyState state) throws org.apache.jackrabbit.core.state.ItemStateException
org.apache.jackrabbit.core.state.ItemStateException
public org.apache.jackrabbit.core.state.NodeReferences load(org.apache.jackrabbit.core.state.NodeReferencesId targetId) throws org.apache.jackrabbit.core.state.NoSuchItemStateException, org.apache.jackrabbit.core.state.ItemStateException
org.apache.jackrabbit.core.state.NoSuchItemStateException
org.apache.jackrabbit.core.state.ItemStateException
public void store(org.apache.jackrabbit.core.state.NodeReferences refs) throws org.apache.jackrabbit.core.state.ItemStateException
PreparedStatement
s which must
be executed strictly sequentially. Because this method synchronizes on
the persistence manager instance there is no need to synchronize on the
shared statement. If the method would not be sychronized the shared
statements would have to be synchronized.
org.apache.jackrabbit.core.state.ItemStateException
public void destroy(org.apache.jackrabbit.core.state.NodeReferences refs) throws org.apache.jackrabbit.core.state.ItemStateException
org.apache.jackrabbit.core.state.ItemStateException
public boolean exists(org.apache.jackrabbit.core.NodeId id) throws org.apache.jackrabbit.core.state.ItemStateException
org.apache.jackrabbit.core.state.ItemStateException
public boolean exists(java.lang.String blobid) throws org.apache.jackrabbit.core.state.ItemStateException
org.apache.jackrabbit.core.state.ItemStateException
public boolean exists(org.apache.jackrabbit.core.PropertyId id) throws org.apache.jackrabbit.core.state.ItemStateException
org.apache.jackrabbit.core.state.ItemStateException
public boolean exists(org.apache.jackrabbit.core.state.NodeReferencesId targetId) throws org.apache.jackrabbit.core.state.ItemStateException
org.apache.jackrabbit.core.state.ItemStateException
protected void closeStream(java.io.InputStream in)
protected void logException(java.lang.String message, java.sql.SQLException se)
protected org.hibernate.Session getNewConnection() throws org.hibernate.HibernateException
org.hibernate.HibernateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |