Class PerkStoreFeaturePlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.api.settings.FeaturePlugin
org.exoplatform.perkstore.plugin.PerkStoreFeaturePlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class PerkStoreFeaturePlugin extends org.exoplatform.commons.api.settings.FeaturePlugin
A plugin added to ExoFeatureService that determines if 'perkstore' is enabled for a user or not
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    isFeatureActiveForUser(String featureName, String username)
     

    Methods inherited from class org.exoplatform.commons.api.settings.FeaturePlugin

    getFeatureName, init

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PerkStoreFeaturePlugin

      public PerkStoreFeaturePlugin()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.exoplatform.container.component.ComponentPlugin
      Overrides:
      getName in class org.exoplatform.container.component.BaseComponentPlugin
    • isFeatureActiveForUser

      public boolean isFeatureActiveForUser(String featureName, String username)
      Specified by:
      isFeatureActiveForUser in class org.exoplatform.commons.api.settings.FeaturePlugin