public interface Recorder
| Modifier and Type | Method and Description |
|---|---|
void |
recordDelete(DeleteRecord record,
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,
String type)
Add a record to database
|
void |
recordUpdate(UpdateRecord record,
String type)
Update a record from database
|
int |
recordUpdateWithQuery(UpdateRecord record,
String type,
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, String type) throws SRecorderException
record - the record for inserttype - SRecorderExceptionvoid recordDelete(DeleteRecord record, String type) throws SRecorderException
record - the record for inserttype - SRecorderExceptionvoid recordUpdate(UpdateRecord record, String type) throws SRecorderException
record - the record for inserttype - SRecorderExceptionint recordUpdateWithQuery(UpdateRecord record, String type, String query) throws SRecorderException
record - the record for inserttype - Object typequery - NamedQuery to be usedSRecorderExceptionvoid recordDeleteAll(DeleteAllRecord record) throws SRecorderException
record - table to cleanSRecorderExceptionCopyright © 2018 Bonitasoft S.A.. All rights reserved.