public class ServiceManagerQuery
extends java.lang.Object
Constructor and Description |
---|
ServiceManagerQuery() |
Modifier and Type | Method and Description |
---|---|
void |
addQueryField(ServiceManagerQueryField queryField)
Adds a field to this query
|
void |
constructFromMap(java.util.Map<java.lang.String,java.lang.String> fieldMap)
Create a new query to match the specified fields using the EQUALS operator
|
ServiceManagerQueryLogic |
getLogic()
Retrieve the query logic that will be used to construct the query
|
java.lang.String |
getQuery()
Construct a query by joining the query for each field using the query logic
|
java.util.List<ServiceManagerQueryField> |
getQueryFields()
Returns a list of fields that exist for this query
|
void |
setLogic(ServiceManagerQueryLogic logic)
Set the query logic that will be used to join query fields
|
void |
setQueryFields(java.util.List<ServiceManagerQueryField> fields)
Set the list of fields for this query
|
public void constructFromMap(java.util.Map<java.lang.String,java.lang.String> fieldMap)
fieldMap
- A Map of fields and values to search withpublic void addQueryField(ServiceManagerQueryField queryField)
queryField
- The query to be addedpublic java.util.List<ServiceManagerQueryField> getQueryFields()
public void setQueryFields(java.util.List<ServiceManagerQueryField> fields)
fields
- The new list of fieldspublic java.lang.String getQuery()
public ServiceManagerQueryLogic getLogic()
public void setLogic(ServiceManagerQueryLogic logic)
logic
-