Class ThumbRating
- java.lang.Object
-
- fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistory
-
- fr.paris.lutece.plugins.extend.modules.rating.business.Rating
-
- fr.paris.lutece.plugins.extend.modules.rating.business.ThumbRating
-
- All Implemented Interfaces:
fr.paris.lutece.plugins.extend.service.extender.facade.IExtendableResourceResult
public class ThumbRating extends Rating
-
-
Field Summary
Fields Modifier and Type Field Description static StringRATING_TITLE
-
Constructor Summary
Constructors Constructor Description ThumbRating()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetScoreDislike()Returns the ScoreDislikelonggetScoreLike()Returns the ScoreLikeStringgetTitle()Get tilte of the rating typevoidsetScoreDislike(long nScoreDislike)Sets the ScoreDislikevoidsetScoreLike(long nScoreLike)Sets the ScoreLikevoidsetScoreValue(List<Rating> listRating)-
Methods inherited from class fr.paris.lutece.plugins.extend.modules.rating.business.Rating
getIdRating, getRatingCount, getRatingType, getRatingValue, getScoreValue, getUser, setHistory, setIdRating, setRatingCount, setRatingType, setRatingValue, setScoreValue, setScoreValue, setUser
-
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
-
-
-
-
Field Detail
-
RATING_TITLE
public static final String RATING_TITLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setScoreValue
public void setScoreValue(List<Rating> listRating)
- Parameters:
dScoreValue- the dScoreValue to set
-
getScoreLike
public long getScoreLike()
Returns the ScoreLike- Returns:
- The ScoreLike
-
setScoreLike
public void setScoreLike(long nScoreLike)
Sets the ScoreLike- Parameters:
nScoreLike- The ScoreLike
-
getScoreDislike
public long getScoreDislike()
Returns the ScoreDislike- Returns:
- The ScoreDislike
-
setScoreDislike
public void setScoreDislike(long nScoreDislike)
Sets the ScoreDislike- Parameters:
nScoreDislike- The ScoreDislike
-
-