public class ObjectSelector extends Object implements IObjectSelector<IObjectManager>
| Constructor and Description |
|---|
ObjectSelector() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
all(AbstractPluginObject caller,
IContext context,
IResultSet result)
Performs a select all object of a given type.
|
static ObjectSelector |
get()
Gets the thread safe instance of finder.
|
IObjectManager |
getSource(AbstractPluginObject caller,
IContext context)
The source for object selection.
|
void |
release()
Release comparison resources.
|
List<Object> |
select(AbstractPluginObject caller,
IContext context,
Object instance,
RowAdapter row,
IResultSet result)
Performs a select on object repository to compare with the reference.
|
public static ObjectSelector get()
public IObjectManager getSource(AbstractPluginObject caller, IContext context) throws Exception
IObjectSelectorgetSource in interface IObjectSelector<IObjectManager>caller - The plugin.context - The testing context.Exception - On selection errors.public List<Object> all(AbstractPluginObject caller, IContext context, IResultSet result) throws Exception
IObjectSelectorall in interface IObjectSelector<IObjectManager>caller - The caller plugin.context - The test context.result - The result set.Exception - On selection errors.public List<Object> select(AbstractPluginObject caller, IContext context, Object instance, RowAdapter row, IResultSet result) throws Exception
IObjectSelectorselect in interface IObjectSelector<IObjectManager>caller - The caller plugin.context - The test context.instance - The object to be compared with repository version.row - The row which was the source for object creation.result - The result set.Exception - On selection errors.public void release()
throws Exception
IObjectSelectorrelease in interface IObjectSelector<IObjectManager>Exception - On release errors.Copyright © 2016. All rights reserved.