|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alarmpoint.servicemanager.cm.ServiceManagerQuery
public class ServiceManagerQuery
A utility used to create queries suitable to be used in Service Manager web service calls
Constructor Summary | |
---|---|
ServiceManagerQuery()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceManagerQuery()
Method Detail |
---|
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
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |