public class AddNamedOperationHandler extends Object implements OperationHandler<AddNamedOperation>
Constructor and Description |
---|
AddNamedOperationHandler() |
AddNamedOperationHandler(NamedOperationCache cache) |
Modifier and Type | Method and Description |
---|---|
Void |
doOperation(AddNamedOperation operation,
Context context,
Store store)
Adds a NamedOperation to a cache which must be specified in the operation declarations file.
|
public AddNamedOperationHandler()
public AddNamedOperationHandler(NamedOperationCache cache)
public Void doOperation(AddNamedOperation operation, Context context, Store store) throws OperationException
doOperation
in interface OperationHandler<AddNamedOperation>
operation
- the Operation
to be executedcontext
- the operation chain context, containing the user who executed the operationstore
- the Store
the operation should be run onOperationException
- if the operation on the cache failsCopyright © 2022. All rights reserved.