protected class LdapConnection.SearchRunnable extends Object implements Runnable
Modifier | Constructor and Description |
---|---|
protected |
SearchRunnable(int currentMessageId,
String dn,
int scope,
int sizeLimit,
int timelimit,
davmail.ldap.LdapConnection.LdapFilter ldapFilter,
Set<String> returningAttributes) |
Modifier and Type | Method and Description |
---|---|
protected void |
abandon()
Abandon search.
|
Map<String,ExchangeSession.Contact> |
contactFind(ExchangeSession.Condition condition,
Set<String> returningAttributes,
int maxCount)
Search users in contacts folder
|
void |
run() |
protected void |
sendPersons(int currentMessageId,
String baseContext,
Map<String,ExchangeSession.Contact> persons,
Set<String> returningAttributes)
Convert to LDAP attributes and send entry
|
protected void abandon()
public Map<String,ExchangeSession.Contact> contactFind(ExchangeSession.Condition condition, Set<String> returningAttributes, int maxCount) throws IOException
condition
- search filterreturningAttributes
- requested attributesmaxCount
- maximum item countIOException
- on errorprotected void sendPersons(int currentMessageId, String baseContext, Map<String,ExchangeSession.Contact> persons, Set<String> returningAttributes) throws IOException
currentMessageId
- current Message IdbaseContext
- request base context (BASE_CONTEXT or OD_BASE_CONTEXT)persons
- persons MapreturningAttributes
- returning attributesIOException
- on errorCopyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.