| | |
| | | break; |
| | | |
| | | case SEARCH: |
| | | // First of all store the original operation basis so that returned |
| | | // entries can be sent to it later on |
| | | setOriginalOperationBasis(operation); |
| | | |
| | | LocalBackendSearchOperation searchOperation = |
| | | new LocalBackendSearchOperation((SearchOperation) operation); |
| | | // Set the calling workflow element so that returnEntry and |
| | | // returnReference callbacks can be invoked later on. |
| | | searchOperation.setCallingWorkflowElement(this); |
| | | searchOperation.processLocalSearch(backend); |
| | | break; |
| | | |
| | |
| | | newAttachment); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public boolean returnEntry( |
| | | Entry entry, |
| | | List<Control> controls) |
| | | { |
| | | boolean result; |
| | | |
| | | // There is no specific processing to perform on the returned entry. |
| | | // Just let the superclass execute the generic processing on the |
| | | // returned entry. |
| | | result = super.returnEntry(entry, controls); |
| | | |
| | | return result; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public boolean returnReference( |
| | | DN dn, |
| | | SearchResultReference reference) |
| | | { |
| | | boolean result; |
| | | |
| | | // There is no specific processing to perform on the returned reference. |
| | | // Just let the superclass execute the generic processing on the |
| | | // returned reference. |
| | | result = super.returnReference(dn, reference); |
| | | |
| | | return result; |
| | | } |
| | | |
| | | |
| | | } |
| | | |