Package org.exoplatform.settings.impl
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
-
Field Summary
Fields inherited from interface org.exoplatform.commons.api.settings.ExoFeatureService
FEATURE_STATUS_CHANGED_EVENT -
Constructor Summary
ConstructorsConstructorDescriptionExoFeatureServiceImpl(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 Summary
Modifier and TypeMethodDescriptionvoidaddFeaturePlugin(org.exoplatform.commons.api.settings.FeaturePlugin featurePlugin) voidchangeFeatureActivation(String featureName, String isActive) booleanisActiveFeature(String featureName) booleanisFeatureActiveForUser(String featureName, String username) voidsaveActiveFeature(String featureName, boolean status) voidstart()voidstop()
-
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
- Specified by:
isActiveFeaturein interfaceorg.exoplatform.commons.api.settings.ExoFeatureService
-
saveActiveFeature
- Specified by:
saveActiveFeaturein interfaceorg.exoplatform.commons.api.settings.ExoFeatureService
-
changeFeatureActivation
-
addFeaturePlugin
public void addFeaturePlugin(org.exoplatform.commons.api.settings.FeaturePlugin featurePlugin) - Specified by:
addFeaturePluginin interfaceorg.exoplatform.commons.api.settings.ExoFeatureService
-
isFeatureActiveForUser
- Specified by:
isFeatureActiveForUserin interfaceorg.exoplatform.commons.api.settings.ExoFeatureService
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-