Class Rating

  • All Implemented Interfaces:
    fr.paris.lutece.plugins.extend.service.extender.facade.IExtendableResourceResult
    Direct Known Subclasses:
    SimpleRating, StarRating, ThumbRating

    public abstract class Rating
    extends fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistory
    implements fr.paris.lutece.plugins.extend.service.extender.facade.IExtendableResourceResult
    Rating Class
    • Constructor Summary

      Constructors 
      Constructor Description
      Rating()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      int getIdRating()  
      int getRatingCount()
      /**
      java.lang.String getRatingType()
      Returns the RatingType
      float getRatingValue()
      Returns the RatingValue
      double getScoreValue()  
      abstract java.lang.String getTitle()
      Get tilte of the rating type
      fr.paris.lutece.portal.service.security.LuteceUser getUser()  
      void setHistory​(fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistory history)
      Set History properties
      void setIdRating​(int nIdRating)  
      void setRatingCount​(int nRatingCount)  
      void setRatingType​(java.lang.String strRatingType)
      Sets the RatingType
      void setRatingValue​(float fRatingValue)
      Sets the RatingValue
      void setScoreValue​(double scoreValue)  
      void setScoreValue​(float[] ratingValue)  
      void setUser​(fr.paris.lutece.portal.service.security.LuteceUser user)
      Set the Lutece User
      • Methods inherited from class fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistory

        getDateCreation, getExtendableResourceType, getExtenderType, getIdExtendableResource, getIdHistory, getIpAddress, getUserGuid, setDateCreation, setExtendableResourceType, setExtenderType, setIdExtendableResource, setIdHistory, setIpAddress, setUserGuid
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface fr.paris.lutece.plugins.extend.service.extender.facade.IExtendableResourceResult

        getExtendableResourceType, getIdExtendableResource
    • Constructor Detail

      • Rating

        public Rating()
    • Method Detail

      • getIdRating

        public int getIdRating()
        Returns:
        the nIdRating
      • setIdRating

        public void setIdRating​(int nIdRating)
        Parameters:
        nIdRating - the nIdRating to set
      • getRatingCount

        public int getRatingCount()
        /**
        Returns:
        the nRatingCount
      • setRatingCount

        public void setRatingCount​(int nRatingCount)
        Parameters:
        nRatingCount - the nRatingCount to set
      • getScoreValue

        public double getScoreValue()
        Returns:
        the dScoreValue
      • setScoreValue

        public void setScoreValue​(float[] ratingValue)
        Parameters:
        dScoreValue - the dScoreValue to set
      • setScoreValue

        public void setScoreValue​(double scoreValue)
        Parameters:
        dScoreValue - the dScoreValue to set
      • getRatingValue

        public float getRatingValue()
        Returns the RatingValue
        Returns:
        The RatingValue
      • setRatingValue

        public void setRatingValue​(float fRatingValue)
        Sets the RatingValue
        Parameters:
        dRatingValue - The RatingValue
      • getRatingType

        public java.lang.String getRatingType()
        Returns the RatingType
        Returns:
        The RatingType
      • setRatingType

        public void setRatingType​(java.lang.String strRatingType)
        Sets the RatingType
        Parameters:
        strRatingType - The RatingType
      • getUser

        public fr.paris.lutece.portal.service.security.LuteceUser getUser()
      • setUser

        public void setUser​(fr.paris.lutece.portal.service.security.LuteceUser user)
        Set the Lutece User
        Parameters:
        user - the lutece user
      • setHistory

        public void setHistory​(fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistory history)
        Set History properties
        Parameters:
        history - the history properties
      • getTitle

        public abstract java.lang.String getTitle()
        Get tilte of the rating type
        Returns:
        title