public final class SuggestSubmitDAO extends Object implements ISuggestSubmitDAO
| Constructor and Description |
|---|
SuggestSubmitDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the suggest submit whose identifier is specified in parameter
|
int |
insert(SuggestSubmit suggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
SuggestSubmit |
load(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the suggestSubmit from the table
|
int |
maxOrderSuggestSubmit(int nIdSuggest,
boolean bListPinned,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Calculate the new max order in a list
|
int |
selectCountByFilter(SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the number of all the suggestSubmit who verify the filter
|
List<Integer> |
selectIdListByFilter(SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the suggestSubmit who verify the filter and returns them in a list
|
List<SuggestSubmit> |
selectListByFilter(SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the suggestSubmit who verify the filter and returns them in a list
|
void |
store(SuggestSubmit suggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the the suggestSubmit in the table
|
void |
storeSuggestSubmitOrder(int nNewOrder,
int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Modify the order of a suggestsubmit
|
public int insert(SuggestSubmit suggestSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ISuggestSubmitDAOsuggestSubmit - instance of the Suggest Submit object to insertplugin - the pluginpublic SuggestSubmit load(int nIdSuggestSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ISuggestSubmitDAOnIdSuggestSubmit - The identifier of the formResponseplugin - the pluginpublic void delete(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ISuggestSubmitDAOnIdSuggestSubmit - The identifier of the suggest submitplugin - the pluginpublic void store(SuggestSubmit suggestSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ISuggestSubmitDAOsuggestSubmit - instance of the suggestSubmit object to updateplugin - the pluginpublic List<SuggestSubmit> selectListByFilter(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByFilter in interface ISuggestSubmitDAOfilter - the filterplugin - the pluginpublic List<Integer> selectIdListByFilter(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdListByFilter in interface ISuggestSubmitDAOfilter - the filterplugin - the pluginpublic int selectCountByFilter(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCountByFilter in interface ISuggestSubmitDAOfilter - the filterplugin - the pluginpublic void storeSuggestSubmitOrder(int nNewOrder,
int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeSuggestSubmitOrder in interface ISuggestSubmitDAOnNewOrder - The order numbernId - The Suggestsubmit identifierplugin - The pluginpublic int maxOrderSuggestSubmit(int nIdSuggest,
boolean bListPinned,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
maxOrderSuggestSubmit in interface ISuggestSubmitDAOnIdSuggest - the id of the suggestplugin - The pluginCopyright © 2018 City of Paris. All rights reserved.