| | |
| | | // The matched values control associated with this search operation. |
| | | private MatchedValuesControl matchedValuesControl; |
| | | |
| | | // The persistent search associated with this search operation. |
| | | private PersistentSearch persistentSearch; |
| | | |
| | | // The search filter for the search operation. |
| | | private SearchFilter filter; |
| | | |
| | |
| | | clientAcceptsReferrals = true; |
| | | includeUsableControl = false; |
| | | responseSent = new AtomicBoolean(false); |
| | | persistentSearch = null; |
| | | returnLDAPSubentries = false; |
| | | matchedValuesControl = null; |
| | | realAttributesOnly = false; |
| | |
| | | clientAcceptsReferrals = true; |
| | | includeUsableControl = false; |
| | | responseSent = new AtomicBoolean(false); |
| | | persistentSearch = null; |
| | | returnLDAPSubentries = false; |
| | | matchedValuesControl = null; |
| | | } |
| | |
| | | if(cancelResult == null && this.cancelRequest == null) |
| | | { |
| | | this.cancelRequest = cancelRequest; |
| | | |
| | | if (persistentSearch != null) |
| | | { |
| | | persistentSearch.cancel(); |
| | | persistentSearch = null; |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public PersistentSearch getPersistentSearch() |
| | | { |
| | | return persistentSearch; |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public boolean isIncludeUsableControl() |
| | | { |
| | | return includeUsableControl; |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public void setPersistentSearch(PersistentSearch psearch) |
| | | { |
| | | this.persistentSearch = psearch; |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public Long getTimeLimitExpiration() |
| | | { |
| | | return timeLimitExpiration; |