/** * {@inheritDoc} */ public ModifyRequest remove( String attributeName, byte[]... attributeValue ) { addModification( ModificationOperation.REMOVE_ATTRIBUTE, attributeName, attributeValue ); return this; }
/** *{@inheritDoc} */ @Override public ModifyRequest replace( String attributeName, String... attributeValue ) { addModification( ModificationOperation.REPLACE_ATTRIBUTE, attributeName, attributeValue ); return this; }
/** *{@inheritDoc} */ @Override public ModifyRequest add( String attributeName, String... attributeValue ) { addModification( ModificationOperation.ADD_ATTRIBUTE, attributeName, attributeValue ); return this; }
/** * {@inheritDoc} */ @Override public ModifyRequest remove( String attributeName, String... attributeValue ) { addModification( ModificationOperation.REMOVE_ATTRIBUTE, attributeName, attributeValue ); return this; }
/** *{@inheritDoc} */ @Override public ModifyRequest add( String attributeName, String... attributeValue ) { addModification( ModificationOperation.ADD_ATTRIBUTE, attributeName, attributeValue ); return this; }
/** * @see #add(String, String...) */ public ModifyRequest add( String attributeName, byte[]... attributeValue ) { addModification( ModificationOperation.ADD_ATTRIBUTE, attributeName, attributeValue ); return this; }
/** * @see #add(String, String...) */ public ModifyRequest add( String attributeName, byte[]... attributeValue ) { addModification( ModificationOperation.ADD_ATTRIBUTE, attributeName, attributeValue ); return this; }
/** *{@inheritDoc} */ @Override public ModifyRequest add( Attribute attr ) { addModification( attr, ModificationOperation.ADD_ATTRIBUTE ); return this; }
/** * @see #replace(String, String...) */ @Override public ModifyRequest replace( String attributeName ) { addModification( ModificationOperation.REPLACE_ATTRIBUTE, attributeName, StringConstants.EMPTY_STRINGS ); return this; }
/** * @see #replace(String, String...) */ public ModifyRequest replace( String attributeName, byte[]... attributeValue ) { addModification( ModificationOperation.REPLACE_ATTRIBUTE, attributeName, attributeValue ); return this; }
/** * {@inheritDoc} */ public ModifyRequest remove( String attributeName, byte[]... attributeValue ) { addModification( ModificationOperation.REMOVE_ATTRIBUTE, attributeName, attributeValue ); return this; }
/** * {@inheritDoc} */ @Override public ModifyRequest remove( Attribute attr ) { addModification( attr, ModificationOperation.REMOVE_ATTRIBUTE ); return this; }
/** *{@inheritDoc} */ @Override public ModifyRequest add( Attribute attr ) { addModification( attr, ModificationOperation.ADD_ATTRIBUTE ); return this; }
/** * @see #replace(String, String...) */ @Override public ModifyRequest replace( String attributeName ) { addModification( ModificationOperation.REPLACE_ATTRIBUTE, attributeName, StringConstants.EMPTY_STRINGS ); return this; }
/** * {@inheritDoc} */ @Override public ModifyRequest remove( Attribute attr ) { addModification( attr, ModificationOperation.REMOVE_ATTRIBUTE ); return this; }
/** *{@inheritDoc} */ @Override public ModifyRequest replace( Attribute attr ) { addModification( attr, ModificationOperation.REPLACE_ATTRIBUTE ); return this; }
private void addModification( ModificationOperation modOp, String attributeName, byte[]... attributeValue ) { Attribute attr = new DefaultAttribute( attributeName, attributeValue ); addModification( attr, modOp ); }
private void addModification( ModificationOperation modOp, String attributeName, String... attributeValue ) { Attribute attr = new DefaultAttribute( attributeName, attributeValue ); addModification( attr, modOp ); }
private void addModification( ModificationOperation modOp, String attributeName, String... attributeValue ) { Attribute attr = new DefaultAttribute( attributeName, attributeValue ); addModification( attr, modOp ); }
/** * {@inheritDoc} */ @Override public ModifyRequest remove( String attributerName ) { addModification( new DefaultModification( ModificationOperation.REMOVE_ATTRIBUTE, attributerName ) ); return this; }