/** * {@inheritDoc} */ @Override public CompareRequest setAttributeId( String attrId ) { getDecorated().setAttributeId( attrId ); return this; }
/** * Set the attribute description * * @param attributeDesc The attributeDesc to set. */ public void setAttributeDesc( String attributeDesc ) { getDecorated().setAttributeId( attributeDesc ); }
/** * {@inheritDoc} */ @Override public CompareRequest setAttributeId( String attrId ) { getDecorated().setAttributeId( attrId ); return this; }
/** * {@inheritDoc} */ @Override public CompareRequest setAttributeId( String attrId ) { getDecorated().setAttributeId( attrId ); return this; }
/** * {@inheritDoc} */ @Override public CompareRequest setAttributeId( String attrId ) { getDecorated().setAttributeId( attrId ); return this; }
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, byte[] value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); compareRequest.setAssertionValue( value ); CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }
/** * {@inheritDoc} */ @Override public void action( Dsmlv2Container container ) throws XmlPullParserException { CompareRequest compareRequest = ( CompareRequest ) container.getBatchRequest().getCurrentRequest(); XmlPullParser xpp = container.getParser(); // Checking and adding the request's attributes String attributeId; // name attributeId = xpp.getAttributeValue( "", NAME ); if ( attributeId != null ) { compareRequest.setAttributeId( attributeId ); } else { throw new XmlPullParserException( I18n.err( I18n.ERR_03002_NAME_ATTRIBUTE_REQUIRED ), xpp, null ); } } };
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, String value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); compareRequest.setAssertionValue( value ); CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, byte[] value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); compareRequest.setAssertionValue( value ); CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, String value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); compareRequest.setAssertionValue( value ); CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, byte[] value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); compareRequest.setAssertionValue( value ); CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, byte[] value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); compareRequest.setAssertionValue( value ); CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, String value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); compareRequest.setAssertionValue( value ); CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, String value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); compareRequest.setAssertionValue( value ); CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }
compareRequest.setAttributeId( type );
compareRequest.setAttributeId( type );
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, Value value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); if ( value.isHumanReadable() ) { compareRequest.setAssertionValue( value.getValue() ); } else { compareRequest.setAssertionValue( value.getBytes() ); } CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, Value value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); if ( value.isHumanReadable() ) { compareRequest.setAssertionValue( value.getValue() ); } else { compareRequest.setAssertionValue( value.getBytes() ); } CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, Value value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); if ( value.isHumanReadable() ) { compareRequest.setAssertionValue( value.getValue() ); } else { compareRequest.setAssertionValue( value.getBytes() ); } CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }
/** * {@inheritDoc} */ @Override public boolean compare( Dn dn, String attributeName, Value value ) throws LdapException { CompareRequest compareRequest = new CompareRequestImpl(); compareRequest.setName( dn ); compareRequest.setAttributeId( attributeName ); if ( value.isHumanReadable() ) { compareRequest.setAssertionValue( value.getValue() ); } else { compareRequest.setAssertionValue( value.getBytes() ); } CompareResponse compareResponse = compare( compareRequest ); return processResponse( compareResponse ); }