Class OptionalStatusIndexationDAO
java.lang.Object
fr.paris.lutece.plugins.elasticdata.modules.forms.business.OptionalStatusIndexationDAO
- All Implemented Interfaces:
IOptionalStatusIndexationDAO
@ApplicationScoped
public final class OptionalStatusIndexationDAO
extends Object
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) Load the data of the OptionalStatusIndexation associated to a workflow statusselectIdOptionalStatusIndexationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) 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) Load the data of all the optionalStatusIndexation objects of a given form and returns them as a listvoidstore(OptionalStatusIndexation optionalStatusIndexation, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
OptionalStatusIndexationDAO
public OptionalStatusIndexationDAO()
-
-
Method Details
-
insert
public void insert(OptionalStatusIndexation optionalStatusIndexation, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IOptionalStatusIndexationDAOInsert a new record in the table.- Specified by:
insertin interfaceIOptionalStatusIndexationDAO- Parameters:
optionalStatusIndexation- instance of the OptionalStatusIndexation object to insertplugin- the Plugin
-
load
Description copied from interface:IOptionalStatusIndexationDAOLoad 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) Description copied from interface:IOptionalStatusIndexationDAOLoad the data of the OptionalStatusIndexation associated to a workflow status- Specified by:
loadByStatusIdin interfaceIOptionalStatusIndexationDAO- Parameters:
nStatusId- The identifier of the workflow statusplugin- the Plugin- Returns:
- The instance of the OptionalStatusIndexation
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IOptionalStatusIndexationDAODelete 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) Description copied from interface:IOptionalStatusIndexationDAOUpdate 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) Description copied from interface:IOptionalStatusIndexationDAOLoad 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
-
selectOptionalStatusIndexationsListByFormId
public List<OptionalStatusIndexation> selectOptionalStatusIndexationsListByFormId(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IOptionalStatusIndexationDAOLoad the data of all the optionalStatusIndexation objects of a given form and returns them as a list- Specified by:
selectOptionalStatusIndexationsListByFormIdin interfaceIOptionalStatusIndexationDAO- Parameters:
nFormId- The identifier of the formplugin- 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) Description copied from interface:IOptionalStatusIndexationDAOLoad the id of all the optionalStatusIndexation objects and returns them as a list- Specified by:
selectIdOptionalStatusIndexationsListin interfaceIOptionalStatusIndexationDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the optionalStatusIndexation objects
-