Interface IOptionalQuestionIndexationDAO
- All Known Implementing Classes:
OptionalQuestionIndexationDAO
public interface IOptionalQuestionIndexationDAO
IOptionalQuestionIndexationDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(OptionalQuestionIndexation optionalQuestionIndexation, 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 tableloadByQuestionId(int nQuestionId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectIdOptionalQuestionIndexationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the optionalQuestionIndexation objects and returns them as a listselectOptionalQuestionIndexationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the optionalQuestionIndexation objects and returns them as a listselectOptionalQuestionIndexationsListByFormId(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the optionalQuestionIndexation objects by form id and returns them as a listvoidstore(OptionalQuestionIndexation optionalQuestionIndexation, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Method Details
-
insert
void insert(OptionalQuestionIndexation optionalQuestionIndexation, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Parameters:
optionalQuestionIndexation- instance of the OptionalQuestionIndexation object to insertplugin- the Plugin
-
store
void store(OptionalQuestionIndexation optionalQuestionIndexation, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Parameters:
optionalQuestionIndexation- the reference of the OptionalQuestionIndexationplugin- 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 OptionalQuestionIndexation to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the optionalQuestionIndexationplugin- the Plugin- Returns:
- The instance of the optionalQuestionIndexation
-
loadByQuestionId
OptionalQuestionIndexation loadByQuestionId(int nQuestionId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the table- Parameters:
nQuestionId- The identifier of the questionplugin- the Plugin- Returns:
- The instance of the optionalQuestionIndexation
-
selectOptionalQuestionIndexationsList
List<OptionalQuestionIndexation> selectOptionalQuestionIndexationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the optionalQuestionIndexation objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the optionalQuestionIndexation objects
-
selectOptionalQuestionIndexationsListByFormId
List<OptionalQuestionIndexation> selectOptionalQuestionIndexationsListByFormId(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the optionalQuestionIndexation objects by form id and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the optionalQuestionIndexation objects
-
selectIdOptionalQuestionIndexationsList
List<Integer> selectIdOptionalQuestionIndexationsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the optionalQuestionIndexation objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the optionalQuestionIndexation objects
-