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 java.util.Set<IPersonAttributes> |
getAttributesFromDao(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> seed,
boolean isFirstQuery,
IPersonAttributeDao currentlyConsidering,
java.util.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, toMultivaluedSeedcompareTo, flattenResults, getMultivaluedUserAttributes, getMultivaluedUserAttributes, getOrder, getUserAttributes, getUserAttributes, setOrderprotected java.util.Set<IPersonAttributes> getAttributesFromDao(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> seed, boolean isFirstQuery, IPersonAttributeDao currentlyConsidering, java.util.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, IPersonAttributeDao, java.util.Set)Copyright © 2005-2018. All Rights Reserved.