public final class SearchContext extends Object
MatchingOperations.simulateMatchTable(SearchContext)
.Constructor and Description |
---|
SearchContext(com.onwbp.adaptation.AdaptationTable table,
Map<com.orchestranetworks.schema.SchemaNode,Object> searchCriterias,
Locale locale)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Locale |
getLocale() |
Map<com.orchestranetworks.schema.SchemaNode,Object> |
getSearchCriterias() |
SearchFilter |
getSearchFieldFilter()
Returns the
SeachFieldFilter . |
com.onwbp.adaptation.AdaptationTable |
getTable() |
String |
getWorkflowContext() |
void |
setSearchFieldFilter(SearchFilter searchFilter)
Defines the
SeachFieldFilter to filter the records. |
void |
setWorkflowContext(String workflowContext)
Defines the workflow context to use to retrieve the matching policy.
|
public SearchContext(com.onwbp.adaptation.AdaptationTable table, Map<com.orchestranetworks.schema.SchemaNode,Object> searchCriterias, Locale locale)
table
- table into which the search will take place.searchCriterias
- the criteria to use for the search. For foreign key columns, must pass the label of the foreign key, not the raw value.locale
- the language to use.public com.onwbp.adaptation.AdaptationTable getTable()
public Locale getLocale()
public String getWorkflowContext()
public void setWorkflowContext(String workflowContext)
public SearchFilter getSearchFieldFilter()
SeachFieldFilter
.public void setSearchFieldFilter(SearchFilter searchFilter)
SeachFieldFilter
to filter the records.