| | |
| | | // The DN of the entry for the modify operation. |
| | | private DN entryDN; |
| | | |
| | | // The current entry, before any changes are applied. |
| | | private Entry currentEntry; |
| | | |
| | | // The modified entry that will be stored in the backend. |
| | | private Entry modifiedEntry; |
| | | |
| | |
| | | |
| | | entryDN = null; |
| | | modifications = null; |
| | | currentEntry = null; |
| | | modifiedEntry = null; |
| | | responseControls = new ArrayList<Control>(); |
| | | cancelRequest = null; |
| | |
| | | new LDAPAttribute(m.getAttribute()))); |
| | | } |
| | | |
| | | currentEntry = null; |
| | | modifiedEntry = null; |
| | | responseControls = new ArrayList<Control>(); |
| | | cancelRequest = null; |
| | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the current entry before any modifications are applied. This |
| | | * will not be available to pre-parse plugins. |
| | | * |
| | | * @return The current entry, or <CODE>null</CODE> if it is not yet |
| | | * available. |
| | | */ |
| | | public Entry getCurrentEntry() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "getCurrentEntry"); |
| | | |
| | | return currentEntry; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the modified entry that is to be written to the backend. This |
| | | * will be available to pre-operation plugins, and if such a plugin does make |
| | | * a change to this entry, then it is also necessary to add that change to |
| | |
| | | assert debugEnter(CLASS_NAME, "run"); |
| | | |
| | | setResultCode(ResultCode.UNDEFINED); |
| | | Entry currentEntry = null; |
| | | |
| | | |
| | | // Get the plugin config manager that will be used for invoking plugins. |