/** * Creates a new instance of SortRequestDecorator. * * @param codec the LDAP codec */ public SortRequestDecorator( LdapApiService codec ) { super( codec, new SortRequestControlImpl() ); }
/** * Creates a new instance of SortRequestDecorator. * * @param codec the LDAP codec */ public SortRequestDecorator( LdapApiService codec ) { super( codec, new SortRequestControlImpl() ); }
/** * Creates a new instance of SortRequestDecorator. * * @param codec the LDAP codec */ public SortRequestDecorator( LdapApiService codec ) { super( codec, new SortRequestControlImpl() ); }
SortRequest ctrl = new SortRequestControlImpl(); ctrl.addSortKey( sk ); req.addControl( ctrl );
SortRequest ctrl = new SortRequestControlImpl(); ctrl.addSortKey( sk ); req.addControl( ctrl );
sk.setReverseOrder( true ); ctrl = new SortRequestControlImpl(); ctrl.addSortKey( sk );
} else if (SortRequestControl.OID.equals(requestControl.getOID())) { final SortRequestControl c = (SortRequestControl) requestControl; ctl = new SortRequestControlImpl(); for (org.ldaptive.control.SortKey k : c.getSortKeys()) { ((SortRequestControlImpl) ctl).addSortKey(