/** * {@inheritDoc} */ public void action( LdapMessageContainer<SearchRequestDecorator> container ) throws DecoderException { TLV tlv = container.getCurrentTLV(); if ( tlv.getLength() == 0 ) { String msg = I18n.err( I18n.ERR_05137_EMPTY_OR_FILTER_PDU ); LOG.error( msg ); throw new DecoderException( msg ); } SearchRequestDecorator searchRequestDecorator = container.getMessage(); // We can allocate the SearchRequest Filter orFilter = new OrFilter( container.getTlvId() ); // Set the filter searchRequestDecorator.addCurrentFilter( orFilter ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_05150_INITIALIZE_OR_FILTER ) ); } } }
/** * {@inheritDoc} */ public void action( LdapMessageContainer<SearchRequestDecorator> container ) throws DecoderException { TLV tlv = container.getCurrentTLV(); if ( tlv.getLength() == 0 ) { String msg = I18n.err( I18n.ERR_05137_EMPTY_OR_FILTER_PDU ); LOG.error( msg ); throw new DecoderException( msg ); } SearchRequestDecorator searchRequestDecorator = container.getMessage(); // We can allocate the SearchRequest Filter orFilter = new OrFilter( container.getTlvId() ); // Set the filter searchRequestDecorator.addCurrentFilter( orFilter ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_05150_INITIALIZE_OR_FILTER ) ); } } }
/** * {@inheritDoc} */ public void action( LdapMessageContainer<SearchRequestDecorator> container ) throws DecoderException { TLV tlv = container.getCurrentTLV(); if ( tlv.getLength() == 0 ) { String msg = I18n.err( I18n.ERR_05137_EMPTY_OR_FILTER_PDU ); LOG.error( msg ); throw new DecoderException( msg ); } SearchRequestDecorator searchRequestDecorator = container.getMessage(); // We can allocate the SearchRequest Filter orFilter = new OrFilter( container.getTlvId() ); // Set the filter searchRequestDecorator.addCurrentFilter( orFilter ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_05150_INITIALIZE_OR_FILTER ) ); } } }
filter = new OrFilter();
filter = new OrFilter();
filter = new OrFilter();