Class GetMessageHandler

  • All Implemented Interfaces:
    IActionHandler

    public class GetMessageHandler
    extends Object
    implements IActionHandler
    Action handler that retrieves a message for the specified as parameter.
    Since:
    5.0
    Author:
    Jon van Leuven
    • Field Detail

      • PARAM_MESSAGE_KEY

        public static final String PARAM_MESSAGE_KEY
        This member defines the key of parameter specifying the message whose text should be retrieved.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetMessageHandler

        public GetMessageHandler()
    • Method Detail

      • handle

        public IActionResult handle​(IActionContext context)
                             throws PortalException
        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:
        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 interface IActionHandler
        Returns:
        boolean indicating if the handler does not modify any profile data.