Class ExecuteExposedTreeActionHandler
- java.lang.Object
-
- com.aquima.interactions.framework.handler.dtree.ExecuteExposedTreeActionHandler
-
- All Implemented Interfaces:
IActionHandler
public class ExecuteExposedTreeActionHandler extends Object implements IActionHandler
-
-
Constructor Summary
Constructors Constructor Description ExecuteExposedTreeActionHandler(String name, DTreeAnswer treeAnswer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IActionResult
handle(IActionContext context)
This method will be called from the portal session to handle an action request from the client.boolean
isReadOnly()
This method indicates if the action handler does not modify any profile data.
-
-
-
Constructor Detail
-
ExecuteExposedTreeActionHandler
public ExecuteExposedTreeActionHandler(String name, DTreeAnswer treeAnswer)
-
-
Method Detail
-
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.
-
handle
public IActionResult handle(IActionContext context) throws PortalException, Exception
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.Exception
- When an unexpected exception occurs.
-
-