public class VoteTypeDAO extends Object implements IVoteTypeDAO
| Constructor and Description |
|---|
VoteTypeDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllAssociatedVoteButtons(int nIdVoteType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all associations between vote type and vote buttons
|
void |
insertVoteButtonAssociated(int nIdVoteType,
int nIdVoteButton,
int nNumero,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert an association between vote type and vote button
|
VoteType |
load(int idKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the vote type from the table
|
List<VoteType> |
select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all vote type returns them in a list
|
public VoteType load(int idKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IVoteTypeDAOidKey - The identifier of the vote typeplugin - the pluginpublic List<VoteType> select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
select in interface IVoteTypeDAOplugin - the pluginpublic void deleteAllAssociatedVoteButtons(int nIdVoteType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdVoteType - The identifier of the vote typeplugin - the pluginpublic void insertVoteButtonAssociated(int nIdVoteType,
int nIdVoteButton,
int nNumero,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdVoteType - The identifier of the vote TypenIdVoteButton - The identifier of the vote buttonnNumero - the numeroplugin - the pluginCopyright © 2018 City of Paris. All rights reserved.