Mura CMS 6.1

mura.content.rater
Class raterManager

railo-context.Component
        extended by mura.cfobject
            extended by mura.content.rater.raterManager

public class raterManager
extends cfobject

Constructor Summary
init(any configBean)
 
Method Summary
 query getAvgRating(string contentID='', string siteID='')
 any getBean([any beanName='rateBean'])
 string getStarText(any avg='')
 query getTopRated(string siteID='', numeric threshold='0', numeric limit='0', string startDate='', string stopDate='')
 any readRate(string contentID='', string siteID='', string userID='')
 any saveRate(string contentID='', string siteID='', string userID='', numeric rate='0')
 
Methods inherited from class mura.cfobject
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
 
Methods inherited from class railo-context.Component
 

Constructor Detail

init

public init(any configBean)

Parameters:
configBean
Method Detail

getAvgRating

public query getAvgRating(string contentID='', string siteID='')

Parameters:
contentID
siteID

getBean

public any getBean([any beanName='rateBean'])

Overrides:
getBean in class cfobject
Parameters:
beanName

getStarText

public string getStarText(any avg='')

Parameters:
avg

getTopRated

public query getTopRated(string siteID='', numeric threshold='0', numeric limit='0', string startDate='', string stopDate='')

Parameters:
siteID
threshold
limit
startDate
stopDate

readRate

public any readRate(string contentID='', string siteID='', string userID='')

Parameters:
contentID
siteID
userID

saveRate

public any saveRate(string contentID='', string siteID='', string userID='', numeric rate='0')

Parameters:
contentID
siteID
userID
rate

Mura CMS 6.1