|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGDbFindTableByClassnameCmd
TWGDbFindTableByClassnameCmd encapsulates the parameters for finding the token name for the table that corresponds to the table class name. It is passed as a parameter on an IPC command to the database update service node.
If the return code from this command is zero, a TWGDbFindTableReply object is passed as an ouput parameter on the IPC response.
Return codes (all found in TWGDatabaseConstants):
Field Summary | |
---|---|
static int |
TWG_DB_FIND_TABLE_BY_CLASSNAME_CMD
Command code for the delete rows command to be used in IPC command |
static int |
TWG_DB_FIND_TABLE_BY_CLASSNAME_CMD_INTEL
Command code for the delete rows command with intelByteBuffer parameters. |
Constructor Summary | |
---|---|
protected |
TWGDbFindTableByClassnameCmd(Command cmd)
This method is protected as an implementation side effect. |
|
TWGDbFindTableByClassnameCmd(java.lang.String tableClassName)
Constructor for the building the command. |
Method Summary | |
---|---|
protected int |
getIntelByteBufferSize()
Determines the IntelByteBuffer size for the first parameter (header) of a the command |
java.lang.String |
getTableClassName()
Get the table class name |
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_FIND_TABLE_BY_CLASSNAME_CMD
public static final int TWG_DB_FIND_TABLE_BY_CLASSNAME_CMD_INTEL
Constructor Detail |
public TWGDbFindTableByClassnameCmd(java.lang.String tableClassName)
protected TWGDbFindTableByClassnameCmd(Command cmd) throws TWGDbException
cmd
- - the command in IntelByteBufferFormat
-
- TWGDbException thrown for version errors
-
- TWGDbParameterException thrown for parameter errors
TWGDbException
Method Detail |
public java.lang.String getTableClassName()
public void setIntelByteBufferParms(Command cmd) throws TWGDbException
cmd
- - the IPC command whose input parameters will be set by this method
-
- TWGDbException thrown for parameter or version errors
TWGDbException
protected int getIntelByteBufferSize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |