com.atlassian.user.impl.hibernate.properties
Class HibernatePropertySetFactory

java.lang.Object
  extended bycom.atlassian.user.impl.hibernate.properties.HibernatePropertySetFactory
All Implemented Interfaces:
PropertySetFactory

public class HibernatePropertySetFactory
extends java.lang.Object
implements PropertySetFactory


Field Summary
static java.lang.String EXTERNAL_ENTITY
           
protected  ExternalEntityDAO externalEntityDAO
           
static java.lang.String HIBERNATE_PROPERTY_SET
           
static java.lang.String LOCAL_USER
           
protected  HibernateRepository repository
           
protected  UserManager userManager
           
 
Constructor Summary
HibernatePropertySetFactory(UserManager userManager, ExternalEntityDAO externalEntityDAO, HibernateRepository repository)
           
 
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
 

Field Detail

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
Constructor Detail

HibernatePropertySetFactory

public HibernatePropertySetFactory(UserManager userManager,
                                   ExternalEntityDAO externalEntityDAO,
                                   HibernateRepository repository)
Method Detail

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-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.