|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGDbGetTablesCmd
TWGDbGetTablesCmd is used to get information about database tables.
The TWGDbGetTablesCmd 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):
A vector containing TWGDbTableReply object(s) will be returned as output parameter 0 if the return code is 0.
TWGDatabaseConstants
,
TWGDbTableReply
,
Serialized FormField Summary | |
---|---|
static int |
TWG_DB_GET_TABLE_CMD
Command code for the create query command that creates a saved query |
static int |
TWG_DB_GET_TABLE_CMD_INTEL
Command code for the creating a saved query using a command with intelByteBuffer parameters. |
Constructor Summary | |
---|---|
|
TWGDbGetTablesCmd()
Constructor for the building the command that requests information about all the Director tables. |
protected |
TWGDbGetTablesCmd(byte[] buf)
The constructor is only to be used in Director engine. |
|
TWGDbGetTablesCmd(java.lang.String tableName)
Constructor for the building the command to request information about one specific table. |
Method Summary | |
---|---|
protected int |
getBufLen()
Get length of buffer containing the all the information about the command. |
java.lang.String |
getDatabaseName()
Get the database name. |
java.lang.String |
getDbVersion()
Get the database version |
java.util.Locale |
getLocale()
Get the Locale used for translations |
java.lang.String |
getTableName()
Get the table name. |
void |
setDatabaseName(java.lang.String dbName)
Set database name which the requested tables are in. |
void |
setDbVersion(java.lang.String version)
Set version of the Director database. |
void |
setIntelByteBufferParms(Command cmd)
This method is public as an implementation side effect. |
void |
setLocale(java.util.Locale queryLocale)
Set the Locale to be used in translations |
void |
setLocale(java.lang.String language,
java.lang.String country)
Set the Locale to be used in translations |
void |
setLocale(java.lang.String language,
java.lang.String country,
java.lang.String variant)
Set the Locale to be used in translations |
void |
setTableName(java.lang.String tableName)
Set the table name about which information is requested. |
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_GET_TABLE_CMD
public static final int TWG_DB_GET_TABLE_CMD_INTEL
Constructor Detail |
public TWGDbGetTablesCmd()
public TWGDbGetTablesCmd(java.lang.String tableName)
tableName
- - the token table name.protected TWGDbGetTablesCmd(byte[] buf) throws TWGDbException
Constructor for the building the command from an Intel Byte Buffer format of the command.
buf
- - the command as a byte buffer in intel byte buffer formatMethod Detail |
public void setLocale(java.util.Locale queryLocale)
public void setLocale(java.lang.String language, java.lang.String country)
public void setLocale(java.lang.String language, java.lang.String country, java.lang.String variant)
public java.util.Locale getLocale()
public void setTableName(java.lang.String tableName)
public void setDatabaseName(java.lang.String dbName)
public void setDbVersion(java.lang.String version)
public java.lang.String getTableName()
public java.lang.String getDatabaseName()
public java.lang.String getDbVersion()
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
protected int getBufLen()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |