Class OptionalStatusIndexationDAO

java.lang.Object
fr.paris.lutece.plugins.elasticdata.modules.forms.business.AbstractFilterDao
fr.paris.lutece.plugins.elasticdata.modules.forms.business.OptionalStatusIndexationDAO
All Implemented Interfaces:
IOptionalStatusIndexationDAO

public final class OptionalStatusIndexationDAO extends AbstractFilterDao implements IOptionalStatusIndexationDAO
This class provides Data Access methods for OptionalStatusIndexation objects
  • Constructor Details

    • OptionalStatusIndexationDAO

      public OptionalStatusIndexationDAO()
      Constructor
  • Method Details

    • insert

      public void insert(OptionalStatusIndexation optionalStatusIndexation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Specified by:
      insert in interface IOptionalStatusIndexationDAO
      Parameters:
      optionalStatusIndexation - instance of the OptionalStatusIndexation object to insert
      plugin - the Plugin
    • load

      public Optional<OptionalStatusIndexation> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Specified by:
      load in interface IOptionalStatusIndexationDAO
      Parameters:
      nKey - The identifier of the optionalStatusIndexation
      plugin - the Plugin
      Returns:
      The instance of the optionalStatusIndexation
    • loadByStatusId

      public OptionalStatusIndexation loadByStatusId(int nStatusId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      loadByStatusId in interface IOptionalStatusIndexationDAO
    • delete

      public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Specified by:
      delete in interface IOptionalStatusIndexationDAO
      Parameters:
      nKey - The identifier of the OptionalStatusIndexation to delete
      plugin - the Plugin
    • store

      public void store(OptionalStatusIndexation optionalStatusIndexation, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface IOptionalStatusIndexationDAO
      Parameters:
      optionalStatusIndexation - the reference of the OptionalStatusIndexation
      plugin - the Plugin
    • selectOptionalStatusIndexationsList

      public List<OptionalStatusIndexation> selectOptionalStatusIndexationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the optionalStatusIndexation objects and returns them as a list
      Specified by:
      selectOptionalStatusIndexationsList in interface IOptionalStatusIndexationDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the optionalStatusIndexation objects
    • selectIdOptionalStatusIndexationsList

      public List<Integer> selectIdOptionalStatusIndexationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin, Map<String,String> mapFilterCriteria, String strColumnToOrder, String strSortMode)
      Load the id of all the optionalStatusIndexation objects and returns them as a list
      Specified by:
      selectIdOptionalStatusIndexationsList in interface IOptionalStatusIndexationDAO
      Parameters:
      plugin - the Plugin
      mapFilterCriteria - contains search bar names/values inputs
      strColumnToOrder - contains the column name to use for orderBy statement in case of sorting request (must be null)
      strSortMode - contains the sortMode in case of sorting request : ASC or DESC (must be null)
      Returns:
      The list which contains the id of all the project objects fitting with the seach criteria.
    • selectOptionalStatusIndexationsReferenceList

      public fr.paris.lutece.util.ReferenceList selectOptionalStatusIndexationsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the optionalStatusIndexation objects and returns them as a referenceList
      Specified by:
      selectOptionalStatusIndexationsReferenceList in interface IOptionalStatusIndexationDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The referenceList which contains the data of all the optionalStatusIndexation objects
    • selectOptionalStatusIndexationsListByIds

      public List<OptionalStatusIndexation> selectOptionalStatusIndexationsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      Specified by:
      selectOptionalStatusIndexationsListByIds in interface IOptionalStatusIndexationDAO
      listIds - liste of ids
      Returns:
      The list which contains the data of all the avant objects
    • selectOptionalStatusIndexationsListByFormId

      public List<OptionalStatusIndexation> selectOptionalStatusIndexationsListByFormId(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      selectOptionalStatusIndexationsListByFormId in interface IOptionalStatusIndexationDAO