org.jasig.services.persondir.support
Class MergingPersonAttributeDaoImpl
java.lang.Object
org.jasig.services.persondir.support.AbstractDefaultAttributePersonAttributeDao
org.jasig.services.persondir.support.AbstractAggregatingDefaultQueryPersonAttributeDao
org.jasig.services.persondir.support.MergingPersonAttributeDaoImpl
- All Implemented Interfaces:
- IPersonAttributeDao
public class MergingPersonAttributeDaoImpl
- extends AbstractAggregatingDefaultQueryPersonAttributeDao
A IPersonAttributeDao implementation which iterates over children
IPersonAttributeDaos queries each with the same data and merges their
reported attributes in a configurable way. The default merger is
MultivaluedAttributeMerger.
- Since:
- uPortal 2.5
- Version:
- $Revision: 2871 $ $Date: 2006-12-08 13:41:33 -0600 (Fri, 08 Dec 2006) $
- Author:
- andrew.petro@yale.edu, Eric Dalquist edalquist@unicon.net
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergingPersonAttributeDaoImpl
public MergingPersonAttributeDaoImpl()
getAttributesFromDao
protected Map getAttributesFromDao(Map seed,
boolean isFirstQuery,
IPersonAttributeDao currentlyConsidering,
Map resultAttributes)
- Calls the current IPersonAttributeDao from using the seed.
- Specified by:
getAttributesFromDao in class AbstractAggregatingDefaultQueryPersonAttributeDao
- Parameters:
seed - The seed for the original query.isFirstQuery - If this is the first query, this will stay true until a call to this method returns (does not throw an exception).currentlyConsidering - The IPersonAttributeDao to execute the query on.resultAttributes - The Map of results from all previous queries, may be null.
- Returns:
- The results from the call to the DAO, follows the same rules as
IPersonAttributeDao.getUserAttributes(Map). - See Also:
org.jasig.portal.services.persondir.support.AbstractAggregatingDefaultQueryPersonAttributeDao#getAttributesFromDao(java.util.Map, boolean, org.jasig.portal.services.persondir.IPersonAttributeDao, java.util.Map)
Copyright © 1998-2007 Java Architectures Special Interest Group. All Rights Reserved.