Class EnableOrDisableMultipleRecords

  • All Implemented Interfaces:
    ActionHandler

    @ApplicationScoped
    public class EnableOrDisableMultipleRecords
    extends BaseActionHandler
    Action handler which can enable/disable multiple records in one transaction.
    • Constructor Detail

      • EnableOrDisableMultipleRecords

        public EnableOrDisableMultipleRecords()
    • Method Detail

      • execute

        protected org.codehaus.jettison.json.JSONObject execute​(Map<String,​Object> parameters,
                                                                String data)
        Description copied from class: BaseActionHandler
        Needs to be implemented by a subclass.
        Specified by:
        execute in class BaseActionHandler
        Parameters:
        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.
        data - the request content (if any)
        Returns:
        the return should be a JSONObject, this is passed back to the caller on the client.