Interface IFormResponseDAO
-
- All Known Implementing Classes:
FormResponseDAO
public interface IFormResponseDAOIFormResponseDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove all the formResponse linked to a given Formvoidinsert(FormResponse formResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.FormResponseload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<FormResponse>selectAllCompletedFormResponseByUser(java.lang.String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the FormResponse objects and returns them as a listjava.util.List<java.lang.Integer>selectAllFormResponsesId(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the primary keys of all the FormResponse objects and returns them as a listjava.util.List<FormResponse>selectFormResponseByAdmin(java.lang.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 listjava.util.List<FormResponse>selectFormResponseByPrimaryKeyList(java.util.List<java.lang.Integer> listIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all formResponses Objects for a given list of formResponses identifiersjava.util.List<FormResponse>selectFormResponseByRole(java.util.List<java.lang.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 listjava.util.List<FormResponse>selectFormResponseByUser(java.lang.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 listjava.util.List<FormResponse>selectFormResponseList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the FormResponse objects and returns them as a listjava.util.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 listvoidstore(FormResponse formResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
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 insertplugin- 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 FormResponseplugin- 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 deleteplugin- 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 FormResponseplugin- the Plugin- Returns:
- The instance of the FormResponse
-
selectFormResponseList
java.util.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
java.util.List<java.lang.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
java.util.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 formplugin- the Plugin- Returns:
- The list which contains the data of all the FormResponse objects
-
selectFormResponseByUser
java.util.List<FormResponse> selectFormResponseByUser(java.lang.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 guidnIdForm- the form id keyplugin- the Plugin- Returns:
- The list which contains the data of all the FormResponse objects
-
selectFormResponseByAdmin
java.util.List<FormResponse> selectFormResponseByAdmin(java.lang.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 idnIdForm- the form id keyplugin- the Plugin- Returns:
- The list which contains the data of all the FormResponse objects
-
selectAllCompletedFormResponseByUser
java.util.List<FormResponse> selectAllCompletedFormResponseByUser(java.lang.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 guidplugin- the Plugin- Returns:
- The list which contains the data of all the FormResponse objects
-
selectFormResponseByRole
java.util.List<FormResponse> selectFormResponseByRole(java.util.List<java.lang.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 FOplugin- the Plugin- Returns:
- The list which contains the data of all the FormResponse objects
-
selectFormResponseByPrimaryKeyList
java.util.List<FormResponse> selectFormResponseByPrimaryKeyList(java.util.List<java.lang.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 identifiersplugin- 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 Identifierplugin- the Plugin
-
-