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.ExtenderConfigRatingExtenderConfig
-
-
Constructor Summary
Constructors Constructor Description RatingExtenderConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.TimestampgetDateEnd()java.lang.StringgetDateEndString()java.sql.TimestampgetDateStart()java.lang.StringgetDateStartString()intgetIdMailingList()intgetNbDaysToVote()This number of days before one can vote again.intgetNbVotePerUser()java.lang.StringgetRatingType()booleanisDeleteVote()booleanisLimitedConnectedUser()booleanisLimitVote()booleanisUniqueVote()booleanisUnlimitedVote()Checks if it is an unlimited vote system.voidsetDateEnd(java.sql.Timestamp dateEnd)voidsetDateStart(java.sql.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(java.lang.String strRatingType)voidsetUniqueVote(boolean bUniqueVote)
-
-
-
Method Detail
-
getIdMailingList
public int getIdMailingList()
- Returns:
- the nIdMailingList
-
setIdMailingList
public void setIdMailingList(int nIdMailingList)
- Parameters:
nIdMailingList- the nIdMailingList to set
-
getRatingType
public java.lang.String getRatingType()
- Returns:
- the strRatingType
-
setRatingType
public void setRatingType(java.lang.String strRatingType)
- 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
public java.sql.Timestamp getDateStart()
- Returns:
- the _dateStart
-
setDateStart
public void setDateStart(java.sql.Timestamp dateStart)
- Parameters:
dateStart- the _dateStart to set
-
getDateEnd
public java.sql.Timestamp getDateEnd()
- Returns:
- the _dateEnd
-
setDateEnd
public void setDateEnd(java.sql.Timestamp dateEnd)
- Parameters:
dateEnd- the _dateEnd to set
-
getDateEndString
public java.lang.String getDateEndString()
- Returns:
- the _dateEnd
-
getDateStartString
public java.lang.String getDateStartString()
- Returns:
- the _dateStart
-
-