public interface IVoteDAO
| Modifier and Type | Method and Description |
|---|---|
void |
insert(Vote vote,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
int |
selectCountVoteByIdSuggestSubmit(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the number of vote for a lutece user on suggestSubmit
|
int |
selectCountVoteByIdSuggestSubmitAndLuteceUserKey(int nIdSuggestSubmit,
String strLuteceUserKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the number of vote for a lutece user on suggestSubmit
|
List<Vote> |
selectVoteByIdSuggestSubmit(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all vote associate to the suggest submit
|
void insert(Vote vote, fr.paris.lutece.portal.service.plugin.Plugin plugin)
vote - instance of the Vote object to insertplugin - the pluginList<Vote> selectVoteByIdSuggestSubmit(int nIdSuggestSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSuggestSubmit - the suggestsubmit idplugin - the pluginint selectCountVoteByIdSuggestSubmitAndLuteceUserKey(int nIdSuggestSubmit,
String strLuteceUserKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSuggestSubmit - the id of the suggest submitstrLuteceUserKey - the LuteceUserKeyplugin - the pluginint selectCountVoteByIdSuggestSubmit(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSuggestSubmit - the id of the suggest submitplugin - the pluginCopyright © 2018 City of Paris. All rights reserved.