fr.paris.lutece.plugins.extend.modules.rating.business.type
Class VoteTypeDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.modules.rating.business.type.VoteTypeDAO
All Implemented Interfaces:
IVoteTypeDAO

public class VoteTypeDAO
extends java.lang.Object
implements IVoteTypeDAO

VoteTypeDAO


Constructor Summary
VoteTypeDAO()
           
 
Method Summary
 VoteType load(int nIdVoteType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load.
 java.util.List<VoteType> loadAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load all.
 void store(VoteType voteType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update vote type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoteTypeDAO

public VoteTypeDAO()
Method Detail

load

public VoteType load(int nIdVoteType,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load.

Specified by:
load in interface IVoteTypeDAO
Parameters:
nIdVoteType - the id
plugin - the plugin
Returns:
the vote type

loadAll

public java.util.List<VoteType> loadAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all.

Specified by:
loadAll in interface IVoteTypeDAO
Parameters:
plugin - the plugin
Returns:
the list

store

public void store(VoteType voteType,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update vote type.

Specified by:
store in interface IVoteTypeDAO
Parameters:
voteType - the vote type
plugin - the plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.