com.atlassian.jira.user
Interface UserPropertyManager

All Known Implementing Classes:
DefaultUserPropertyManager, MockUserPropertyManager

public interface UserPropertyManager

The manager allows the caller to get the PropertySet associated with a user. Property sets are live objects and changes to the property set are persisted when they occur.

Since:
v4.3

Method Summary
 void clearCache()
           
 void clearCache(ApplicationUser user)
           
 void clearCacheByKey(String userKey)
           
 com.opensymphony.module.propertyset.PropertySet getPropertySet(ApplicationUser user)
          Get the property set associated with a user.
 com.opensymphony.module.propertyset.PropertySet getPropertySet(com.atlassian.crowd.embedded.api.User user)
          Get the property set associated with a user.
 com.opensymphony.module.propertyset.PropertySet getPropertySetForUserKey(String userkey)
          Get the property set associated with the passed user key.
 

Method Detail

getPropertySet

com.opensymphony.module.propertyset.PropertySet getPropertySet(ApplicationUser user)
Get the property set associated with a user.

Parameters:
user - the property set is associated with.
Returns:
Property set.

getPropertySet

com.opensymphony.module.propertyset.PropertySet getPropertySet(com.atlassian.crowd.embedded.api.User user)
Get the property set associated with a user.

Parameters:
user - the property set is associated with.
Returns:
Property set.

getPropertySetForUserKey

com.opensymphony.module.propertyset.PropertySet getPropertySetForUserKey(String userkey)
Get the property set associated with the passed user key.

Parameters:
userkey - the userkey.
Returns:
the property set associated with the passed user key. Can be null.

clearCache

@Internal
void clearCache()

clearCache

@Internal
void clearCache(ApplicationUser user)

clearCacheByKey

@Internal
void clearCacheByKey(String userKey)


Copyright © 2002-2014 Atlassian. All Rights Reserved.