com.atlassian.jira.user
Class DefaultUserPropertyManager
java.lang.Object
com.atlassian.jira.user.DefaultUserPropertyManager
- All Implemented Interfaces:
- Startable, UserPropertyManager
public class DefaultUserPropertyManager
- extends Object
- implements UserPropertyManager, Startable
Field Summary |
protected com.google.common.cache.Cache<String,com.opensymphony.module.propertyset.PropertySet> |
psCache
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
psCache
protected final com.google.common.cache.Cache<String,com.opensymphony.module.propertyset.PropertySet> psCache
DefaultUserPropertyManager
public DefaultUserPropertyManager(UserKeyStore userKeyStore)
onClearCache
@EventListener
public void onClearCache(ClearCacheEvent event)
start
public void start()
throws Exception
- Description copied from interface:
Startable
- This method wil be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
- Specified by:
start
in interface Startable
- Throws:
Exception
- Allows implementations to throw an Exception.
getPropertySet
public com.opensymphony.module.propertyset.PropertySet getPropertySet(ApplicationUser user)
- Description copied from interface:
UserPropertyManager
- Get the property set associated with a user.
- Specified by:
getPropertySet
in interface UserPropertyManager
- Parameters:
user
- the property set is associated with.
- Returns:
- Property set.
getPropertySet
public com.opensymphony.module.propertyset.PropertySet getPropertySet(com.atlassian.crowd.embedded.api.User user)
- Description copied from interface:
UserPropertyManager
- Get the property set associated with a user.
- Specified by:
getPropertySet
in interface UserPropertyManager
- Parameters:
user
- the property set is associated with.
- Returns:
- Property set.
clearCache
public void clearCache(ApplicationUser user)
- Specified by:
clearCache
in interface UserPropertyManager
clearCacheByKey
public void clearCacheByKey(String userKey)
- Specified by:
clearCacheByKey
in interface UserPropertyManager
Copyright © 2002-2013 Atlassian. All Rights Reserved.