org.datamanager.tools.kernelproxy
Class SearchWorker

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton
        |
        +--org.datamanager.tools.kernelproxy.InterfaceWorker
              |
              +--org.datamanager.tools.kernelproxy.SearchWorker

public class SearchWorker
extends InterfaceWorker

Searches for entities matching the given constraint A call to get() will retrieve the EntityList as an Object. Note: This thread will only work when run within the kernel on an approved thread.


Nested Class Summary
 
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
 
Constructor Summary
SearchWorker(EntityConstraint constraint)
          Creates a worker to search for all the entities matching the constraint
 
Method Summary
protected  Object construct()
          Searches the pool and returns an EntityList of the matches.
 
Methods inherited from class org.datamanager.tools.kernelproxy.InterfaceWorker
get, getInformation, getValue, process
 
Methods inherited from class org.datamanager.kernel.Simpleton
clone, getPriority, setInformation, setPriority, start
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchWorker

public SearchWorker(EntityConstraint constraint)
Creates a worker to search for all the entities matching the constraint

Parameters:
constraint - the constraint to match
Method Detail

construct

protected Object construct()
                    throws DataManagerException
Searches the pool and returns an EntityList of the matches.

Specified by:
construct in class InterfaceWorker
DataManagerException


See the Helium Website