public Attribute put( AttributeType attributeType, Value... values ) throws LdapException { return clonedEntry.put( attributeType, values ); }
public Attribute put( String upId, AttributeType attributeType, Value... values ) throws LdapException { return clonedEntry.put( upId, attributeType, values ); }
public List<Attribute> put( Attribute... attributes ) throws LdapException { return clonedEntry.put( attributes ); }
/** * Add an attribute to the entry * * @param attr The attribute to be added * @throws org.apache.directory.api.ldap.model.exception.LdapException if something went wrong */ public void addAttribute( Attribute attr ) throws LdapException { entry.put( attr ); }
/** * Add an attribute to the entry * * @param attr The attribute to be added * @throws org.apache.directory.api.ldap.model.exception.LdapException if something went wrong */ public void addAttribute( Attribute attr ) throws LdapException { entry.put( attr ); }
public Attribute put( AttributeType attributeType, byte[]... values ) throws LdapException { return clonedEntry.put( attributeType, values ); }
public Attribute put( String upId, AttributeType attributeType, byte[]... values ) throws LdapException { return clonedEntry.put( attributeType, values ); }
public Attribute put( String upId, AttributeType attributeType, String... values ) throws LdapException { return clonedEntry.put( upId, attributeType, values ); }
/** * Add an attribute to the entry * * @param attr The attribute to be added * @throws org.apache.directory.api.ldap.model.exception.LdapException if something went wrong */ public void addAttribute( Attribute attr ) throws LdapException { entry.put( attr ); }
public Attribute put( String upId, String... values ) { return clonedEntry.put( upId, values ); }
private static void addAttribute( Entry attrs, String id ) throws LdapException { Attribute attr = schemaSubentry.get( id ); if ( ( attr != null ) && ( attr.size() > 0 ) ) { attrs.put( attr ); } }
/** * Create a new attribute * * @param type The attribute's type * @throws LdapException If the value is invalid */ public void addAttribute( String type ) throws LdapException { currentAttribute = new DefaultAttribute( type ); getDecorated().getEntry().put( currentAttribute ); }
/** * Create a new attribute * * @param type The attribute's type * @throws LdapException If the value is invalid */ public void addAttribute( byte[] type ) throws LdapException { currentAttribute = new DefaultAttribute( type ); getDecorated().getEntry().put( currentAttribute ); }
/** * Create a new attribute * * @param type The attribute's type * @throws LdapException If we can't add the new attributeType */ public void addAttribute( String type ) throws LdapException { currentAttribute = new DefaultAttribute( type ); getDecorated().getEntry().put( currentAttribute ); }
/** * Create a new attribute * * @param type The attribute's type * @throws LdapException If the value is invalid */ public void addAttribute( byte[] type ) throws LdapException { currentAttribute = new DefaultAttribute( type ); getDecorated().getEntry().put( currentAttribute ); }
/** * Create a new attribute * * @param type The attribute's type * @throws LdapException If the value is invalid */ public void addAttribute( String type ) throws LdapException { currentAttribute = new DefaultAttribute( type ); getDecorated().getEntry().put( currentAttribute ); }
/** * Create a new attribute * * @param type The attribute's type * @throws LdapException If the value is invalid */ public void addAttribute( byte[] type ) throws LdapException { currentAttribute = new DefaultAttribute( type ); getDecorated().getEntry().put( currentAttribute ); }
/** * Create a new attribute * * @param type The attribute's type * @throws LdapException If the value is invalid */ public void addAttribute( String type ) throws LdapException { currentAttribute = new DefaultAttribute( type ); getDecorated().getEntry().put( currentAttribute ); }
/** * Update the Operational Attribute with the reference to the subentry */ private void setOperationalAttribute( Entry entry, Dn subentryDn, AttributeType opAttr ) throws LdapException { Attribute operational = entry.get( opAttr ); if ( operational == null ) { operational = new DefaultAttribute( opAttr ); entry.put( operational ); } operational.add( subentryDn.getName() ); }
@Override public void delete( DeleteOperationContext deleteContext ) throws LdapException { // insert a new CSN into the entry, this is for replication Entry entry = deleteContext.getEntry(); Attribute csnAt = new DefaultAttribute( directoryService.getAtProvider().getEntryCSN(), directoryService .getCSN().toString() ); entry.put( csnAt ); next( deleteContext ); }