@Internal
public interface CollaborativeEditingHelper
Modifier and Type | Field and Description |
---|---|
static String |
COLLABORATIVE_MODE |
static String |
LEGACY_MODE |
static String |
LIMITED_MODE
Deprecated.
since 7.5.0. Limited mode is no longer supported since 7.5.0
|
static String |
SHARED_DRAFTS_DARK_FEATURE |
static String |
SITE_WIDE_SHARED_DRAFTS_DARK_FEATURE |
static String |
SITE_WIDE_SYNCHRONY_DARK_FEATURE
Deprecated.
since 7.5.0. Limited mode is no longer supported since 7.5.0
|
static String |
SYNCHRONY_DARK_FEATURE
Deprecated.
since 7.5.0. Limited mode is no longer supported since 7.5.0
|
static String |
USER_LIMIT_DARK_FEATURE_DISABLE |
Modifier and Type | Method and Description |
---|---|
String |
getEditMode(String spaceKey)
Returns the current editing mode.
|
int |
getUserLimit()
Returns the number of users allowed in editor.
|
boolean |
isLimitedModeEnabled(String spaceKey)
Deprecated.
since 7.5.0. Limited mode is no longer supported since 7.5.0
|
boolean |
isOverLimit(int numberOfConcurrentUsers) |
boolean |
isSharedDraftsFeatureEnabled(String spaceKey)
Checks if the Shared Drafts dark feature is enabled for the space or globally when no space is passed.
|
boolean |
isUpgraded()
Maybe better alternative is do synchrony event propagation via this class so upgrade check is isolated in one place.
|
static final String COLLABORATIVE_MODE
static final String LEGACY_MODE
@Deprecated static final String LIMITED_MODE
static final String SHARED_DRAFTS_DARK_FEATURE
static final String SITE_WIDE_SHARED_DRAFTS_DARK_FEATURE
@Deprecated static final String SYNCHRONY_DARK_FEATURE
@Deprecated static final String SITE_WIDE_SYNCHRONY_DARK_FEATURE
static final String USER_LIMIT_DARK_FEATURE_DISABLE
boolean isSharedDraftsFeatureEnabled(String spaceKey)
spaceKey
- space keyboolean isUpgraded()
@Deprecated boolean isLimitedModeEnabled(String spaceKey)
spaceKey
- space keyfalse
)String getEditMode(String spaceKey)
spaceKey
- space keyLEGACY_MODE
, COLLABORATIVE_MODE
,boolean isOverLimit(int numberOfConcurrentUsers)
numberOfConcurrentUsers
- Number of users currently in the editor including the current user.int getUserLimit()
Copyright © 2003–2020 Atlassian. All rights reserved.