java.lang.Object
com.aquima.interactions.framework.handler.resource.ResourceHandler
All Implemented Interfaces:
IActionHandler

public class ResourceHandler extends Object implements IActionHandler
This action handler is used to read a resource from the resource manager using the current application context.
Since:
6.0
Author:
O. Kerpershoek
  • Field Details

  • Constructor Details

    • ResourceHandler

      public ResourceHandler()
  • Method Details

    • handle

      public IActionResult handle(IActionContext context) throws 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 interface IActionHandler
      Parameters:
      context - The portal context of the current session.
      Returns:
      The result of the handle method, may be null.
      Throws:
      Exception - When an unexpected exception occurs.
    • 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 interface IActionHandler
      Returns:
      boolean indicating if the handler does not modify any profile data.