Class DefaultsAttachmentActionHandler

  • All Implemented Interfaces:

    public class DefaultsAttachmentActionHandler
    extends BaseActionHandler
    This ActionHandler is invoked when opening a Attachment window. It is in charge of computing default values for the parameters in the window.
    • Constructor Detail

      • DefaultsAttachmentActionHandler

        public DefaultsAttachmentActionHandler()
    • Method Detail

      • execute

        protected final org.codehaus.jettison.json.JSONObject execute​(Map<String,​Object> parameters,
                                                                      String content)
        Description copied from class: BaseActionHandler
        Needs to be implemented by a subclass.
        Specified by:
        execute in class BaseActionHandler
        parameters - the parameters obtained from the request. Note that the request object and the session object are also present in this map, resp. as the constants KernelConstants.HTTP_REQUEST and KernelConstants.HTTP_SESSION.
        content - the request content (if any)
        the return should be a JSONObject, this is passed back to the caller on the client.