|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.model.AbstractViewRowData
public abstract class AbstractViewRowData
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ibm.xsp.model.ViewRowData |
---|
ViewRowData.ColumnInfo, ViewRowData.ValueColumnInfo |
Field Summary | |
---|---|
static java.lang.String |
ACTION
|
static java.lang.String |
ACTION_EDIT
|
static java.lang.String |
ACTION_NEW
|
static java.lang.String |
ACTION_OPEN
|
static java.lang.String |
ID
|
Constructor Summary | |
---|---|
protected |
AbstractViewRowData(ViewDataModel dataModel)
|
Method Summary | |
---|---|
protected abstract java.lang.Object |
doGetColumnValue(java.lang.String name)
Return the value for the specified column. |
protected abstract java.lang.String |
doGetId()
Return the unique id for this row. |
protected abstract java.lang.String |
doGetVirtualPageName()
Return the virtual page name for use with this row. |
ViewRowData.ColumnInfo |
getColumnInfo(java.lang.String name)
Return the column info for the specified column. |
java.lang.Object |
getColumnValue(java.lang.String name)
Return the value for the specified column. |
java.lang.String |
getId()
Return the unique id for this row |
long |
getNumber()
Return the Number - simply returns 0 |
java.lang.String |
getOpenPageURL(java.lang.String pageName,
boolean readOnly)
Construct a URL that will open the appropriate page for row data in the View (non-Javadoc) |
int |
getResponseCount()
Return the number of response document. |
int |
getResponseLevel()
Return the Response Level. |
java.lang.String |
getRowNumber()
Return the row number for this row of data in a View. |
boolean |
isReadOnly(java.lang.String name)
Return true if the named value is read only. |
boolean |
isSelected()
Return true if this View Row Data entry is selected
(non-Javadoc) |
void |
setColumnValue(java.lang.String name,
java.lang.Object value)
Set the value for the specified column. |
void |
setSelected(boolean selected)
Set this View Row Data entry as selected, or not, depending on parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.xsp.model.ViewRowData |
---|
getValue |
Field Detail |
---|
public static final java.lang.String ID
public static final java.lang.String ACTION
public static final java.lang.String ACTION_NEW
public static final java.lang.String ACTION_OPEN
public static final java.lang.String ACTION_EDIT
Constructor Detail |
---|
protected AbstractViewRowData(ViewDataModel dataModel)
Method Detail |
---|
public ViewRowData.ColumnInfo getColumnInfo(java.lang.String name)
ViewRowData
getColumnInfo
in interface ViewRowData
public java.lang.Object getColumnValue(java.lang.String name)
ViewRowData
getColumnValue
in interface ViewRowData
public void setColumnValue(java.lang.String name, java.lang.Object value)
ViewRowData
setColumnValue
in interface ViewRowData
public java.lang.String getId()
public long getNumber()
public java.lang.String getOpenPageURL(java.lang.String pageName, boolean readOnly)
getOpenPageURL
in interface ViewRowData
ViewRowData.getOpenPageURL(java.lang.String, boolean)
public int getResponseCount()
com.ibm.xsp.model.ViewRowData#getResponseCount()
public int getResponseLevel()
com.ibm.xsp.model.ViewRowData#getResponseLevel()
public java.lang.String getRowNumber()
com.ibm.xsp.model.ViewRowData#getRowNumber()
public boolean isReadOnly(java.lang.String name)
ViewRowData
isReadOnly
in interface ViewRowData
public boolean isSelected()
true
if this View Row Data entry is selected
(non-Javadoc)
com.ibm.xsp.model.ViewRowData#isSelected()
public void setSelected(boolean selected)
selected
- true means select, false means remove this View Row from
the list of selected rows.
(non-Javadoc)com.ibm.xsp.model.ViewRowData#setSelected(boolean)
protected abstract java.lang.Object doGetColumnValue(java.lang.String name)
protected abstract java.lang.String doGetId()
protected abstract java.lang.String doGetVirtualPageName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |