com.atlassian.confluence.setup.settings
Interface DarkFeaturesManager

All Known Implementing Classes:
DefaultDarkFeaturesManager

public interface DarkFeaturesManager

Creates DarkFeatures instances from the PropertySet associated with the ThreadLocal user.


Method Summary
 void disableSiteFeature(String featureKey)
           
 void disableUserFeature(String featureKey)
           
 void enableSiteFeature(String featureKey)
           
 void enableUserFeature(String featureKey)
           
 DarkFeatures getDarkFeatures()
           
 DarkFeatures getDarkFeatures(com.atlassian.user.User user)
           
 

Method Detail

getDarkFeatures

DarkFeatures getDarkFeatures()
Returns:
the dark features for the current user.

getDarkFeatures

DarkFeatures getDarkFeatures(com.atlassian.user.User user)
Returns:
the dark features for the given user.

enableUserFeature

void enableUserFeature(String featureKey)

disableUserFeature

void disableUserFeature(String featureKey)

enableSiteFeature

void enableSiteFeature(String featureKey)

disableSiteFeature

void disableSiteFeature(String featureKey)


Copyright © 2003-2013 Atlassian. All Rights Reserved.