public abstract class TransactionFilterService extends neo.nursery.AbstractNurseryService implements TransactionFilter
A simple no operation implementation of the TransactionFilter
interface by extending AbstractNurseryService
.
Constructor and Description |
---|
TransactionFilterService() |
Modifier and Type | Method and Description |
---|---|
void |
afterCreate(LiveEntry pLiveEntry)
Called by the API just after a
LiveEntry is created in the database. |
void |
afterDelete(LiveEntry pLiveEntry)
Called by the API just after a
LiveEntry is deleted in the database. |
void |
afterUpdate(LiveEntry pLiveEntry)
Called by the API just after a
LiveEntry is updated in the database. |
void |
beforeCreate(MutableLiveEntry pLiveEntry)
Called by the API just before a
LiveEntry is created in the database. |
void |
beforeDelete(MutableLiveEntry pLiveEntry)
Called by the API just before a
LiveEntry is deleted from the database. |
void |
beforeUpdate(MutableLiveEntry pLiveEntry)
Called by the API just before a
LiveEntry is updated in the database. |
protected void |
startService() |
protected void |
stopService() |
doStartService, doStopService, stopIdleService
assertServiceRunning, getServiceDescription, getServiceMessage, getServiceState, isServiceEnabled, isServiceFailed, isServiceIdle, isServiceRunning, isServiceShutdownFailed, isServiceStopped, setServiceDescription, setServiceEnabled, start, stop, validateIsTrue, validateNotNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isServiceRunning
protected void startService() throws Exception
startService
in class neo.nursery.AbstractNurseryService
Exception
protected void stopService() throws Exception
stopService
in class neo.nursery.AbstractNurseryService
Exception
public void beforeCreate(MutableLiveEntry pLiveEntry)
TransactionFilter
LiveEntry
is created in the database.beforeCreate
in interface TransactionFilter
pLiveEntry
- the entry in question.public void beforeUpdate(MutableLiveEntry pLiveEntry)
TransactionFilter
LiveEntry
is updated in the database.beforeUpdate
in interface TransactionFilter
pLiveEntry
- the entry in question.public void beforeDelete(MutableLiveEntry pLiveEntry)
TransactionFilter
LiveEntry
is deleted from the database.beforeDelete
in interface TransactionFilter
pLiveEntry
- the entry in question.public void afterCreate(LiveEntry pLiveEntry) throws Exception
TransactionFilter
LiveEntry
is created in the database.afterCreate
in interface TransactionFilter
pLiveEntry
- the entry in question.Exception
- if the filter fails. The exception will not abort the database transactionpublic void afterUpdate(LiveEntry pLiveEntry) throws Exception
TransactionFilter
LiveEntry
is updated in the database.afterUpdate
in interface TransactionFilter
pLiveEntry
- the entry in question.Exception
- if the filter fails. The exception will not abort the database transactionpublic void afterDelete(LiveEntry pLiveEntry) throws Exception
TransactionFilter
LiveEntry
is deleted in the database.afterDelete
in interface TransactionFilter
pLiveEntry
- the entry in question.Exception
- if the filter fails. The exception will not abort the database transaction© 1998- 2016 Escenic
Contact Escenic Support for bug submission or feature requests. For further API reference and developer documentation, see Technet. The Technet documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Escenic A/S, Sommerrogt. 13-15 Solli, 0255 Oslo, Norway.