Class ExoFeatureServiceImpl

java.lang.Object
org.exoplatform.settings.impl.ExoFeatureServiceImpl
All Implemented Interfaces:
org.exoplatform.commons.api.settings.ExoFeatureService, org.picocontainer.Startable

public class ExoFeatureServiceImpl extends Object implements org.exoplatform.commons.api.settings.ExoFeatureService, org.picocontainer.Startable
  • Constructor Details

    • ExoFeatureServiceImpl

      public ExoFeatureServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.services.security.IdentityRegistry identityRegistry, org.exoplatform.services.organization.OrganizationService organizationService, org.exoplatform.services.listener.ListenerService listenerService)
  • Method Details

    • isActiveFeature

      public boolean isActiveFeature(String featureName)
      Specified by:
      isActiveFeature in interface org.exoplatform.commons.api.settings.ExoFeatureService
    • saveActiveFeature

      public void saveActiveFeature(String featureName, boolean status)
      Specified by:
      saveActiveFeature in interface org.exoplatform.commons.api.settings.ExoFeatureService
    • changeFeatureActivation

      public void changeFeatureActivation(String featureName, String isActive)
    • addFeaturePlugin

      public void addFeaturePlugin(org.exoplatform.commons.api.settings.FeaturePlugin featurePlugin)
      Specified by:
      addFeaturePlugin in interface org.exoplatform.commons.api.settings.ExoFeatureService
    • isFeatureActiveForUser

      public boolean isFeatureActiveForUser(String featureName, String username)
      Specified by:
      isFeatureActiveForUser in interface org.exoplatform.commons.api.settings.ExoFeatureService
    • start

      public void start()
      Specified by:
      start in interface org.picocontainer.Startable
    • stop

      public void stop()
      Specified by:
      stop in interface org.picocontainer.Startable