org.eclipse.ecf.presence.search
Class AbstractUserSearchManager

java.lang.Object
  extended by org.eclipse.ecf.presence.search.AbstractUserSearchManager
All Implemented Interfaces:
IUserSearchManager

public abstract class AbstractUserSearchManager
extends java.lang.Object
implements IUserSearchManager

Abstract implementation of IUserSearchManager. Provides implementations of listener methods that subsclasses may use to avoid having to implement them themselves. This class may be subclassed as needed.

Since:
2.0

Constructor Summary
AbstractUserSearchManager()
           
 
Method Summary
 void addListener(IUserSearchListener l)
          Add listener to IUserSearchListener.
protected  void fireUserSearchEvent(IUserSearchEvent event)
          Fires a user search event, invoking the IUserSearchListener.
 void removeListener(IUserSearchListener l)
          Remove listener from the listener list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ecf.presence.search.IUserSearchManager
createCriteria, createRestriction, getUserPropertiesFields, isEnabled, search, search
 

Constructor Detail

AbstractUserSearchManager

public AbstractUserSearchManager()
Method Detail

addListener

public void addListener(IUserSearchListener l)
Add listener to IUserSearchListener. The listener's handleEvent method will be asynchronously called.

Parameters:
l - the IUserSearchListener to add

removeListener

public void removeListener(IUserSearchListener l)
Remove listener from the listener list.

Parameters:
l - the IUserSearchListener to remove

fireUserSearchEvent

protected void fireUserSearchEvent(IUserSearchEvent event)
Fires a user search event, invoking the IUserSearchListener.

Parameters:
event - IUserSearchEvent.