fr.paris.lutece.plugins.extend.modules.rating.business.config
Class RatingExtenderConfig

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.business.extender.config.ExtenderConfig
      extended by fr.paris.lutece.plugins.extend.modules.rating.business.config.RatingExtenderConfig
All Implemented Interfaces:
fr.paris.lutece.plugins.extend.business.extender.config.IExtenderConfig

public class RatingExtenderConfig
extends fr.paris.lutece.plugins.extend.business.extender.config.ExtenderConfig

CommentExtenderConfig


Constructor Summary
RatingExtenderConfig()
           
 
Method Summary
 int getIdMailingList()
           
 int getIdVoteType()
           
 int getNbDaysToVote()
          This number of days before one can vote again.
 boolean isUniqueVote()
           
 boolean isUnlimitedVote()
          Checks if it is an unlimited vote system.
 void setIdMailingList(int nIdMailingList)
           
 void setIdVoteType(int nIdVoteType)
           
 void setNbDaysToVote(int nNbDaysToVote)
          This number of days before one can vote again.
 void setUniqueVote(boolean bUniqueVote)
           
 
Methods inherited from class fr.paris.lutece.plugins.extend.business.extender.config.ExtenderConfig
getIdExtender, setIdExtender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingExtenderConfig

public RatingExtenderConfig()
Method Detail

getIdMailingList

public int getIdMailingList()
Returns:
the nIdMailingList

setIdMailingList

public void setIdMailingList(int nIdMailingList)
Parameters:
nIdMailingList - the nIdMailingList to set

getIdVoteType

public int getIdVoteType()
Returns:
the nIdVoteType

setIdVoteType

public void setIdVoteType(int nIdVoteType)
Parameters:
nIdVoteType - the nIdVoteType to set

isUniqueVote

public boolean isUniqueVote()
Returns:
the bUniqueVote

setUniqueVote

public void setUniqueVote(boolean bUniqueVote)
Parameters:
bUniqueVote - the bUniqueVote to set

getNbDaysToVote

public int getNbDaysToVote()
This number of days before one can vote again. This attribute is used only if the vote type is temporal (!= unique).

Returns:
the nNbDaysToVote

setNbDaysToVote

public void setNbDaysToVote(int nNbDaysToVote)
This number of days before one can vote again. This attribute is used only if the vote type is temporal (!= unique).
Set 0 if there are no limits.

Parameters:
nNbDaysToVote - the nNbDaysToVote to set

isUnlimitedVote

public boolean isUnlimitedVote()
Checks if it is an unlimited vote system. To enable this system, the extension must have the option "Temporal vote" and have 0 day as the number of day to vote.

Returns:
true, if is unlimited vote


Copyright © 2012 Mairie de Paris. All Rights Reserved.