/** * {@inheritDoc} */ @Override public int getChangeTypes() { return getPersistentSearch().getChangeTypes(); }
/** * {@inheritDoc} */ @Override public int getChangeTypes() { return getPersistentSearch().getChangeTypes(); }
/** * {@inheritDoc} */ @Override public int getChangeTypes() { return getPersistentSearch().getChangeTypes(); }
/** * @see Object#equals(Object) */ @Override public boolean equals( Object other ) { if ( this == other ) { return true; } if ( !( other instanceof PersistentSearch ) ) { return false; } PersistentSearch otherControl = ( PersistentSearch ) other; return super.equals( other ) && ( changesOnly == otherControl.isChangesOnly() ) && ( returnECs == otherControl.isReturnECs() ) && ( changeTypes == otherControl.getChangeTypes() ); }
/** * @see Object#equals(Object) */ @Override public boolean equals( Object other ) { if ( this == other ) { return true; } if ( !( other instanceof PersistentSearch ) ) { return false; } PersistentSearch otherControl = ( PersistentSearch ) other; return super.equals( other ) && ( changesOnly == otherControl.isChangesOnly() ) && ( returnECs == otherControl.isReturnECs() ) && ( changeTypes == otherControl.getChangeTypes() ); }
/** * @see Object#equals(Object) */ @Override public boolean equals( Object other ) { if ( this == other ) { return true; } if ( !( other instanceof PersistentSearch ) ) { return false; } PersistentSearch otherControl = ( PersistentSearch ) other; return super.equals( other ) && ( changesOnly == otherControl.isChangesOnly() ) && ( returnECs == otherControl.isReturnECs() ) && ( changeTypes == otherControl.getChangeTypes() ); }
criteria.setFilter( req.getFilter() ); criteria.setScope( req.getScope() ); criteria.setEventMask( EventType.getEventTypes( psearch.getChangeTypes() ) ); getLdapServer().getDirectoryService().getEventService().addListener( persistentSearchListener, criteria ); req.addAbandonListener( new SearchAbandonListener( ldapServer, persistentSearchListener ) );