|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bmc.mainview.nvbapi.View
com.bmc.mainview.nvbapi.DetailView
public class DetailView
A view with one row of data.
Field Summary |
---|
Fields inherited from class com.bmc.mainview.nvbapi.View |
---|
localDate, localTime |
Constructor Summary | |
---|---|
DetailView(java.lang.String name,
Conversation conversation,
boolean returnAll,
java.lang.String where)
Deprecated. Creates an object containing the data from a MAINVIEW tabular view |
|
DetailView(java.lang.String name,
Conversation conversation,
boolean returnAll,
java.lang.String where,
ViewListener exit)
Deprecated. Creates an object containing the data from a MAINVIEW tabular view |
|
DetailView(ViewDefinition def,
Conversation conversation,
boolean returnAll,
java.lang.String where)
Deprecated. Creates an object containing the data from a MAINVIEW tabular view |
Method Summary | |
---|---|
java.lang.String |
getRawValue(int r,
Field field)
Deprecated. Extract a field value from a row of a data record |
java.lang.String |
getValue(Field field)
Deprecated. Extract a field value from a detail view |
java.lang.String |
getValue(java.lang.String field)
Deprecated. Extract a field value from a detail view |
void |
refresh()
Deprecated. Discards the cached view contents and gets new data from the host. |
Methods inherited from class com.bmc.mainview.nvbapi.View |
---|
convertTime, fieldCount, getConversation, getField, getField, getQwhere, getRowMax, getValue, getValue, getWhere, setHyperlinks, setQwhere, setRowMax, setWhere, size, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DetailView(java.lang.String name, Conversation conversation, boolean returnAll, java.lang.String where) throws java.io.IOException
name
- The name of the desired viewconversation
- A conversation produced by HostServer.ConversationFactoryreturnAll
- True if all fields are desired, including hidden fields.where
- A MAINVIEW WHERE clause used to fiter the records.
java.io.IOException
- if the view cannot be obtained.public DetailView(ViewDefinition def, Conversation conversation, boolean returnAll, java.lang.String where) throws java.io.IOException
def
- The definition of the desired viewconversation
- A conversation produced by HostServer.ConversationFactoryreturnAll
- True if all fields are desired, including hidden fields.where
- A MAINVIEW WHERE clause used to fiter the records.
java.io.IOException
- if the view cannot be obtained.public DetailView(java.lang.String name, Conversation conversation, boolean returnAll, java.lang.String where, ViewListener exit) throws java.io.IOException
name
- The name of the desired viewconversation
- A conversation produced by HostServer.ConversationFactoryreturnAll
- True if all fields are desired, including hidden fields.where
- A MAINVIEW WHERE clause used to filter the records.exit
- A ViewListener to be called during processing.
java.io.IOException
- if the view cannot be obtained.Method Detail |
---|
public void refresh() throws java.io.IOException
View
refresh
in class View
java.io.IOException
public java.lang.String getValue(Field field) throws java.io.IOException
field
- The field
java.io.IOException
public java.lang.String getValue(java.lang.String field) throws java.io.IOException
field
- The field name
java.io.IOException
public java.lang.String getRawValue(int r, Field field) throws java.io.IOException
getRawValue
in class View
r
- The row number (must be zero);field
- The field
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |