Class OSUPropertySetFactory

All Implemented Interfaces:

public class OSUPropertySetFactory
extends java.lang.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

Field Detail


protected final org.apache.log4j.Logger log
Constructor Detail


public OSUPropertySetFactory(com.opensymphony.user.provider.ProfileProvider profileProvider)
Method Detail


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
entity - the instance of Entity for which a PropertySet should be retrieved.
an instance of PropertySet for the Entity, otherwise null.

Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.