public interface PluggableAction
Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURATION_ERROR
constant for the error message (in case of a configuration error)
|
static String |
INCONSISTENT_ERROR
constant for the error message (in case of a configuration error).
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Called by the view when the pluggable action is no longer used.
|
void |
init(PluggableActionContext context)
Initialize the pluggable action
|
boolean |
processAction(PluggableActionRequest request,
PluggableActionResponse response)
Process the implemented pluggable action.
|
static final String INCONSISTENT_ERROR
static final String CONFIGURATION_ERROR
void init(PluggableActionContext context) throws PluggableActionException
context
- context of the pluggable actionPluggableActionException
- when the action cannot be initialized
and shall not be processedboolean processAction(PluggableActionRequest request, PluggableActionResponse response) throws PluggableActionException
request
- data used to process the data. the data may be coming from
the origination view or may be modified by previous pluggable
actionsPluggableActionException
- when the processing failed due to an
unexpected errorvoid destroy()
Copyright © 2014 Gentics Software GmbH. All Rights Reserved.