TransactionFilterService
as a replacement.public class TransactionFilterAdapter extends Object implements TransactionFilter
Constructor and Description |
---|
TransactionFilterAdapter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
doCreate(IOTransaction object)
Deprecated.
Simply ignore create operations.
|
void |
doDelete(IOTransaction object)
Deprecated.
Simply ignore delete operations.
|
void |
doStagedDelete(IOTransaction object)
Deprecated.
Simply ignore staged update operations.
|
void |
doStagedUpdate(IOTransaction object)
Deprecated.
Simply ignore staged update operations.
|
void |
doUpdate(IOTransaction object)
Deprecated.
Simply ignore update operations.
|
boolean |
getErrorsAreFatal()
Deprecated.
Return wether or not a FilterException should abort the create, delete or update operation.
|
boolean |
isEnabled()
Deprecated.
Return wether or not a filter is to be executed.
|
void |
setEnabled(boolean pEnabled)
Deprecated.
Set the enabled flag to the specified value.
|
void |
setErrorsAreFatal(boolean pErrorsAreFatal)
Deprecated.
Set the errorsAreFatal flag to the specified value.
|
public void doCreate(IOTransaction object) throws FilterException
doCreate
in interface TransactionFilter
object
- The object in question, for example an ArticleTransactionFilterException
- if the filter wants to signal that the create operation
should be aborted. The behaviour is configured via the errorsAreFatal property.public void doDelete(IOTransaction object) throws FilterException
doDelete
in interface TransactionFilter
object
- The object in question, for example an ArticleTransactionFilterException
- if the filter wants to signal that the create operation
should be aborted. The behaviour is configured via the errorsAreFatal property.public void doUpdate(IOTransaction object) throws FilterException
doUpdate
in interface TransactionFilter
object
- The object in question, for example an ArticleTransactionFilterException
- if the filter wants to signal that the create operation
should be aborted. The behaviour is configured via the errorsAreFatal property.public void doStagedUpdate(IOTransaction object) throws FilterException
doStagedUpdate
in interface TransactionFilter
object
- The object in question, for example an ArticleTransactionFilterException
- if the filter wants to signal that the create operation
should be aborted. The behaviour is configured via the errorsAreFatal property.public void doStagedDelete(IOTransaction object) throws FilterException
doStagedDelete
in interface TransactionFilter
object
- The object in question, for example an ArticleTransactionFilterException
- if the filter wants to signal that the delete operation
should be aborted. The behaviour is configured via the errorsAreFatal property.public void setEnabled(boolean pEnabled)
pEnabled
- The new enabled flagpublic boolean isEnabled()
TransactionFilter
isEnabled
in interface TransactionFilter
public void setErrorsAreFatal(boolean pErrorsAreFatal)
pErrorsAreFatal
- The new errorsAreFatal flagpublic boolean getErrorsAreFatal()
TransactionFilter
getErrorsAreFatal
in interface TransactionFilter
© 1998- 2018 Stibo DX