| | |
| | | List<RawAttribute> rawAttributes, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | AddOperationBasis addOperation = |
| | | new AddOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, rawEntryDN, |
| | |
| | | operationalAttributes, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | AddOperationBasis addOperation = |
| | | new AddOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, entryDN, |
| | |
| | | ByteString password, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | BindOperationBasis bindOperation = |
| | | new BindOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, |
| | |
| | | ByteString password, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | BindOperationBasis bindOperation = |
| | | new BindOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, |
| | |
| | | ByteString saslCredentials, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | BindOperationBasis bindOperation = |
| | | new BindOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, |
| | |
| | | ByteString saslCredentials, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | BindOperationBasis bindOperation = |
| | | new BindOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, |
| | |
| | | ByteString assertionValue, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | CompareOperationBasis compareOperation = |
| | | new CompareOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, rawEntryDN, |
| | |
| | | ByteString assertionValue, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | CompareOperationBasis compareOperation = |
| | | new CompareOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, entryDN, |
| | |
| | | public DeleteOperation processDelete(ByteString rawEntryDN, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | DeleteOperationBasis deleteOperation = |
| | | new DeleteOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, rawEntryDN); |
| | |
| | | public DeleteOperation processDelete(DN entryDN, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | DeleteOperationBasis deleteOperation = |
| | | new DeleteOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, entryDN); |
| | |
| | | ByteString requestValue, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | ExtendedOperationBasis extendedOperation = |
| | | new ExtendedOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, requestOID, |
| | |
| | | List<RawModification> rawModifications, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | ModifyOperationBasis modifyOperation = |
| | | new ModifyOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, rawEntryDN, |
| | | rawModifications); |
| | | modifyOperation.setInternalOperation(true); |
| | | modifyOperation.run(); |
| | | |
| | | return modifyOperation; |
| | | } |
| | | |
| | |
| | | List<Modification> modifications, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | ModifyOperationBasis modifyOperation = |
| | | new ModifyOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, entryDN, |
| | | modifications); |
| | | modifyOperation.setInternalOperation(true); |
| | | modifyOperation.run(); |
| | | |
| | | return modifyOperation; |
| | | } |
| | | |
| | |
| | | ByteString rawNewSuperior, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | ModifyDNOperationBasis modifyDNOperation = |
| | | new ModifyDNOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, rawEntryDN, |
| | |
| | | DN newSuperior, |
| | | List<Control> controls) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | ModifyDNOperationBasis modifyDNOperation = |
| | | new ModifyDNOperationBasis(this, nextOperationID(), |
| | | nextMessageID(), controls, entryDN, |
| | |
| | | List<Control> controls, |
| | | InternalSearchListener searchListener) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | InternalSearchOperation searchOperation = |
| | | new InternalSearchOperation(this, nextOperationID(), |
| | | nextMessageID(), controls, |
| | |
| | | List<Control> controls, |
| | | InternalSearchListener searchListener) |
| | | { |
| | | if (controls == null) |
| | | { |
| | | controls = new ArrayList<Control>(0); |
| | | } |
| | | |
| | | InternalSearchOperation searchOperation = |
| | | new InternalSearchOperation(this, nextOperationID(), |
| | | nextMessageID(), controls, |