Class AbstractEntryTypeFile

  • 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 Detail

      • ENTRY_TYPE_KEYNAME

        public static final java.lang.String ENTRY_TYPE_KEYNAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractEntryTypeFile

        public AbstractEntryTypeFile()
    • Method Detail

      • getResponseData

        public GenericAttributeError getResponseData​(Entry entry,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     java.util.List<Response> listResponse,
                                                     java.util.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