org.jasig.services.persondir.support
Class BasePersonAttributeDao
java.lang.Object
org.jasig.services.persondir.support.BasePersonAttributeDao
- All Implemented Interfaces:
- IPersonAttributeDao
- Direct Known Subclasses:
- AbstractFlatteningPersonAttributeDao
public abstract class BasePersonAttributeDao
- extends Object
- implements IPersonAttributeDao
Base IPersonAttributeDao that provides implementations of the deprecated methods. This class will be removed
in 1.6
- Version:
- $Revision$
- Author:
- Eric Dalquist
|
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
BasePersonAttributeDao
public BasePersonAttributeDao()
getMultivaluedUserAttributes
public final Map<String,List<Object>> getMultivaluedUserAttributes(Map<String,List<Object>> seed)
- Specified by:
getMultivaluedUserAttributes in interface IPersonAttributeDao
getMultivaluedUserAttributes
public final Map<String,List<Object>> getMultivaluedUserAttributes(String uid)
- Specified by:
getMultivaluedUserAttributes in interface IPersonAttributeDao
getUserAttributes
public final Map<String,Object> getUserAttributes(Map<String,Object> seed)
- Specified by:
getUserAttributes in interface IPersonAttributeDao
getUserAttributes
public final Map<String,Object> getUserAttributes(String uid)
- Specified by:
getUserAttributes in interface IPersonAttributeDao
flattenResults
@Deprecated
protected Map<String,Object> flattenResults(Map<String,List<Object>> multivaluedUserAttributes)
- Deprecated. This method is just used internally and will be removed with this class in 1.6
- Takes a <String, List<Object>> Map and coverts it to a <String, Object> Map. This implementation takes
the first value of each List to use as the value for the new Map.
- Parameters:
multivaluedUserAttributes - The attribute map to flatten.
- Returns:
- A flattened version of the Map, null if the argument was null.
Copyright © 2012 Jasig. All Rights Reserved.