|
|
Package com.dassault_systemes.enovwebsrvr.ews0infra.interfaces |
Interface ENOVIQuery
|
Class Hierarchy |
com.dassault_systemes.enovwebsrvr.ews0infra.interfaces.ENOVIQuery
Class Location |
Class Description |
public interface ENOVIQuery
Interface for query execution.
Field Summary |
String | DRIVER_CATEGORY |
String | OPERATOR_EQ |
String | OPERATOR_NEQ |
String | OPERATOR_LT |
String | OPERATOR_LTE |
String | OPERATOR_GT |
String | OPERATOR_GTE |
String | OPERATOR_LIKE |
String | OPERATOR_BETWEEN |
String | OPERATOR_IN |
String | OPERATOR_NOT_IN |
Constructor Summary |
Method Summary |
boolean | initialize(String DataType) |
void | setCaseSensitive(boolean iCaseSensitive) |
void | setGetAllVersions(boolean iGetAllVersions) |
boolean | addCriteria(String iAttrID, String iExpression) |
boolean | addCriteria(ENOVIAttribute iAttr, String iExpression) |
boolean | addCriteria(String iAttrID, String iExpression, int iRow) |
boolean | addCriteria(ENOVIAttribute iAttr, String iExpression, int iRow) |
boolean | addCriteria(ENOVIAttribute iAttr, String iOperator, String iOperand, int iRow) |
boolean | setOrderBy(String iAttrID, boolean iAsc) |
boolean | setOrderBy(ENOVIAttribute iAttr, boolean iAsc) |
int | runQuery() |
ENOVIDataObject[] | getQueryResults(int startingElement, int numElements) |
ENOVIDataObject[] | getQueryResults() |
String | getQueryXml() |
Field Detail |
String DRIVER_CATEGORYThe category value passed to the ENOVWebDriverDefinition class to retrieve the driver instance.
String OPERATOR_EQ
String OPERATOR_NEQ
String OPERATOR_LT
String OPERATOR_LTE
String OPERATOR_GT
String OPERATOR_GTE
String OPERATOR_LIKE
String OPERATOR_BETWEEN
String OPERATOR_IN
String OPERATOR_NOT_IN
Constructor Detail |
Method Detail |
boolean initialize(String DataType)Initialize the data type for the query.
void setCaseSensitive(boolean iCaseSensitive)Specifies the case sensitivity for the query. Default case sensitivity is implemenation specific.
void setGetAllVersions(boolean iGetAllVersions)Specifies retrieval of all versions or only the latest (where applicable)
boolean addCriteria(String iAttrID, String iExpression)Adds query criteria to row 0. The user expression will be parsed and the operator is assumed to be "like". Returns true if criteria was added successfully
boolean addCriteria(ENOVIAttribute iAttr, String iExpression)Adds query criteria to row 0. The user expression will be parsed and the operator is assumed to be "like". Returns true if criteria was added successfully
boolean addCriteria(String iAttrID, String iExpression, int iRow)Adds query criteria for a specific row, where each row of criteria are "OR" conditions. The user expression will be parsed and the operator is assumed to be "like". Returns true if criteria was added successfully
boolean addCriteria(ENOVIAttribute iAttr, String iExpression, int iRow)Adds query criteria for a specific row, where each row of criteria are "OR" conditions. The user expression will be parsed and the operator is assumed to be "like". Returns true if criteria was added successfully
boolean addCriteria(ENOVIAttribute iAttr, String iOperator, String iOperand, int iRow)Adds query criteria for a specific row. Returns true if criteria was added successfully
boolean setOrderBy(String iAttrID, boolean iAsc)
boolean setOrderBy(ENOVIAttribute iAttr, boolean iAsc)
int runQuery()Executes the query and returns the number of results.
ENOVIDataObject[] getQueryResults(int startingElement, int numElements)Executes the query and returns the data range from the query. The startingElement index is base 0.
ENOVIDataObject[] getQueryResults()Returns all results for the query
String getQueryXml()Gets an xml string representation of this query