fr.paris.lutece.plugins.extend.modules.rating.business.config
Class RatingExtenderConfig
java.lang.Object
fr.paris.lutece.plugins.extend.business.extender.config.ExtenderConfig
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
| 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 |
RatingExtenderConfig
public RatingExtenderConfig()
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.