org.datamanager.tools.kernelproxy
Class GetBasesWorker
java.lang.Object
|
+--org.datamanager.kernel.Simpleton
|
+--org.datamanager.tools.kernelproxy.InterfaceWorker
|
+--org.datamanager.tools.kernelproxy.GetBasesWorker
- public class GetBasesWorker
- extends InterfaceWorker
Retrieves all the bases of an entity matching a given constraint.
A call to get() will retrieve the Entity[] as an Object.
Note: This thread will only work when run within the kernel on an
approved thread.
GetBasesWorker
public GetBasesWorker(Entity entity,
EntityConstraint constraint)
- Creates a worker to get all the bases of an entity.
- Parameters:
entity
- the entity to get the bases ofconstraint
- the constraint to match
construct
protected Object construct()
throws DataManagerException
- Gets the bases on entity.
- Specified by:
construct
in class InterfaceWorker
- Returns:
- An array of Entities
DataManagerException
See the Helium Website