|
Oracle® Calendar SDK Java API Reference 10g Release 1 (10.1.2) B25487-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.calendar.sdk.Query
Field Summary | |
static int |
CSDK_LOP_AND |
static int |
CSDK_LOP_OR |
static int |
CSDK_OP_EQ |
static int |
CSDK_OP_EQ_CS |
static int |
CSDK_OP_GE |
static int |
CSDK_OP_GT |
static int |
CSDK_OP_LE |
static int |
CSDK_OP_LT |
static int |
CSDK_OP_NE |
static int |
CSDK_OP_NE_CS |
static int |
CSDK_OP_STARTSWITH |
static int |
CSDK_OP_STARTSWITH_CS |
Constructor Summary | |
Query(java.lang.String in_property, int in_operator, java.lang.String in_value) Creates a query object to be used with CSDK_FetchEventsByQuery or CSDK_FetchContactsByQuery. |
Method Summary | |
void |
addCondition(java.lang.String in_property, int in_operator, java.lang.String in_value, int in_logicalOperator) Adds a condition to a query object. |
void |
dispose() Destroys a query object created by CSDK_CreateQuery. |
void |
finalize() Destroys a query object created by CSDK_CreateQuery. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CSDK_OP_NE
public static final int CSDK_OP_EQ
public static final int CSDK_OP_LT
public static final int CSDK_OP_LE
public static final int CSDK_OP_GT
public static final int CSDK_OP_GE
public static final int CSDK_OP_STARTSWITH
public static final int CSDK_OP_NE_CS
public static final int CSDK_OP_EQ_CS
public static final int CSDK_OP_STARTSWITH_CS
public static final int CSDK_LOP_AND
public static final int CSDK_LOP_OR
Constructor Detail |
public Query(java.lang.String in_property, int in_operator, java.lang.String in_value) throws Api.StatusException
An initial condition is specified (for example, "LOCATION equals "pub") and more conditions may be added using CSDK_AddConditionToQuery.
in_property
- The property name to be compared, e.g. "N"in_operator
- Integer specifying which comparison operator to usein_value
- Property value with which eligible objects will be comparedApi.StatusException
Method Detail |
public void finalize() throws java.lang.Throwable
java.lang.Throwable
public void dispose() throws java.lang.Throwable
java.lang.Throwable
public void addCondition(java.lang.String in_property, int in_operator, java.lang.String in_value, int in_logicalOperator) throws Api.StatusException
Each query may have multiple conditions, each AND'ed or OR'ed with the previous condition(s). There is no way to group conditions, and the OR operator (CSDK_LOP_OR) has a higher priority than the AND operator (CSDK_LOP_AND). Thus, C1 OR C2 AND C3 evaluates as (C1 OR C2) AND C3.
in_property
- The property name to be compared, e.g. "N"in_operator
- Integer specifying which comparison operator to usein_value
- Property value with which eligible objects will be comparedin_logicalOperator
- Specifies the operator to use between existing conditions and this one (for example, "OR", "AND")Api.StatusException
|
Oracle® Calendar SDK Java API Reference 10g Release 1 (10.1.2) B25487-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |