Interface IFormResponseDAO

All Known Implementing Classes:
FormResponseDAO

public interface IFormResponseDAO
IFormResponseDAO Interface
  • Method Details

    • insert

      void insert(FormResponse formResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Parameters:
      formResponse - instance of the formResponse object to insert
      plugin - the Plugin
    • store

      void store(FormResponse formResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Parameters:
      formResponse - the reference of the FormResponse
      plugin - the Plugin
    • delete

      void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Parameters:
      nKey - The identifier of the FormResponse to delete
      plugin - the Plugin
    • load

      FormResponse load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      nKey - The identifier of the FormResponse
      plugin - the Plugin
      Returns:
      The instance of the FormResponse
    • selectFormResponseList

      List<FormResponse> selectFormResponseList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the FormResponse objects and returns them as a list
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the FormResponse objects
    • selectAllFormResponsesId

      List<Integer> selectAllFormResponsesId(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the primary keys of all the FormResponse objects and returns them as a list
      Parameters:
      plugin -
      Returns:
      the list of the primary keys of all the form responses
    • selectFormResponseListUncompleteByIdForm

      List<FormResponse> selectFormResponseListUncompleteByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the FormResponse objects and returns them as a list
      Parameters:
      nIdForm - the id of the form
      plugin - the Plugin
      Returns:
      The list which contains the data of all the FormResponse objects
    • selectFormResponseByUser

      List<FormResponse> selectFormResponseByUser(String strGuid, int nIdForm, boolean fromBackup, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the FormResponse objects and returns them as a list
      Parameters:
      strGuid - the given guid
      nIdForm - the form id key
      plugin - the Plugin
      Returns:
      The list which contains the data of all the FormResponse objects
    • selectFormResponseByAdmin

      List<FormResponse> selectFormResponseByAdmin(String strAdmin, int nIdForm, boolean fromBackup, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the FormResponse objects and returns them as a list
      Parameters:
      strGuid - the given admin id
      nIdForm - the form id key
      plugin - the Plugin
      Returns:
      The list which contains the data of all the FormResponse objects
    • selectAllCompletedFormResponseByUser

      List<FormResponse> selectAllCompletedFormResponseByUser(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the FormResponse objects and returns them as a list
      Parameters:
      strGuid - the given guid
      plugin - the Plugin
      Returns:
      The list which contains the data of all the FormResponse objects
    • selectFormResponseByRole

      List<FormResponse> selectFormResponseByRole(List<String> listRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the FormResponse objects by front office role and returns them as a list
      Parameters:
      listRole - the given role FO
      plugin - the Plugin
      Returns:
      The list which contains the data of all the FormResponse objects
    • selectFormResponseByPrimaryKeyList

      List<FormResponse> selectFormResponseByPrimaryKeyList(List<Integer> listIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all formResponses Objects for a given list of formResponses identifiers
      Parameters:
      listIdFormResponse - the list of formResponses identifiers
      plugin - the Plugin
      Returns:
      The list which contains the data of all the FormResponse objects
    • deleteByForm

      void deleteByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove all the formResponse linked to a given Form
      Parameters:
      nIdForm - The form Identifier
      plugin - the Plugin
    • getFormResponseByFilter

      List<FormResponse> getFormResponseByFilter(FormResponseFilter formResponseFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the formResponse from filter
      Parameters:
      formResponseFilter - the formResponseFilter
      plugin - the Plugin
      Returns:
      the formResponse objects