|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGDbDelQueryCmd
TWGDbDelQueryCmd is for deleting a saved query. The persistent object id for the query is used to identify the query to be deleted. Both User queries and Default queries may be deleted with this command, however it is recommended that an Director Extension that implements a user interface for queries should not allow users to delete Default queries.
The TWGDbDelQueryCmd 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_DEL_QUERY_CMD
Command code for the delete query command |
static int |
TWG_DB_DEL_QUERY_CMD_INTEL
Command code for the delete query command with intelByteBuffer parameters. |
Constructor Summary | |
---|---|
TWGDbDelQueryCmd(byte[] buf)
The constructor is only to be used in Director engine. |
|
TWGDbDelQueryCmd(long qId)
Constructor for the building the command. |
Method Summary | |
---|---|
java.lang.Long |
getQueryId()
Get the query identification |
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_DEL_QUERY_CMD
public static final int TWG_DB_DEL_QUERY_CMD_INTEL
Constructor Detail |
public TWGDbDelQueryCmd(long qId)
qId
- - the persistent object id of the query to be deletedpublic TWGDbDelQueryCmd(byte[] buf) throws TWGDbException
Constructor for the building the command from a buffer containing the intel byte buffer format of the command.
buf
- - the intel byte buffer format of the commandMethod Detail |
public java.lang.Long getQueryId()
public void setIntelByteBufferParms(Command cmd) throws TWGDbException
Build IntelByteBuffer parms version of this command and add them to the IPC command
cmd
- - the IPC command whose input parameters will be set by this method
-
- TWGDbException thrown for parameter or version errors
TWGDbException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |