| Modifier and Type | Method and Description |
|---|---|
void |
DarkFeatureManager.disableFeatureForUser(UserKey userKey,
String featureKey)
Disable a dark feature for the given user only.
|
void |
DarkFeatureManager.enableFeatureForUser(UserKey userKey,
String featureKey)
Enable a dark feature for the given user only.
|
EnabledDarkFeatures |
DarkFeatureManager.getFeaturesEnabledForUser(UserKey userKey)
Return enabled features for a given user.
|
Optional<Boolean> |
DarkFeatureManager.isEnabledForUser(UserKey userKey,
String featureKey)
Checks whether the product contains the given feature for all users or just for the given user.
|
boolean |
DarkFeatureManager.isFeatureEnabledForUser(UserKey userKey,
String featureKey)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Locale |
LocaleResolver.getLocale(UserKey userKey)
Resolve the Locale that should be used in internationalization and localization.
|
| Modifier and Type | Method and Description |
|---|---|
SearchResults |
SearchProvider.search(UserKey userKey,
String searchQuery)
Runs the a search given a query and returns a searchResult.
|
| Modifier and Type | Method and Description |
|---|---|
TimeZone |
TimeZoneManager.getUserTimeZone(UserKey user)
Returns the time zone of the given user.
|
| Modifier and Type | Method and Description |
|---|---|
static UserKey |
UserKey.fromLong(long userId)
Builds a
UserKey object from a long id. |
UserKey |
UserManager.getRemoteUserKey()
Returns the key of the currently logged in user or null if no user can be found.
|
UserKey |
UserManager.getRemoteUserKey(javax.servlet.http.HttpServletRequest request)
Returns the
UserKey of the currently logged in user or null if no user can be found. |
UserKey |
UserProfile.getUserKey()
Returns the key of the user associated with this profile information.
|
UserKey |
UserKeyXmlAdapter.unmarshal(String stringValue) |
| Modifier and Type | Method and Description |
|---|---|
UserProfile |
UserManager.getUserProfile(UserKey userKey)
Returns a
UserProfile object for the specified user or null if no user can be found |
boolean |
UserManager.isAdmin(UserKey userKey)
Returns
true or false depending on whether a user has been granted the administrator permission. |
boolean |
UserManager.isSystemAdmin(UserKey userKey)
Returns
true or false depending on whether a user has been granted the system administrator permission. |
boolean |
UserManager.isUserInGroup(UserKey userKey,
String group)
Returns whether the given user is in the given group
|
String |
UserKeyXmlAdapter.marshal(UserKey userKey) |
| Modifier and Type | Method and Description |
|---|---|
UserSettings |
UserSettingsService.getUserSettings(UserKey userKey)
Gets the UserSettings for the given user.
|
void |
UserSettingsService.updateUserSettings(UserKey userKey,
com.google.common.base.Function<UserSettingsBuilder,UserSettings> updateFunction)
Updates the UserSettings stored for this user.
|
Copyright © 2018 Atlassian. All rights reserved.