public class MemberAndNonMemberModeVisitingRetriever extends VisitingRetriever<ExternalGroupVO>
USN_ATTRIBUTE_KEY
Constructor and Description |
---|
MemberAndNonMemberModeVisitingRetriever(String filter,
LdapConfiguration ldapConfiguration,
int timeout,
int pagingSize,
long internalHighestCommittedUSN,
boolean isPagingAllowed,
LdapGroupAttributesMapper ldapGroupAttributesMapper)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ExternalEntityVisitor<ExternalGroupVO> visitor,
boolean incremental)
This method retrieves all elements and let a visitor visit each of them.
|
protected org.springframework.ldap.core.ContextMapper |
getContextMapper()
Method to return a context mapper for mapping ldap results to the concrete result.
|
protected List<LdapSearchBaseDefinition> |
getSearchBaseDefinitions()
Method to get the search base definitions.
|
protected String |
getSearchFilter()
Method to get the search filter for entities within the repository
|
void |
setFilter(String filter)
Method to set the filter to use.
|
getCollectingNameClassPairCallbackHandler, getSearchControl
public MemberAndNonMemberModeVisitingRetriever(String filter, LdapConfiguration ldapConfiguration, int timeout, int pagingSize, long internalHighestCommittedUSN, boolean isPagingAllowed, LdapGroupAttributesMapper ldapGroupAttributesMapper) throws NamingException
filter
- The filter to search for.ldapConfiguration
- The ldap configuration to use.internalHighestCommittedUSN
- The usn to use.pagingSize
- The maximal size of requestet pages.timeout
- The timeout for connections.isPagingAllowed
- True, if paging is allowed.ldapGroupAttributesMapper
- Mapper for group attributes.NamingException
- Exceptionpublic void accept(ExternalEntityVisitor<ExternalGroupVO> visitor, boolean incremental) throws RetrieverException
accept
in class VisitingRetriever<ExternalGroupVO>
incremental
- Incremental mode is currently not supported in non member mode.visitor
- The visitor.RetrieverException
- Exception.protected org.springframework.ldap.core.ContextMapper getContextMapper()
getContextMapper
in class VisitingRetriever<ExternalGroupVO>
protected List<LdapSearchBaseDefinition> getSearchBaseDefinitions()
getSearchBaseDefinitions
in class VisitingRetriever<ExternalGroupVO>
protected String getSearchFilter()
getSearchFilter
in class VisitingRetriever<ExternalGroupVO>
public void setFilter(String filter)
filter
- The filter to set.Copyright © 2019 Communote team. All rights reserved.