Class GetMessageHandler
java.lang.Object
com.aquima.interactions.framework.handler.messages.GetMessageHandler
- All Implemented Interfaces:
IActionHandler
Action handler that retrieves a message for the specified as parameter.
- Since:
- 5.0
- Author:
- Jon van Leuven
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandle
(IActionContext context) This method will be called from the portal session to handle an action request from the client.boolean
This method indicates if the action handler does not modify any profile data.
-
Field Details
-
NAME
This member defines the default name for the action handler.- See Also:
-
PARAM_MESSAGE_KEY
This member defines the key of parameter specifying the message whose text should be retrieved.- See Also:
-
-
Constructor Details
-
GetMessageHandler
public GetMessageHandler()
-
-
Method Details
-
handle
Description copied from interface:IActionHandler
This method will be called from the portal session to handle an action request from the client. The method returns an Action result object which can be used by the client to act upon this result.- Specified by:
handle
in interfaceIActionHandler
- Parameters:
context
- The portal context of the current session.- Returns:
- The result of the handle method, may be null.
- Throws:
PortalException
- This exception may be thrown by the implementation to indicate a failure.
-
isReadOnly
public boolean isReadOnly()Description copied from interface:IActionHandler
This method indicates if the action handler does not modify any profile data.- Specified by:
isReadOnly
in interfaceIActionHandler
- Returns:
- boolean indicating if the handler does not modify any profile data.
-