Class ExoFeatureServiceImpl

  • All Implemented Interfaces:
    org.exoplatform.commons.api.settings.ExoFeatureService

    public class ExoFeatureServiceImpl
    extends Object
    implements org.exoplatform.commons.api.settings.ExoFeatureService
    • Constructor Detail

      • ExoFeatureServiceImpl

        public ExoFeatureServiceImpl​(org.exoplatform.commons.api.settings.SettingService settingService,
                                     org.exoplatform.services.security.IdentityRegistry identityRegistry,
                                     org.exoplatform.services.organization.OrganizationService organizationService)
    • Method Detail

      • isActiveFeature

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

        public void saveActiveFeature​(String featureName,
                                      boolean isActive)
        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