java.lang.Object
fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistory
fr.paris.lutece.plugins.extend.modules.rating.business.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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
    /**
    Returns the RatingType
    float
    Returns the RatingValue
    double
     
    abstract String
    Get tilte of the rating type
    fr.paris.lutece.portal.service.security.LuteceUser
     
    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(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 Details

    • Rating

      public Rating()
  • Method Details

    • 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 String getRatingType()
      Returns the RatingType
      Returns:
      The RatingType
    • setRatingType

      public void setRatingType(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 String getTitle()
      Get tilte of the rating type
      Returns:
      title