Class Rating
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 -
Method Summary
Modifier and TypeMethodDescriptionintint/**Returns the RatingTypefloatReturns the RatingValuedoubleabstract StringgetTitle()Get tilte of the rating typefr.paris.lutece.portal.service.security.LuteceUsergetUser()voidsetHistory(fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistory history) Set History propertiesvoidsetIdRating(int nIdRating) voidsetRatingCount(int nRatingCount) voidsetRatingType(String strRatingType) Sets the RatingTypevoidsetRatingValue(float fRatingValue) Sets the RatingValuevoidsetScoreValue(double scoreValue) voidsetScoreValue(float[] ratingValue) voidsetUser(fr.paris.lutece.portal.service.security.LuteceUser user) Set the Lutece UserMethods 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, setUserGuidMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
Returns the RatingType- Returns:
- The RatingType
-
setRatingType
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
Get tilte of the rating type- Returns:
- title
-