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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(OptionalStatusIndexation optionalStatusIndexation, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableloadByStatusId(int nStatusId, fr.paris.lutece.portal.service.plugin.Plugin plugin) 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 listselectOptionalStatusIndexationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the optionalStatusIndexation objects and returns them as a listselectOptionalStatusIndexationsListByFormId(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin) 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 listfr.paris.lutece.util.ReferenceListselectOptionalStatusIndexationsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the optionalStatusIndexation objects and returns them as a referenceListvoidstore(OptionalStatusIndexation optionalStatusIndexation, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
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:
insertin interfaceIOptionalStatusIndexationDAO- Parameters:
optionalStatusIndexation- instance of the OptionalStatusIndexation object to insertplugin- 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:
loadin interfaceIOptionalStatusIndexationDAO- Parameters:
nKey- The identifier of the optionalStatusIndexationplugin- the Plugin- Returns:
- The instance of the optionalStatusIndexation
-
loadByStatusId
public OptionalStatusIndexation loadByStatusId(int nStatusId, fr.paris.lutece.portal.service.plugin.Plugin plugin) - Specified by:
loadByStatusIdin interfaceIOptionalStatusIndexationDAO
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIOptionalStatusIndexationDAO- Parameters:
nKey- The identifier of the OptionalStatusIndexation to deleteplugin- the Plugin
-
store
public void store(OptionalStatusIndexation optionalStatusIndexation, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Specified by:
storein interfaceIOptionalStatusIndexationDAO- Parameters:
optionalStatusIndexation- the reference of the OptionalStatusIndexationplugin- 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:
selectOptionalStatusIndexationsListin interfaceIOptionalStatusIndexationDAO- 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:
selectIdOptionalStatusIndexationsListin interfaceIOptionalStatusIndexationDAO- Parameters:
plugin- the PluginmapFilterCriteria- contains search bar names/values inputsstrColumnToOrder- 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:
selectOptionalStatusIndexationsReferenceListin interfaceIOptionalStatusIndexationDAO- 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:
selectOptionalStatusIndexationsListByIdsin interfaceIOptionalStatusIndexationDAOlistIds- 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:
selectOptionalStatusIndexationsListByFormIdin interfaceIOptionalStatusIndexationDAO
-