public class RESTQbe
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
OP_EQ |
static int |
OP_GT |
static int |
OP_GTEQ |
static int |
OP_IN |
static int |
OP_LIKE |
static int |
OP_LT |
static int |
OP_LTEQ |
static int |
OP_NEQ |
Constructor and Description |
---|
RESTQbe(java.lang.String resourceName,
UserInfo userInfo)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getQbe()
Get formatted QBE.
|
java.lang.Object |
getQbe(java.lang.String querySeparator)
Resets QBE.
|
boolean |
hasInvalidQbe() |
boolean |
hasQbe()
Indicates if QBE exists.
|
void |
removeQbe(java.lang.String propName)
Clears QBE clause.
|
void |
resetQbe() |
void |
setInvalidQbe(java.lang.String propName,
java.lang.String value) |
void |
setQbe(java.lang.String propName,
int op,
boolean value)
Sets boolean QBE.
|
void |
setQbe(java.lang.String propName,
int op,
java.util.Date dt)
Sets integer QBE.
|
void |
setQbe(java.lang.String propName,
int op,
double value)
Sets double QBE.
|
void |
setQbe(java.lang.String propName,
int op,
long value)
Sets Long QBE.
|
void |
setQbe(java.lang.String propName,
int op,
java.lang.String value)
Sets String QBE.
|
public static final int OP_EQ
public static final int OP_NEQ
public static final int OP_GTEQ
public static final int OP_LTEQ
public static final int OP_LT
public static final int OP_IN
public static final int OP_GT
public static final int OP_LIKE
public RESTQbe(java.lang.String resourceName, UserInfo userInfo)
resourceName
- Resource Name.userInfo
- UserInfo objectpublic boolean hasQbe()
public void removeQbe(java.lang.String propName)
propName
- name of the property to removepublic void setQbe(java.lang.String propName, int op, java.lang.String value)
propName
- property namevalue
- property value as stringpublic void setQbe(java.lang.String propName, int op, long value)
propName
- property namevalue
- property value as longpublic void setQbe(java.lang.String propName, int op, boolean value)
propName
- property namevalue
- property value as booleanpublic void setQbe(java.lang.String propName, int op, double value)
propName
- property namevalue
- property value as booleanpublic void setQbe(java.lang.String propName, int op, java.util.Date dt)
propName
- property namevalue
- property value as booleanpublic java.lang.Object getQbe()
public java.lang.Object getQbe(java.lang.String querySeparator)
public void resetQbe()
public void setInvalidQbe(java.lang.String propName, java.lang.String value)
public boolean hasInvalidQbe()