|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGDbChangeQueryCmd
TWGDbChangeQueryCmd encapsulates the parameters for modifying an existing saved query. The persistent object id for the query is used to identify the query to be changed.
The TWGDbChangeQueryCmd object is passed as a parameter on an IPC command to the database query service node (TWGDatabaseConstants.QUERY_SERVICE_NODE_NAME).
Return codes (all found in TWGDatabaseConstants):
TWGDatabaseConstants
,
Serialized FormField Summary | |
---|---|
static int |
TWG_DB_CHANGE_QUERY_CMD
Command code for the change query command |
static int |
TWG_DB_CHANGE_QUERY_CMD_INTEL
Command code for the change query command with intelByteBuffer parameters |
Constructor Summary | |
---|---|
protected |
TWGDbChangeQueryCmd(byte[] idBuf,
byte[] parmsBuf)
This constructor is to be used only in the Director engine. |
|
TWGDbChangeQueryCmd(long qId,
TWGDbQueryParms query_parms)
Constructor for building the command. |
Method Summary | |
---|---|
java.lang.Long |
getQueryId()
Get the query persistent object id |
TWGDbQueryParms |
getQueryParms()
Get the query parameters |
void |
setIntelByteBufferParms(Command cmd)
This method is public as an implementation side effect. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TWG_DB_CHANGE_QUERY_CMD
public static final int TWG_DB_CHANGE_QUERY_CMD_INTEL
Constructor Detail |
public TWGDbChangeQueryCmd(long qId, TWGDbQueryParms query_parms)
query_parms
- - the query parametersTWGDbQueryParms
protected TWGDbChangeQueryCmd(byte[] idBuf, byte[] parmsBuf) throws TWGDbException
Constructor to build the command from an intel byte buffer format of the command.
idBuf
- - the query persistent object id in intel byte buffer formatparmsBuf
- - the query parms in intel byte buffer formatTWGDbQueryParms
Method Detail |
public java.lang.Long getQueryId()
public TWGDbQueryParms getQueryParms()
TWGDbQueryParms
public void setIntelByteBufferParms(Command cmd) throws TWGDbException
This method sets the parameters on an IPC command in intel byte buffer format.
TWGDbException
Command
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |