Package io.meeds.gamification.plugin
Class RuleActivityTypePlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.core.ActivityTypePlugin
io.meeds.gamification.plugin.RuleActivityTypePlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class RuleActivityTypePlugin
extends org.exoplatform.social.core.ActivityTypePlugin
-
Field Summary
Fields inherited from class org.exoplatform.social.core.ActivityTypePlugin
ACTIVITY_TYPE_PARAM, activityType, ENABLE_NOTIFICATION_PARAM, enableNotificationFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionRuleActivityTypePlugin(ProgramService programService, RuleService ruleService, org.exoplatform.container.xml.InitParams params) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActivityViewable(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, org.exoplatform.services.security.Identity userAclIdentity) Methods inherited from class org.exoplatform.social.core.ActivityTypePlugin
getActivityTitle, getActivityType, isActivityDeletable, isActivityEditable, isEnableNotification, isEnableNotificationMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
RuleActivityTypePlugin
public RuleActivityTypePlugin(ProgramService programService, RuleService ruleService, org.exoplatform.container.xml.InitParams params)
-
-
Method Details
-
isActivityViewable
public boolean isActivityViewable(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, org.exoplatform.services.security.Identity userAclIdentity) - Overrides:
isActivityViewablein classorg.exoplatform.social.core.ActivityTypePlugin
-