/** * Creates instance and sets criticality at same time. * * @param isCritical true if critical, false otherwise */ public ManageDsaITImpl( boolean isCritical ) { super( OID ); setCritical( isCritical ); } }
/** * @see Object#hashCode() */ @Override public int hashCode() { int h = 37; h = h * 17 + super.hashCode(); h = h * 17 + flags; return h; }
/** * Creates a new instance of PagedResultsDecorator with a newly created decorated * PagedResults Control. * * @param codec The LDAP service instance */ public PagedResultsDecorator( LdapApiService codec ) { this( codec, new PagedResultsImpl() ); }
/** * {@inheritDoc} */ @Override public void enableNotification( ChangeType changeType ) { changeTypes |= changeType.getValue(); }
/** * Creates a new instance of SortRequestDecorator. * * @param codec the LDAP codec */ public SortRequestDecorator( LdapApiService codec ) { super( codec, new SortRequestControlImpl() ); }
/** * Default constructor creates a PersistentSearch Control automatically * wrapped in a decorator object inside this container. * * @param codec The LDAP service instance */ public PersistentSearchDecorator( LdapApiService codec ) { this( codec, new PersistentSearchImpl() ); }
/** * Creates a new instance of SortResponseDecorator. * * @param codec the LDAP codec */ public SortResponseDecorator( LdapApiService codec ) { super( codec, new SortResponseControlImpl() ); }
/** * Creates a new instance of EntryChangeDecoder wrapping a newly created * EntryChange Control object. * * @param codec The LDAP service instance */ public EntryChangeDecorator( LdapApiService codec ) { super( codec, new EntryChangeImpl() ); }
/** * Default constructor. */ public ProxiedAuthzImpl() { super( OID ); // The criticality must be true setCritical( true ); }
/** * Default constructor * * @param codec The LDAP service instance */ public SubentriesDecorator( LdapApiService codec ) { this( codec, new SubentriesImpl() ); }
/** * Sets criticality when creating. * * @param isCritical true if critical, false otherwise. */ public CascadeImpl( boolean isCritical ) { super( OID ); setCritical( isCritical ); } }
/** * {@inheritDoc} */ @Override public void disableNotification( ChangeType changeType ) { changeTypes &= ~changeType.getValue(); }
/** * @see Object#hashCode() */ @Override public int hashCode() { int h = super.hashCode(); h = h * 37 + ( changesOnly ? 1 : 0 ); h = h * 37 + ( returnECs ? 1 : 0 ); h = h * 37 + changeTypes; return h; }
/** * Creates a new instance of SortRequestDecorator. * * @param codec the LDAP codec */ public SortRequestDecorator( LdapApiService codec ) { super( codec, new SortRequestControlImpl() ); }
/** * Creates a new instance of SortResponseDecorator. * * @param codec the LDAP codec */ public SortResponseDecorator( LdapApiService codec ) { super( codec, new SortResponseControlImpl() ); }
/** * Default constructor. */ public ProxiedAuthzImpl() { super( OID ); // The criticality must be true setCritical( true ); }
/** * {@inheritDoc} */ @Override public void disableNotification( ChangeType changeType ) { changeTypes &= ~changeType.getValue(); }
/** * @see Object#hashCode() */ @Override public int hashCode() { int h = super.hashCode(); h = h * 37 + ( visibility ? 1 : 0 ); return h; }
/** * @see Object#hashCode() */ @Override public int hashCode() { int h = super.hashCode(); h = h * 37 + ( visibility ? 1 : 0 ); return h; }
/** * @see Object#hashCode() */ @Override public int hashCode() { int h = super.hashCode(); h = h * 37 + ( changesOnly ? 1 : 0 ); h = h * 37 + ( returnECs ? 1 : 0 ); h = h * 37 + changeTypes; return h; }