| Constructor and Description |
|---|
VoteDAO() |
| 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
|
public void insert(Vote vote, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Vote> selectVoteByIdSuggestSubmit(int nIdSuggestSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectVoteByIdSuggestSubmit in interface IVoteDAOnIdSuggestSubmit - the SuggestSubmit idplugin - the pluginpublic int selectCountVoteByIdSuggestSubmitAndLuteceUserKey(int nIdSuggestSubmit,
String strLuteceUserKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCountVoteByIdSuggestSubmitAndLuteceUserKey in interface IVoteDAOnIdSuggestSubmit - the id of the suggest submitstrLuteceUserKey - the LuteceUserKeyplugin - the pluginpublic int selectCountVoteByIdSuggestSubmit(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCountVoteByIdSuggestSubmit in interface IVoteDAOnIdSuggestSubmit - the id of the suggest submitplugin - the pluginCopyright © 2018 City of Paris. All rights reserved.