Class AbstractEntryTypeSelectOrder

All Implemented Interfaces:
IEntryTypeService

public abstract class AbstractEntryTypeSelectOrder extends AbstractEntryTypeChoice
Abstract entry type for selects
  • Constructor Details

    • AbstractEntryTypeSelectOrder

      public AbstractEntryTypeSelectOrder()
  • Method Details

    • getRequestData

      public String getRequestData(Entry entry, jakarta.servlet.http.HttpServletRequest request, Locale locale)
      Get the request data
      Specified by:
      getRequestData in interface IEntryTypeService
      Overrides:
      getRequestData in class EntryTypeService
      Parameters:
      entry - The entry
      request - HttpRequest
      locale - the locale
      Returns:
      null if all data required are in the request else the url of jsp error
    • getRequestData

      public String getRequestData(Entry entry, jakarta.servlet.http.HttpServletRequest request, Locale locale, String errorReturnUrl)
      Get the request data
      Specified by:
      getRequestData in interface IEntryTypeService
      Overrides:
      getRequestData in class EntryTypeService
      Parameters:
      entry - The entry
      request - HttpRequest
      locale - the locale
      errorReturnUrl - url to go to after displaying a message when an error occurs
      Returns:
      null if all data required are in the request else the url of jsp error
    • getResponseData

      public GenericAttributeError getResponseData(Entry entry, jakarta.servlet.http.HttpServletRequest request, List<Response> listResponse, Locale locale)
      Generate the list of responses associated with the given entry from the request, and saved it into the Entry object.
      Specified by:
      getResponseData in interface IEntryTypeService
      Overrides:
      getResponseData in class EntryTypeService
      Parameters:
      entry - The entry
      request - HttpRequest
      listResponse - the list of response associate to the entry. Newly created response will be inserted in this list.
      locale - the locale
      Returns:
      a GenericAttributeError object if there is an error in the response