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 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

      public String getRatingType()
      Returns:
      the strRatingType
    • setRatingType

      public void setRatingType(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 Timestamp getDateStart()
      Returns:
      the _dateStart
    • setDateStart

      public void setDateStart(Timestamp dateStart)
      Parameters:
      dateStart - the _dateStart to set
    • getDateEnd

      public Timestamp getDateEnd()
      Returns:
      the _dateEnd
    • setDateEnd

      public void setDateEnd(Timestamp dateEnd)
      Parameters:
      dateEnd - the _dateEnd to set
    • getDateEndString

      public String getDateEndString()
      Returns:
      the _dateEnd
    • getDateStartString

      public String getDateStartString()
      Returns:
      the _dateStart