com.atlassian.confluence.setup.settings
Class SharedDraftsDarkFeatureHelper

java.lang.Object
  extended by com.atlassian.confluence.setup.settings.SharedDraftsDarkFeatureHelper

@ExperimentalApi
public class SharedDraftsDarkFeatureHelper
extends Object


Field Summary
static String SHARED_DRAFTS_DARK_FEATURE
           
 
Constructor Summary
SharedDraftsDarkFeatureHelper(com.google.common.base.Supplier<DarkFeaturesManager> darkFeaturesManagerSupplier, com.atlassian.sal.api.ApplicationProperties applicationProperties)
           
 
Method Summary
static String getSpaceDarkFeature(String spaceKey)
           
 boolean isSharedAccess(Draft draft, String draftShareId)
           
 boolean isSharedDraftsFeatureEnabled(String spaceKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHARED_DRAFTS_DARK_FEATURE

public static final String SHARED_DRAFTS_DARK_FEATURE
See Also:
Constant Field Values
Constructor Detail

SharedDraftsDarkFeatureHelper

public SharedDraftsDarkFeatureHelper(com.google.common.base.Supplier<DarkFeaturesManager> darkFeaturesManagerSupplier,
                                     com.atlassian.sal.api.ApplicationProperties applicationProperties)
Method Detail

isSharedDraftsFeatureEnabled

public boolean isSharedDraftsFeatureEnabled(String spaceKey)

isSharedAccess

public boolean isSharedAccess(Draft draft,
                              String draftShareId)

getSpaceDarkFeature

public static String getSpaceDarkFeature(String spaceKey)


Copyright © 2003–2015 Atlassian. All rights reserved.