Class GamificationDomainListener
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.services.listener.Listener<DomainEntity,String>
-
- org.exoplatform.addons.gamification.listener.gamification.domain.GamificationDomainListener
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class GamificationDomainListener extends org.exoplatform.services.listener.Listener<DomainEntity,String>
-
-
Field Summary
Fields Modifier and Type Field Description protected BadgeServicebadgeServiceprotected RuleServiceruleService
-
Constructor Summary
Constructors Constructor Description GamificationDomainListener(RuleService ruleService, BadgeService badgeService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonEvent(org.exoplatform.services.listener.Event<DomainEntity,String> event)
-
-
-
Field Detail
-
ruleService
protected RuleService ruleService
-
badgeService
protected BadgeService badgeService
-
-
Constructor Detail
-
GamificationDomainListener
public GamificationDomainListener(RuleService ruleService, BadgeService badgeService)
-
-
Method Detail
-
onEvent
public void onEvent(org.exoplatform.services.listener.Event<DomainEntity,String> event) throws Exception
- Specified by:
onEventin classorg.exoplatform.services.listener.Listener<DomainEntity,String>- Throws:
Exception
-
-