public interface PostTransactionFilter
PostTransactionFilter instances must be thread-safe, and should not store any data in any instance variables when processing, as it is likely that several threads will be invoking the same filter several times.
Modifier and Type | Method and Description |
---|---|
void |
doPostCreate(IOObject pObject)
Called by the API just after an object is created in the database.
|
void |
doPostDelete(IOObject pObject)
Called by the API just after an object is removed from the database.
|
void |
doPostStagedDelete(IOObject pObject)
Called by the API just after a staged variant has been deleted.
|
void |
doPostStagedUpdate(IOObject pObject)
Called by the API just after an object is updated in staged mode.
|
void |
doPostUpdate(IOObject pObject)
Called by the API just after an object is updated.
|
boolean |
isEnabled()
Return wether or not a filter is to be executed.
|
void doPostCreate(IOObject pObject) throws FilterException
pObject
- the object in question, like the Article
.FilterException
- A checked exception that all errors should be wrapped in.void doPostDelete(IOObject pObject) throws FilterException
pObject
- the object in question, like the Article
.FilterException
- A checked exception that all errors should be wrapped in.void doPostUpdate(IOObject pObject) throws FilterException
pObject
- the object in question, like the Article
.FilterException
- A checked exception that all errors should be wrapped in.void doPostStagedUpdate(IOObject pObject) throws FilterException
pObject
- the object in question, like the Article
.FilterException
- A checked exception that all errors should be wrapped in.void doPostStagedDelete(IOObject pObject) throws FilterException
pObject
- the object in question, like the Article
.FilterException
- A checked exception that all errors should be wrapped in.boolean isEnabled()
© 1998- 2018 Stibo DX