public interface JooqDomainHandler
| Modifier and Type | Method and Description |
|---|---|
void |
createTables(org.jooq.DSLContext context)
This method is called each time the connection is created.
|
int |
delete(org.jooq.DSLContext context,
UUID uuid,
String... primaryKeys)
This method is called each time an Outcome is deleted.
|
int |
put(org.jooq.DSLContext context,
UUID uuid,
org.cristalise.kernel.entity.C2KLocalObject obj)
This method is called each time anything but an Outcome is stored.
|
int |
put(org.jooq.DSLContext context,
UUID uuid,
org.cristalise.kernel.persistency.outcome.Outcome outcome)
This method is called each time an Outcome 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,
org.cristalise.kernel.persistency.outcome.Outcome outcome)
throws org.cristalise.kernel.common.PersistencyException
context - The configured DSLContext of jooquuid - the Item's UUIDoutcome - the Outcome object beeing storedorg.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,
org.cristalise.kernel.entity.C2KLocalObject obj)
throws org.cristalise.kernel.common.PersistencyException
context - The configured DSLContext of jooquuid - the Item's UUIDobj - Object that is being storedorg.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,
String... primaryKeys)
throws org.cristalise.kernel.common.PersistencyException
context - The configured DSLContext of jooquuid - the Item's UUIDprimaryKeys - 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 transactionCopyright © 2018 CRISTAL-iSE. All rights reserved.