Codota Logo
Rdn.addAVA
Code IndexAdd Codota to your IDE (free)

How to use
addAVA
method
in
org.apache.directory.api.ldap.model.name.Rdn

Best Java code snippets using org.apache.directory.api.ldap.model.name.Rdn.addAVA (Showing top 12 results out of 315)

  • Common ways to obtain Rdn
private void myMethod () {
Rdn r =
  • Codota IconDn dn;dn.getRdn()
  • Codota IconSchemaManager schemaManager;new Rdn(schemaManager)
  • Codota IconModifyDnRequest modifyDnRequest;modifyDnRequest.getNewRdn()
  • Smart code suggestions by Codota
}
origin: org.apache.directory.api/api-all

/**
 * Creates a new schema aware RDN from a list of AVA
 * 
 * @param schemaManager The schemaManager to use
 * @param avas The AVA that will be used
 * @throws LdapInvalidDnException If the RDN is invalid
 */
public Rdn( SchemaManager schemaManager, Ava... avas ) throws LdapInvalidDnException
{
  StringBuilder buffer = new StringBuilder();
  
  for ( int i = 0; i < avas.length; i++ )
  {
    if ( i > 0 )
    {
      buffer.append( '+' );
    }
    
    addAVA( schemaManager, avas[i] );
    buffer.append( avas[i].getName() );
  }
  
  setUpName( buffer.toString() );
  hashCode();
}
origin: org.apache.directory.api/api-ldap-model

/**
 * Creates a new schema aware RDN from a list of AVA
 * 
 * @param schemaManager The schemaManager to use
 * @param avas The AVA that will be used
 * @throws LdapInvalidDnException If the RDN is invalid
 */
public Rdn( SchemaManager schemaManager, Ava... avas ) throws LdapInvalidDnException
{
  StringBuilder buffer = new StringBuilder();
  
  for ( int i = 0; i < avas.length; i++ )
  {
    if ( i > 0 )
    {
      buffer.append( '+' );
    }
    
    addAVA( schemaManager, avas[i] );
    buffer.append( avas[i].getName() );
  }
  
  setUpName( buffer.toString() );
  hashCode();
}
origin: org.apache.directory.api/api-ldap-client-all

/**
 * Creates a new schema aware RDN from a list of AVA
 * 
 * @param schemaManager The schemaManager to use
 * @param avas The AVA that will be used
 * @throws LdapInvalidDnException If the RDN is invalid
 */
public Rdn( SchemaManager schemaManager, Ava... avas ) throws LdapInvalidDnException
{
  StringBuilder buffer = new StringBuilder();
  
  for ( int i = 0; i < avas.length; i++ )
  {
    if ( i > 0 )
    {
      buffer.append( '+' );
    }
    
    addAVA( schemaManager, avas[i] );
    buffer.append( avas[i].getName() );
  }
  
  setUpName( buffer.toString() );
  hashCode();
}
origin: org.apache.directory.api/api-ldap-model

addAVA( schemaManager, upType, new Value( attributeType, upValue ) );
addAVA( schemaManager, upType, new Value( upValue ) );
origin: org.apache.directory.api/api-all

addAVA( schemaManager, upType, new Value( attributeType, upValue ) );
addAVA( schemaManager, upType, new Value( upValue ) );
origin: org.apache.directory.api/api-ldap-client-all

addAVA( schemaManager, upType, new Value( attributeType, upValue ) );
addAVA( schemaManager, upType, new Value( upValue ) );
origin: org.apache.directory.api/api-all

rdn.addAVA( schemaManager, ava );
origin: org.apache.directory.api/api-ldap-model

rdn.addAVA( schemaManager, ava );
origin: org.apache.directory.api/api-ldap-client-all

rdn.addAVA( schemaManager, ava );
origin: org.apache.directory.api/api-all

rdn.addAVA( schemaManager, ava );
origin: org.apache.directory.api/api-ldap-client-all

rdn.addAVA( schemaManager, ava );
origin: org.apache.directory.api/api-ldap-model

rdn.addAVA( schemaManager, ava );
org.apache.directory.api.ldap.model.nameRdnaddAVA

Javadoc

Add an Ava to the current Rdn

Popular methods of Rdn

  • <init>
    Creates a new RDN from a list of AVA
  • getName
  • getValue
    Get the value of the Ava which type is given as an argument.
  • equals
    Compares the specified Object with this Rdn for equality. Returns true if the given object is also a
  • getNormType
    Return the normalized type, or the first one of we have more than one (the lowest)
  • size
    Get the number of Avas of this Rdn
  • getAva
    Get the Ava which type is given as an argument. If we have more than one value associated with the t
  • getNormName
  • escapeValue
    Transform a value in a String, accordingly to RFC 2253
  • readExternal
    We read back the data to create a new RDB. The structure read is exposed in the Rdn#writeExternal(Ob
  • writeExternal
    A Rdn is composed of on to many Avas (AttributeType And Value). We should write all those Avas seque
  • isSchemaAware
    Tells if the Rdn is schema aware.
  • writeExternal,
  • isSchemaAware,
  • toString,
  • addOrdered,
  • buildNormRdn,
  • clear,
  • compareTo,
  • getEscaped,
  • getType

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • getApplicationContext (Context)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now