com.ibm.xsp.actions
Class AbstractIndexAction
java.lang.Object
javax.faces.el.MethodBinding
com.ibm.xsp.binding.MethodBindingEx
com.ibm.xsp.actions.AbstractIndexAction
- All Implemented Interfaces:
- ComponentBindingObject, ValueBindingObject, javax.faces.component.StateHolder
public abstract class AbstractIndexAction
- extends MethodBindingEx
Not intended to be subclassed
Method Summary |
protected DataModelEx |
getDataModel(javax.faces.context.FacesContext context)
Helper method to get the data model |
protected int |
getPropertyInt(java.lang.String name)
Helper method to return a value binding as an int value |
int |
getRowIndex()
|
java.lang.Object |
getValue()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object value)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setRowIndex(int index)
|
void |
setValue(java.lang.Object value)
|
Methods inherited from class com.ibm.xsp.binding.MethodBindingEx |
getComponent, getFacesContext, getParamNames, getParent, getSourceReferenceId, getValueBinding, isTransient, normalizePageName, setComponent, setParamNames, setParent, setSourceReferenceId, setTransient, setValueBinding |
Methods inherited from class javax.faces.el.MethodBinding |
getExpressionString, getType, invoke |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractIndexAction
public AbstractIndexAction()
getRowIndex
public int getRowIndex()
- Returns:
- Returns the _rowIndex.
setRowIndex
public void setRowIndex(int index)
- Parameters:
index
- The _rowIndex to set.
getValue
public java.lang.Object getValue()
- Returns:
- Returns the value.
setValue
public void setValue(java.lang.Object value)
- Parameters:
value
- The value to set.
getDataModel
protected final DataModelEx getDataModel(javax.faces.context.FacesContext context)
- Helper method to get the data model
getPropertyInt
protected final int getPropertyInt(java.lang.String name)
- Helper method to return a value binding as an int value
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class MethodBindingEx
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object value)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class MethodBindingEx