public class MergingPersonAttributeDaoImpl extends AbstractAggregatingDefaultQueryPersonAttributeDao
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.attrMerger, personAttributeDaos, recoverExceptions, stopOnSuccessloggerWILDCARD, WILDCARD_PATTERN| Constructor and Description |
|---|
MergingPersonAttributeDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<IPersonAttributes> |
getAttributesFromDao(Map<String,List<Object>> seed,
boolean isFirstQuery,
IPersonAttributeDao currentlyConsidering,
Set<IPersonAttributes> resultPeople)
Calls the current IPersonAttributeDao from using the seed.
|
getAvailableQueryAttributes, getMerger, getPeopleWithMultivaluedAttributes, getPersonAttributeDaos, getPossibleUserAttributeNames, isRecoverExceptions, isStopOnSuccess, setMerger, setPersonAttributeDaos, setRecoverExceptions, setStopOnSuccessgetPerson, getUsernameAttributeProvider, setUsernameAttributeProvider, toSeedMapgetPeople, toMultivaluedSeedflattenResults, getMultivaluedUserAttributes, getMultivaluedUserAttributes, getUserAttributes, getUserAttributesprotected Set<IPersonAttributes> getAttributesFromDao(Map<String,List<Object>> seed, boolean isFirstQuery, IPersonAttributeDao currentlyConsidering, Set<IPersonAttributes> resultPeople)
getAttributesFromDao in class AbstractAggregatingDefaultQueryPersonAttributeDaoseed - 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.resultPeople - The Map of results from all previous queries, may be null.IPersonAttributeDao.getUserAttributes(Map).AbstractAggregatingDefaultQueryPersonAttributeDao.getAttributesFromDao(java.util.Map, boolean, org.jasig.services.persondir.IPersonAttributeDao, java.util.Set)Copyright © 2015 Jasig. All Rights Reserved.