All Implemented Interfaces:
IEntryTypeService

public abstract class AbstractEntryTypeFile extends AbstractEntryTypeUpload
Abstract entries of type files. This abstract entry type extends the abstract entry type upload.
  • Field Details

  • Constructor Details

    • AbstractEntryTypeFile

      public AbstractEntryTypeFile()
  • Method Details

    • getAsynchronousUploadHandler

      public abstract AbstractGenAttUploadHandler getAsynchronousUploadHandler()
      Get the asynchronous upload handler to use for entries of this type
      Specified by:
      getAsynchronousUploadHandler in class AbstractEntryTypeUpload
      Returns:
      The asynchronous upload handler to use for entries of this type
    • getResponseData

      public GenericAttributeError getResponseData(Entry entry, javax.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