com.atlassian.user.impl.hibernate.properties
Class HibernatePropertySetFactory
java.lang.Object
com.atlassian.user.impl.hibernate.properties.HibernatePropertySetFactory
- All Implemented Interfaces:
- PropertySetFactory
- public class HibernatePropertySetFactory
- extends java.lang.Object
- implements PropertySetFactory
Method Summary |
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(Entity entity)
|
protected com.opensymphony.module.propertyset.PropertySet |
getPropertySet(java.util.HashMap args)
|
protected com.opensymphony.module.propertyset.PropertySet |
getPropertySet(java.lang.String entityName)
Retrieve profile for User with given name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HIBERNATE_PROPERTY_SET
public static final java.lang.String HIBERNATE_PROPERTY_SET
- See Also:
- Constant Field Values
EXTERNAL_ENTITY
public static final java.lang.String EXTERNAL_ENTITY
- See Also:
- Constant Field Values
LOCAL_USER
public static final java.lang.String LOCAL_USER
- See Also:
- Constant Field Values
userManager
protected final UserManager userManager
externalEntityDAO
protected final ExternalEntityDAO externalEntityDAO
repository
protected final HibernateRepository repository
HibernatePropertySetFactory
public HibernatePropertySetFactory(UserManager userManager,
ExternalEntityDAO externalEntityDAO,
HibernateRepository repository)
getPropertySet
public com.opensymphony.module.propertyset.PropertySet getPropertySet(Entity entity)
throws EntityException
- 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.
- Throws:
EntityException
getPropertySet
protected com.opensymphony.module.propertyset.PropertySet getPropertySet(java.lang.String entityName)
throws EntityException
- Retrieve profile for User with given name.
- Throws:
EntityException
getPropertySet
protected com.opensymphony.module.propertyset.PropertySet getPropertySet(java.util.HashMap args)
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.