public interface UserPropertyManager
PropertySet
associated with a user.
Property sets are live objects and changes to the property set are persisted when they occur.
The properties that are stored in the user's property set are not part of the JIRA API, and
modifying the property set directly may have unexpected side-effects. In most cases, it
will make more sense to use the UserPreferencesManager
to obtain a user's preferences, instead.Modifier and Type | Method and Description |
---|---|
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(ApplicationUser user)
Get the property set associated with a user.
|
com.opensymphony.module.propertyset.PropertySet |
getPropertySetForUserKey(String userKey)
Get the property set associated with a user.
|
@Nonnull com.opensymphony.module.propertyset.PropertySet getPropertySet(@Nonnull ApplicationUser user)
user
- the user that the property set is associated with.IllegalArgumentException
- if user
is null
IllegalStateException
- if the user does not have an ID mapping, which suggests that
the user does not actually exist@Nonnull com.opensymphony.module.propertyset.PropertySet getPropertySetForUserKey(String userKey)
userKey
- the key for the user that the property set is associated with.IllegalArgumentException
- if userKey
is null
IllegalStateException
- if the user does not have an ID mapping, which suggests that
the user does not actually existCopyright © 2002-2021 Atlassian. All Rights Reserved.