public interface JooqDomainHandler
| Modifier and Type | Method and Description |
|---|---|
void |
abort(org.jooq.DSLContext context,
Object locker)
Called each time the cristal-ise transaction is aborted
|
void |
commit(org.jooq.DSLContext context,
Object locker)
Called each time the cristal-ise transaction is comitted
|
void |
createTables(org.jooq.DSLContext context)
This method is called each time the connection is created.
|
int |
delete(org.jooq.DSLContext context,
UUID uuid,
Object locker,
String... primaryKeys)
This method is called each time a C2KLocalObject is deleted.
|
void |
postBoostrap(org.jooq.DSLContext context)
Called when the cristal-ise bootstrap has finished
|
void |
postConnect(org.jooq.DSLContext context)
Called when the cristal-ise connect has finished
|
void |
postStartServer(org.jooq.DSLContext context)
Called when the cristal-ise start server has finished
|
int |
put(org.jooq.DSLContext context,
UUID uuid,
C2KLocalObject obj,
Object locker)
This method is called each time a C2KLocalObject is stored.
|
void createTables(org.jooq.DSLContext context)
throws org.cristalise.kernel.common.PersistencyException
context.createTableIfNotExists(TABLE) to initialise database tables gracefully.context - The configured DSLContext of jooqorg.cristalise.kernel.common.PersistencyException - throw this exception in case of any error that requires to abort a transactionint put(org.jooq.DSLContext context,
UUID uuid,
C2KLocalObject obj,
Object locker)
throws org.cristalise.kernel.common.PersistencyException
context - The configured DSLContext of jooquuid - the Item's UUIDobj - Object that is being storedlocker - transaction keyorg.cristalise.kernel.common.PersistencyException - throw this exception in case of any error that requires to abort a transactionint delete(org.jooq.DSLContext context,
UUID uuid,
Object locker,
String... primaryKeys)
throws org.cristalise.kernel.common.PersistencyException
context - The configured DSLContext of jooquuid - the Item's UUIDlocker - transaction keyprimaryKeys - the identifiers of the Outcome withing the Itemorg.cristalise.kernel.common.PersistencyException - throw this exception in case of any error that requires to abort a transactionvoid commit(org.jooq.DSLContext context,
Object locker)
context - The configured DSLContext of jooqlocker - transaction keyvoid abort(org.jooq.DSLContext context,
Object locker)
context - The configured DSLContext of jooqlocker - transaction keyvoid postBoostrap(org.jooq.DSLContext context)
throws org.cristalise.kernel.common.PersistencyException
context - The configured DSLContext of jooqorg.cristalise.kernel.common.PersistencyException - Database errorvoid postStartServer(org.jooq.DSLContext context)
throws org.cristalise.kernel.common.PersistencyException
context - The configured DSLContext of jooqorg.cristalise.kernel.common.PersistencyException - Database errorvoid postConnect(org.jooq.DSLContext context)
throws org.cristalise.kernel.common.PersistencyException
context - The configured DSLContext of jooqorg.cristalise.kernel.common.PersistencyException - Database errorCopyright © 1997–2019 CRISTAL-iSE. All rights reserved.