|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.dc.db.Query
Creates a query String by using the QueryOptions, the QueryWhat, the QueryConditions and the query type
Field Summary | |
static int |
_CREATE
|
static int |
_DELETE
|
static int |
_INSERT
|
static int |
_SELECT
|
static int |
_UNDEFINED
|
static int |
_UPDATE
|
Constructor Summary | |
Query(int queryType,
DcObject dco,
QueryOptions options,
RequestCollection requestors)
Creates a new Query object. |
Method Summary | |
void |
finalize()
|
java.lang.String |
getObjectID()
|
java.lang.String[] |
getQueries()
|
int |
getQueryType()
Returns the query type |
RequestCollection |
getRequestors()
Returns the requestors |
boolean |
getSilence()
Specifies whether the query should report events to the log and the UI |
boolean |
isBatch()
Indicates if this query is part of a batch |
boolean |
isEndOfBatch()
Indicates if this query is the end of a batch |
void |
setBatch(boolean endOfBatch)
Sets this query as being part of a batch |
void |
setSilence(boolean silence)
Sets the query to silent. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int _UNDEFINED
public static final int _UPDATE
public static final int _CREATE
public static final int _INSERT
public static final int _SELECT
public static final int _DELETE
Constructor Detail |
public Query(int queryType, DcObject dco, QueryOptions options, RequestCollection requestors)
Method Detail |
public void setBatch(boolean endOfBatch)
endOfBatch
- last of the batch y/npublic boolean isBatch()
public boolean isEndOfBatch()
public java.lang.String getObjectID()
public int getQueryType()
public boolean getSilence()
public void setSilence(boolean silence)
silence
- specifies if the query should run silentlypublic RequestCollection getRequestors()
public java.lang.String[] getQueries()
public void finalize() throws java.lang.Throwable
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |