|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGDbQueryReply
The TWGDbQueryReply class is used for sending information about a query through the IPC. It is sent as a response to the get queries command.
Constructor Summary | |
---|---|
TWGDbQueryReply(byte[] buf)
This method is public as an implementation side effect. |
|
TWGDbQueryReply(long qId,
java.lang.String id_string,
java.lang.String queryDisplayName,
java.util.Vector tablesUsed,
java.util.Vector tokenNames,
java.util.Vector realNames,
java.util.Vector types,
java.util.Vector lengths,
java.util.Vector fullNames,
java.util.Vector columnDisplayNames,
java.lang.String userId,
java.lang.String graphic,
boolean isDefaultQuery,
boolean isSave,
boolean isTranslation,
int format,
TWGDbColumnFilter column_filter)
Constructor for the reply. |
|
TWGDbQueryReply(long qId,
java.lang.String id_string,
java.lang.String queryDisplayName,
java.util.Vector tablesUsed,
java.util.Vector tokenNames,
java.util.Vector realNames,
java.util.Vector types,
java.util.Vector lengths,
java.util.Vector fullNames,
java.util.Vector columnDisplayNames,
java.lang.String userId,
java.lang.String graphic,
boolean isDefaultQuery,
boolean isSave,
boolean isTranslation,
int format,
TWGDbColumnFilter column_filter,
java.lang.String group_name)
Constructor for the reply. |
Method Summary | |
---|---|
protected int |
getBufLen()
The method is to be used only in the IBM Director engine. |
java.util.Vector |
getColumnDisplayNames()
Get the list of column display names selected in the query. |
TWGDbColumnFilter |
getColumnFilter()
Get the query column filter. |
java.util.Vector |
getColumnLengths()
Get thelist of the lengths of the selected columns in the query. |
java.util.Vector |
getColumnRealNames()
Get the list of the real names of the selected columns in the query. |
java.util.Vector |
getColumnTokenNames()
Gets the list of the token names of the selected columns in the query. |
java.util.Vector |
getColumnTypes()
Get the list of the data type names of the selected columns in the query. |
boolean |
getDefault()
Is the query a default query? |
java.util.Vector |
getFullColumnNames()
Get the a list of the names of selected columns in the query. |
java.lang.String |
getGroupName()
Get the query group name. |
java.lang.String |
getIdString()
Get the unique id string for a default query |
java.lang.String |
getQueryDisplayName()
Gets the displayable name for the query. |
int |
getQueryFormat()
Get the query format. |
java.lang.String |
getQueryGraphic()
Get the name of the icon for the query |
long |
getQueryId()
Get the persistent object id for the query |
boolean |
getSave()
Is the query a saved query |
java.util.Vector |
getTablesUsed()
Get list of table token names for tables used in the query. |
boolean |
getTranslation()
Is the query a translated query? |
java.lang.String |
getUserId()
Gets the user id for the query. |
protected void |
setBufferParms(Command cmd)
The constructor is to be used only in the IBM Director engine. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TWGDbQueryReply(long qId, java.lang.String id_string, java.lang.String queryDisplayName, java.util.Vector tablesUsed, java.util.Vector tokenNames, java.util.Vector realNames, java.util.Vector types, java.util.Vector lengths, java.util.Vector fullNames, java.util.Vector columnDisplayNames, java.lang.String userId, java.lang.String graphic, boolean isDefaultQuery, boolean isSave, boolean isTranslation, int format, TWGDbColumnFilter column_filter)
qId
- - the persistent object id for the queryqueryDisplayName
- - suggested query title to be used in printout and displays.tablesUsed
- - the table tokens used in the querytokenNames
- - the token names of the columns specified in the query 'SELECT' statement.realNames
- - the real names of the columns specified in the query 'SELECT' statement.types
- - the list of data type names of the columns specified in the query 'SELECT' statement.lengths
- - the length in characters if a column is charactor type, 0 if the column isn't.fullNames
- - a vector to store a list of table name plus column token names for the columns in the query.columnDisplayNames
- - the display names for the query columnsuserId
- - user id for the querygraphic
- - icon to be displayed on the inventory console for the query.isDefaultQuery
- - is the query a default query?isSave
- - is the query a saved query?isTranslation
- - is the query column translated using resource bundlesformat
- - the query format.column_filter
- - column filter for the query.public TWGDbQueryReply(long qId, java.lang.String id_string, java.lang.String queryDisplayName, java.util.Vector tablesUsed, java.util.Vector tokenNames, java.util.Vector realNames, java.util.Vector types, java.util.Vector lengths, java.util.Vector fullNames, java.util.Vector columnDisplayNames, java.lang.String userId, java.lang.String graphic, boolean isDefaultQuery, boolean isSave, boolean isTranslation, int format, TWGDbColumnFilter column_filter, java.lang.String group_name)
qId
- - the persistent object id for the queryqueryDisplayName
- - suggested query title to be used in printout and displays.tablesUsed
- - the table tokens used in the querytokenNames
- - the token names of the columns specified in the query 'SELECT' statement.realNames
- - the real names of the columns specified in the query 'SELECT' statement.types
- - the list of data type names of the columns specified in the query 'SELECT' statement.lengths
- - the length in characters if a column is charactor type, 0 if the column isn't.fullNames
- - a vector to store a list of table name plus column token names for the columns in the query.columnDisplayNames
- - the display names for the query columnsuserId
- - user id for the querygraphic
- - icon to be displayed on the inventory console for the query.isDefaultQuery
- - is the query a default query?isSave
- - is the query a saved query?isTranslation
- - is the query column translated using resource bundlesformat
- - the query format.column_filter
- - column filter for the query.group_name
- - group name for the query.public TWGDbQueryReply(byte[] buf) throws TWGDbException
Constructor for the TWGDbQueryReply class using an intel byte buffer format of a TWGDbQueryReply object as input
buf
- - the intel byte buffer format of a TWGDbQueryReply objectMethod Detail |
public long getQueryId()
public java.lang.String getIdString()
public java.lang.String getUserId()
public java.lang.String getQueryGraphic()
public java.lang.String getQueryDisplayName()
public boolean getDefault()
public boolean getSave()
public boolean getTranslation()
public java.util.Vector getTablesUsed()
public java.util.Vector getColumnTokenNames()
public java.util.Vector getColumnRealNames()
public java.util.Vector getColumnTypes()
public java.util.Vector getColumnLengths()
public java.util.Vector getFullColumnNames()
public java.util.Vector getColumnDisplayNames()
public int getQueryFormat()
TWGDatabaseQuery
public java.lang.String getGroupName()
TWGDatabaseQuery
public TWGDbColumnFilter getColumnFilter()
TWGDbColumnFilter
protected void setBufferParms(Command cmd) throws TWGDbException
Build IntelByteBuffer parms version of this command and add them to the IPC command This method should be called only in the Director server engine.
cmd
- - the IPC command whose input parameters will be set by this method.
TWGDbException
protected int getBufLen() throws TWGDbException
Get length of buffer containing the all the information about the object.
TWGDbException
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |