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,Serializable
public class RatingExtenderConfig
extends fr.paris.lutece.plugins.extend.business.extender.config.ExtenderConfig
RatingExtenderConfig
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintThis number of days before one can vote again.intbooleanbooleanbooleanbooleanbooleanChecks if it is an unlimited vote system.voidsetDateEnd(Timestamp dateEnd) voidsetDateStart(Timestamp dateStart) voidsetDeleteVote(boolean bDeleteVote) voidsetIdMailingList(int nIdMailingList) voidsetLimitedConnectedUser(boolean bLimitedConnectedUser) voidsetLimitVote(boolean bLimitVote) voidsetNbDaysToVote(int nNbDaysToVote) This number of days before one can vote again.voidsetNbVotePerUser(int nNbVotePerUser) voidsetRatingType(String strRatingType) voidsetUniqueVote(boolean bUniqueVote) Methods inherited from class fr.paris.lutece.plugins.extend.business.extender.config.ExtenderConfig
getIdExtender, setIdExtender
-
Constructor Details
-
RatingExtenderConfig
public RatingExtenderConfig()
-
-
Method Details
-
getIdMailingList
public int getIdMailingList()- Returns:
- the nIdMailingList
-
setIdMailingList
public void setIdMailingList(int nIdMailingList) - Parameters:
nIdMailingList- the nIdMailingList to set
-
getRatingType
- Returns:
- the strRatingType
-
setRatingType
- Parameters:
_strRatingType- the _strRatingType 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
-
getNbVotePerUser
public int getNbVotePerUser()- Returns:
- the _nNbVotePerUser
-
setNbVotePerUser
public void setNbVotePerUser(int nNbVotePerUser) - Parameters:
nNbVotePerUser- the _nNbVotePerUser to set
-
isLimitVote
public boolean isLimitVote()- Returns:
- the _bLimitVote
-
setLimitVote
public void setLimitVote(boolean bLimitVote) - Parameters:
bLimitVote- the _bLimitVote to set
-
isLimitedConnectedUser
public boolean isLimitedConnectedUser()- Returns:
- the _bLimitedConnectedUser
-
setLimitedConnectedUser
public void setLimitedConnectedUser(boolean bLimitedConnectedUser) - Parameters:
bLimitedConnectedUser- the _bLimitedConnectedUser to set
-
isDeleteVote
public boolean isDeleteVote()- Returns:
- the _bDeleteVote
-
setDeleteVote
public void setDeleteVote(boolean bDeleteVote) - Parameters:
bDeleteVote- the _bDeleteVote to set
-
getDateStart
- Returns:
- the _dateStart
-
setDateStart
- Parameters:
dateStart- the _dateStart to set
-
getDateEnd
- Returns:
- the _dateEnd
-
setDateEnd
- Parameters:
dateEnd- the _dateEnd to set
-
getDateEndString
- Returns:
- the _dateEnd
-
getDateStartString
- Returns:
- the _dateStart
-