|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.setup.settings.DefaultDarkFeaturesManager
public class DefaultDarkFeaturesManager
Creates DarkFeatures
instances from the PropertySet associated with the ThreadLocal user.
Constructor Summary | |
---|---|
DefaultDarkFeaturesManager(UserAccessor userAccessor,
com.atlassian.bandana.BandanaManager bandanaManager,
FeatureService featureService,
com.atlassian.event.api.EventPublisher eventPublisher)
|
Method Summary | |
---|---|
void |
disableSiteFeature(java.lang.String featureKey)
|
void |
disableUserFeature(ConfluenceUser user,
java.lang.String featureKey)
Disable the specified feature for the specified User |
void |
disableUserFeature(java.lang.String featureKey)
|
void |
enableSiteFeature(java.lang.String featureKey)
|
void |
enableUserFeature(ConfluenceUser user,
java.lang.String featureKey)
Enable the specified feature for the specified User |
void |
enableUserFeature(java.lang.String featureKey)
|
DarkFeatures |
getDarkFeatures()
Returns the dark features for the current user. |
DarkFeatures |
getDarkFeatures(ConfluenceUser user)
|
DarkFeatures |
getDarkFeatures(com.atlassian.user.User user)
Deprecated. Since 5.2 - Use getDarkFeatures(com.atlassian.confluence.user.ConfluenceUser) |
DarkFeatures |
getDarkFeaturesAllUsers()
Returns the dark features for the all users. |
DarkFeatures |
getSiteDarkFeatures()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultDarkFeaturesManager(UserAccessor userAccessor, com.atlassian.bandana.BandanaManager bandanaManager, FeatureService featureService, com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail |
---|
public DarkFeatures getDarkFeatures()
getDarkFeatures
in interface DarkFeaturesManager
public DarkFeatures getDarkFeaturesAllUsers()
getDarkFeaturesAllUsers
in interface DarkFeaturesManager
public DarkFeatures getSiteDarkFeatures()
getSiteDarkFeatures
in interface DarkFeaturesManager
public DarkFeatures getDarkFeatures(ConfluenceUser user)
getDarkFeatures
in interface DarkFeaturesManager
@Deprecated public DarkFeatures getDarkFeatures(com.atlassian.user.User user)
getDarkFeatures(com.atlassian.confluence.user.ConfluenceUser)
getDarkFeatures
in interface DarkFeaturesManager
public void enableUserFeature(java.lang.String featureKey) throws UnknownFeatureException
enableUserFeature
in interface DarkFeaturesManager
UnknownFeatureException
public void enableUserFeature(ConfluenceUser user, java.lang.String featureKey)
DarkFeaturesManager
enableUserFeature
in interface DarkFeaturesManager
public void disableUserFeature(java.lang.String featureKey) throws UnknownFeatureException
disableUserFeature
in interface DarkFeaturesManager
UnknownFeatureException
public void disableUserFeature(ConfluenceUser user, java.lang.String featureKey)
DarkFeaturesManager
disableUserFeature
in interface DarkFeaturesManager
public void enableSiteFeature(java.lang.String featureKey) throws UnknownFeatureException
enableSiteFeature
in interface DarkFeaturesManager
UnknownFeatureException
public void disableSiteFeature(java.lang.String featureKey) throws UnknownFeatureException
disableSiteFeature
in interface DarkFeaturesManager
UnknownFeatureException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |