public interface Recorder
| Modifier and Type | Method and Description |
|---|---|
void |
recordDelete(DeleteRecord record,
java.lang.String type)
Delete a record from database
|
void |
recordDeleteAll(DeleteAllRecord record)
Delete all records for a table from database, for the connected tenant
|
void |
recordInsert(InsertRecord record,
java.lang.String type)
Add a record to database
|
void |
recordUpdate(UpdateRecord record,
java.lang.String type)
Update a record from database
|
int |
recordUpdateWithQuery(UpdateRecord record,
java.lang.String type,
java.lang.String query)
Update a record from database with a named query
If no rows have been updated the event is not thrown
|
void recordInsert(InsertRecord record, java.lang.String type) throws SRecorderException
record - the record for inserttype - SRecorderExceptionvoid recordDelete(DeleteRecord record, java.lang.String type) throws SRecorderException
record - the record for inserttype - SRecorderExceptionvoid recordUpdate(UpdateRecord record, java.lang.String type) throws SRecorderException
record - the record for inserttype - SRecorderExceptionint recordUpdateWithQuery(UpdateRecord record, java.lang.String type, java.lang.String query) throws SRecorderException
record - the record for inserttype - Object typequery - NamedQuery to be usedSRecorderExceptionvoid recordDeleteAll(DeleteAllRecord record) throws SRecorderException
record - table to cleanSRecorderException