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.IExtendableResourceResultRating Class
-
-
Constructor Summary
Constructors Constructor Description Rating()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intgetIdRating()intgetRatingCount()/**StringgetRatingType()Returns the RatingTypefloatgetRatingValue()Returns the RatingValuedoublegetScoreValue()abstract 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 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
-
-
-
-
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 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
-
-