Package com.atlassian.jira.user
Class DefaultUserPropertyManager
java.lang.Object
com.atlassian.jira.user.DefaultUserPropertyManager
- All Implemented Interfaces:
Startable,InitializingComponent,UserPropertyManager
public class DefaultUserPropertyManager
extends Object
implements UserPropertyManager, Startable, InitializingComponent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultUserPropertyManager(UserKeyStore userKeyStore, QueryDslAccessor queryDslAccessor, com.atlassian.cache.CacheManager cacheManager, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled after all the beans are constructed and the ApplicationContext is fully populated.com.opensymphony.module.propertyset.PropertySetgetPropertySet(long userId) Get the property set associated with a user.com.opensymphony.module.propertyset.PropertySetGet the property set associated with a user.com.opensymphony.module.propertyset.PropertySetgetPropertySetForUserKey(String userKey) Get the property set associated with a user.voidonClearCache(ClearCacheEvent event) voidvoidstart()This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
-
Field Details
-
APPLICATION_USER_ENTITY_NAME
- See Also:
-
-
Constructor Details
-
DefaultUserPropertyManager
public DefaultUserPropertyManager(UserKeyStore userKeyStore, QueryDslAccessor queryDslAccessor, com.atlassian.cache.CacheManager cacheManager, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
-
-
Method Details
-
afterInstantiation
Description copied from interface:InitializingComponentCalled after all the beans are constructed and the ApplicationContext is fully populated. Order of execution is order of bean creation, driven by InitializingComponentProcessor.- Specified by:
afterInstantiationin interfaceInitializingComponent- Throws:
Exception
-
start
Description copied from interface:StartableThis method will be called after the plugin system is fully initialised and all components added to the dependency injection framework. -
getPropertySet
@Nonnull public com.opensymphony.module.propertyset.PropertySet getPropertySet(@Nonnull ApplicationUser user) Description copied from interface:UserPropertyManagerGet the property set associated with a user.- Specified by:
getPropertySetin interfaceUserPropertyManager- Parameters:
user- the user that the property set is associated with.- Returns:
- the property set for this user
-
getPropertySet
@Nonnull public com.opensymphony.module.propertyset.PropertySet getPropertySet(long userId) Description copied from interface:UserPropertyManagerGet the property set associated with a user.- Specified by:
getPropertySetin interfaceUserPropertyManager- Parameters:
userId- the ID of a user that the property set is associated with.- Returns:
- the property set for this user
-
getPropertySetForUserKey
@Nonnull public com.opensymphony.module.propertyset.PropertySet getPropertySetForUserKey(@Nonnull String userKey) Description copied from interface:UserPropertyManagerGet the property set associated with a user.- Specified by:
getPropertySetForUserKeyin interfaceUserPropertyManager- Parameters:
userKey- the key for the user that the property set is associated with.- Returns:
- property set
-
onClearCache
-
onDatabaseImportCompleted
-