public class DefaultUserPropertyManager extends Object implements UserPropertyManager, Startable
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_USER_ENTITY_NAME |
| Constructor and Description |
|---|
DefaultUserPropertyManager(UserKeyStore userKeyStore,
QueryDslAccessor queryDslAccessor,
com.atlassian.cache.CacheManager cacheManager,
com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar) |
| Modifier and Type | Method and Description |
|---|---|
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(ApplicationUser user)
Get the property set associated with a user.
|
protected com.opensymphony.module.propertyset.PropertySet |
getPropertySetForUserId(long userId) |
com.opensymphony.module.propertyset.PropertySet |
getPropertySetForUserKey(String userKey)
Get the property set associated with a user.
|
void |
onClearCache(ClearCacheEvent event) |
void |
onDatabaseImportCompleted(DatabaseImportCompletedEvent event) |
void |
start()
This method will be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
public static final String APPLICATION_USER_ENTITY_NAME
public DefaultUserPropertyManager(UserKeyStore userKeyStore, QueryDslAccessor queryDslAccessor, com.atlassian.cache.CacheManager cacheManager, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
public void start()
throws Exception
Startable@Nonnull public com.opensymphony.module.propertyset.PropertySet getPropertySet(@Nonnull ApplicationUser user)
UserPropertyManagergetPropertySet in interface UserPropertyManageruser - the user that the property set is associated with.@Nonnull public com.opensymphony.module.propertyset.PropertySet getPropertySetForUserKey(@Nonnull String userKey)
UserPropertyManagergetPropertySetForUserKey in interface UserPropertyManageruserKey - the key for the user that the property set is associated with.protected com.opensymphony.module.propertyset.PropertySet getPropertySetForUserId(long userId)
@EventListener public void onClearCache(@Nullable ClearCacheEvent event)
@EventListener public void onDatabaseImportCompleted(DatabaseImportCompletedEvent event)
Copyright © 2002-2022 Atlassian. All Rights Reserved.