public interface ScoringEngine
Modifier and Type | Method and Description |
---|---|
void |
applyRule(Resource scoreRule,
Resource subRule,
java.lang.String verb,
java.lang.String topic,
java.lang.String userId,
Resource ugcResource,
Resource componentResource)
Calcuate score based on engine's algorithm.
|
java.lang.String |
getScoringType()
Get this scoring engine type.
|
void |
unscoredData(java.lang.String ruleAction,
Resource ugcResource)
Process UGC for scoring even though no rule was defined.
|
void applyRule(Resource scoreRule, Resource subRule, java.lang.String verb, java.lang.String topic, java.lang.String userId, Resource ugcResource, Resource componentResource)
scoreRule
- scoringRule resourcesubRule
- The scoring sub rule resourceverb
- The action verb from a SocialEventtopic
- The topic from a SocialEventuserId
- The user the score should apply tougcResource
- The UGC resource used for the scoring calculationcomponentResource
- The component where the rule is locatedjava.lang.String getScoringType()
void unscoredData(java.lang.String ruleAction, Resource ugcResource)
ruleAction
- The event's action verbugcResource
- The UGC resource used for the scoring calculation"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"