| | |
| | | Set<PersistentSearchChangeType> changeTypes, |
| | | boolean returnECs) |
| | | { |
| | | |
| | | this.searchOperation = searchOperation; |
| | | this.changeTypes = changeTypes; |
| | | this.returnECs = returnECs; |
| | |
| | | */ |
| | | public SearchOperation getSearchOperation() |
| | | { |
| | | |
| | | return searchOperation; |
| | | } |
| | | |
| | |
| | | */ |
| | | public Set<PersistentSearchChangeType> getChangeTypes() |
| | | { |
| | | |
| | | return changeTypes; |
| | | } |
| | | |
| | |
| | | */ |
| | | public boolean getReturnECs() |
| | | { |
| | | |
| | | return returnECs; |
| | | } |
| | | |
| | |
| | | */ |
| | | public DN getBaseDN() |
| | | { |
| | | |
| | | return baseDN; |
| | | } |
| | | |
| | |
| | | */ |
| | | public SearchScope getScope() |
| | | { |
| | | |
| | | return scope; |
| | | } |
| | | |
| | |
| | | */ |
| | | public SearchFilter getFilter() |
| | | { |
| | | |
| | | return filter; |
| | | } |
| | | |
| | |
| | | */ |
| | | public void processAdd(AddOperation addOperation, Entry entry) |
| | | { |
| | | |
| | | |
| | | // See if we care about add operations. |
| | | if (! changeTypes.contains(PersistentSearchChangeType.ADD)) |
| | | { |
| | |
| | | */ |
| | | public void processDelete(DeleteOperation deleteOperation, Entry entry) |
| | | { |
| | | |
| | | |
| | | // See if we care about delete operations. |
| | | if (! changeTypes.contains(PersistentSearchChangeType.DELETE)) |
| | | { |
| | |
| | | public void processModify(ModifyOperation modifyOperation, Entry oldEntry, |
| | | Entry newEntry) |
| | | { |
| | | |
| | | |
| | | // See if we care about modify operations. |
| | | if (! changeTypes.contains(PersistentSearchChangeType.MODIFY)) |
| | | { |
| | |
| | | public void processModifyDN(ModifyDNOperation modifyDNOperation, |
| | | Entry oldEntry, Entry newEntry) |
| | | { |
| | | |
| | | |
| | | // See if we care about modify DN operations. |
| | | if (! changeTypes.contains(PersistentSearchChangeType.MODIFY_DN)) |
| | | { |
| | |
| | | */ |
| | | public String toString() |
| | | { |
| | | |
| | | StringBuilder buffer = new StringBuilder(); |
| | | toString(buffer); |
| | | return buffer.toString(); |
| | |
| | | */ |
| | | public void toString(StringBuilder buffer) |
| | | { |
| | | |
| | | buffer.append("PersistentSearch(connID="); |
| | | buffer.append(searchOperation.getConnectionID()); |
| | | buffer.append(",opID="); |