Name
sn_gd_guidance.GuidanceRecommenderHandler
Description
Base class to implement a Hander that manages interaction of Guidance with it s recommenders.
Script
var GuidanceRecommenderHandler = Class.create();
GuidanceRecommenderHandler.prototype = {
initialize: function() {},
/*
* This method identifies the recommender that handles this implementation.
*Should be "GuidanceHistory.recommender".
*/
getId: function() {
// No Op, needs to be implemented in extension.
},
/*
* This method tells if the current Guidance can be acted upon.
*It calls recommender system methods to decide if guidance has not been acted by another user for same context.
*/
isGuidanceActionAllowed: function(recommender, recommendedBy) {
return true;
},
type: 'GuidanceRecommenderHandler'
};
Sys ID
254c324e77f1111063e8dbad6b5a99c4