public class OPersistenceSession
extends org.camunda.bpm.engine.impl.db.AbstractPersistenceSession
PersistenceSession| Constructor and Description |
|---|
OPersistenceSession(com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx db) |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheODocument(com.orientechnologies.orient.core.record.impl.ODocument doc) |
void |
close() |
void |
commit() |
void |
dbSchemaCheckVersion() |
protected void |
dbSchemaCreateCmmn() |
protected void |
dbSchemaCreateCmmnHistory() |
protected void |
dbSchemaCreateDmn() |
protected void |
dbSchemaCreateDmnHistory() |
protected void |
dbSchemaCreateEngine() |
protected void |
dbSchemaCreateHistory() |
protected void |
dbSchemaCreateIdentity() |
protected void |
dbSchemaDropCmmn() |
protected void |
dbSchemaDropCmmnHistory() |
protected void |
dbSchemaDropDmn() |
protected void |
dbSchemaDropDmnHistory() |
protected void |
dbSchemaDropEngine() |
protected void |
dbSchemaDropHistory() |
protected void |
dbSchemaDropIdentity() |
protected void |
deleteBulk(org.camunda.bpm.engine.impl.db.entitymanager.operation.DbBulkOperation operation) |
protected void |
deleteEntity(org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation operation) |
void |
fireEntityLoaded(com.orientechnologies.orient.core.record.impl.ODocument sourceDoc,
Object object,
boolean hasNeedInCache) |
void |
flush() |
com.orientechnologies.orient.core.metadata.schema.OClass |
getClass(String className) |
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx |
getDatabase() |
protected String |
getDbVersion() |
com.orientechnologies.orient.core.metadata.schema.OSchema |
getSchema() |
protected void |
insertEntity(org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation operation) |
boolean |
isCmmnHistoryTablePresent() |
boolean |
isCmmnTablePresent() |
boolean |
isDmnHistoryTablePresent() |
boolean |
isDmnTablePresent() |
boolean |
isEngineTablePresent() |
boolean |
isHistoryTablePresent() |
boolean |
isIdentityTablePresent() |
void |
lock(String statement,
Object parameter) |
org.camunda.bpm.engine.impl.db.DbEntity |
lookupEntityInCache(String oid)
Lookup cached
DbEntity |
com.orientechnologies.orient.core.db.record.OIdentifiable |
lookupOIdentifiableForIdInCache(String oid)
Lookup cached
OIdentifiable |
void |
rollback() |
<T extends org.camunda.bpm.engine.impl.db.DbEntity> |
selectById(Class<T> type,
String id) |
List<?> |
selectList(String statement,
Object parameter) |
Object |
selectOne(String statement,
Object parameter) |
static void |
staticInit(OProcessEngineConfiguration config) |
protected void |
updateBulk(org.camunda.bpm.engine.impl.db.entitymanager.operation.DbBulkOperation operation) |
protected void |
updateEntity(org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation operation) |
public OPersistenceSession(com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx db)
public static void staticInit(OProcessEngineConfiguration config)
public com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx getDatabase()
public com.orientechnologies.orient.core.metadata.schema.OSchema getSchema()
public com.orientechnologies.orient.core.metadata.schema.OClass getClass(String className)
public void fireEntityLoaded(com.orientechnologies.orient.core.record.impl.ODocument sourceDoc,
Object object,
boolean hasNeedInCache)
public void cacheODocument(com.orientechnologies.orient.core.record.impl.ODocument doc)
public com.orientechnologies.orient.core.db.record.OIdentifiable lookupOIdentifiableForIdInCache(String oid)
OIdentifiableoid - id of an entity stored in DB. Sometimes it's not the same as id of an entity.OIdentifiablepublic org.camunda.bpm.engine.impl.db.DbEntity lookupEntityInCache(String oid)
DbEntityoid - id of an entity stored in DB. Sometimes it's not the same as id of an entity.DbEntitypublic <T extends org.camunda.bpm.engine.impl.db.DbEntity> T selectById(Class<T> type, String id)
public void commit()
public void rollback()
public void dbSchemaCheckVersion()
public void flush()
public void close()
protected void insertEntity(org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation operation)
insertEntity in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void deleteEntity(org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation operation)
deleteEntity in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void deleteBulk(org.camunda.bpm.engine.impl.db.entitymanager.operation.DbBulkOperation operation)
deleteBulk in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void updateEntity(org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation operation)
updateEntity in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void updateBulk(org.camunda.bpm.engine.impl.db.entitymanager.operation.DbBulkOperation operation)
updateBulk in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected String getDbVersion()
getDbVersion in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaCreateIdentity()
dbSchemaCreateIdentity in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaCreateHistory()
dbSchemaCreateHistory in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaCreateEngine()
dbSchemaCreateEngine in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaCreateCmmn()
dbSchemaCreateCmmn in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaCreateCmmnHistory()
dbSchemaCreateCmmnHistory in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaCreateDmn()
dbSchemaCreateDmn in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaCreateDmnHistory()
dbSchemaCreateDmnHistory in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaDropIdentity()
dbSchemaDropIdentity in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaDropHistory()
dbSchemaDropHistory in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaDropEngine()
dbSchemaDropEngine in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaDropCmmn()
dbSchemaDropCmmn in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaDropCmmnHistory()
dbSchemaDropCmmnHistory in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaDropDmn()
dbSchemaDropDmn in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionprotected void dbSchemaDropDmnHistory()
dbSchemaDropDmnHistory in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionpublic boolean isEngineTablePresent()
isEngineTablePresent in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionpublic boolean isHistoryTablePresent()
isHistoryTablePresent in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionpublic boolean isIdentityTablePresent()
isIdentityTablePresent in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionpublic boolean isCmmnTablePresent()
isCmmnTablePresent in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionpublic boolean isCmmnHistoryTablePresent()
isCmmnHistoryTablePresent in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionpublic boolean isDmnTablePresent()
isDmnTablePresent in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionpublic boolean isDmnHistoryTablePresent()
isDmnHistoryTablePresent in class org.camunda.bpm.engine.impl.db.AbstractPersistenceSessionCopyright © 2019. All rights reserved.