RatingEvent class | HCL Digital Experience
The RatingEvent class is used to access the data logged with a Rating bean.
public class com.ibm.wcp.analysis.event.RatingEvent extends com.ibm.wcp.analysis.event.LogEvent
implements Serializable
Get
an overview of the methods of the RatingEvent class.
Method | Explanation |
---|---|
|
Constructor. |
|
Returns the resource that is the target of the current rating. The resource object returned contains the collection name and resource id. |
|
Sets the resource information for this rating event. Can be used by custom listeners to replace the resource information for this rating. |
|
Returns the rating as an integer value. The value can be any valid integer as defined by the Web application implementor. |
|
Sets the rating for this event. Can be used by custom listeners to replace the rating in this event. |
|
Returns a String representation of this event. |