public final class VoteHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(Vote vote,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of vote
|
static List<Vote> |
getListVoteByIdSuggestSubmit(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all vote associate to the suggest submit
|
static int |
getNumberVoteSuggestSubmit(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the number of vote for a lutece user on suggestSubmit
|
static int |
getUserNumberVoteOnSuggestSubmit(int nIdSuggestSubmit,
String strLuteceUserKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the number of vote for a lutece user on suggestSubmit
|
public static void create(Vote vote, fr.paris.lutece.portal.service.plugin.Plugin plugin)
vote - The instance of the Suggest which contains the informations to
storeplugin - the Pluginpublic static List<Vote> getListVoteByIdSuggestSubmit(int nIdSuggestSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSuggestSubmit - the id of the suggest submitplugin - the pluginpublic static int getUserNumberVoteOnSuggestSubmit(int nIdSuggestSubmit,
String strLuteceUserKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSuggestSubmit - the id of the suggest submitstrLuteceUserKey - the LuteceUserKeyplugin - the pluginpublic static int getNumberVoteSuggestSubmit(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSuggestSubmit - the id of the suggest submitplugin - the pluginCopyright © 2016 City of Paris. All rights reserved.