public interface DarkFeaturesManager
DarkFeatures
instances from the PropertySet associated with the ThreadLocal user.Modifier and Type | Method and Description |
---|---|
void |
disableSiteFeature(String featureKey) |
void |
disableUserFeature(ConfluenceUser user,
String featureKey)
Disable the specified feature for the specified User
|
void |
disableUserFeature(String featureKey) |
void |
enableSiteFeature(String featureKey) |
void |
enableUserFeature(ConfluenceUser user,
String featureKey)
Enable the specified feature for the specified User
|
void |
enableUserFeature(String featureKey) |
DarkFeatures |
getDarkFeatures() |
DarkFeatures |
getDarkFeatures(ConfluenceUser user) |
DarkFeatures |
getDarkFeatures(com.atlassian.user.User user)
Deprecated.
Since 5.2 - Use
getDarkFeatures(com.atlassian.confluence.user.ConfluenceUser) |
DarkFeatures |
getDarkFeaturesAllUsers() |
DarkFeatures |
getSiteDarkFeatures() |
DarkFeatures getDarkFeatures()
DarkFeatures getDarkFeatures(ConfluenceUser user)
@Deprecated DarkFeatures getDarkFeatures(com.atlassian.user.User user)
getDarkFeatures(com.atlassian.confluence.user.ConfluenceUser)
DarkFeatures getSiteDarkFeatures()
void enableUserFeature(String featureKey) throws UnknownFeatureException
UnknownFeatureException
void enableUserFeature(ConfluenceUser user, String featureKey) throws UnknownFeatureException
UnknownFeatureException
void disableUserFeature(String featureKey) throws UnknownFeatureException
UnknownFeatureException
void disableUserFeature(ConfluenceUser user, String featureKey) throws UnknownFeatureException
UnknownFeatureException
void enableSiteFeature(String featureKey) throws UnknownFeatureException
UnknownFeatureException
void disableSiteFeature(String featureKey) throws UnknownFeatureException
UnknownFeatureException
DarkFeatures getDarkFeaturesAllUsers()
Copyright © 2003–2016 Atlassian. All rights reserved.