com.atlassian.user.impl.osuser.properties
Class OSUPropertySetFactory
java.lang.Object
com.atlassian.user.impl.osuser.properties.OSUPropertySetFactory
- All Implemented Interfaces:
- PropertySetFactory
public class OSUPropertySetFactory
- extends Object
- implements PropertySetFactory
|
Field Summary |
protected org.apache.log4j.Logger |
log
|
|
Constructor Summary |
OSUPropertySetFactory(com.opensymphony.user.provider.ProfileProvider profileProvider)
|
|
Method Summary |
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(Entity entity)
returns a propertyset for the entity passed in as long as it is being managed by osuser. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.log4j.Logger log
OSUPropertySetFactory
public OSUPropertySetFactory(com.opensymphony.user.provider.ProfileProvider profileProvider)
getPropertySet
public com.opensymphony.module.propertyset.PropertySet getPropertySet(Entity entity)
- returns a propertyset for the entity passed in as long as it is being managed by osuser.
if the case of the entity's name is mixed, we will lower it, as all user accounts managed by osuser are lowercase.
if we cannot find the user, then return null. (we do not need to create a osupropertyset for a user that is not being managed by OSUSER).
- Specified by:
getPropertySet in interface PropertySetFactory
- Parameters:
entity - the instance of Entity for which a PropertySet should be retrieved.
- Returns:
- an instance of
PropertySet for the Entity, otherwise null.
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.