com.ibm.xsp.actions
Class ModifyFieldAction
java.lang.Object
javax.faces.el.MethodBinding
com.ibm.xsp.binding.MethodBindingEx
com.ibm.xsp.actions.AbstractDocumentAction
com.ibm.xsp.actions.ModifyFieldAction
- All Implemented Interfaces:
- ComponentBindingObject, ValueBindingObject, javax.faces.component.StateHolder
public class ModifyFieldAction
- extends AbstractDocumentAction
Not intended to be subclassed
ServerSide Simple Action that updates the specified field name
for the current document in context with the specified value
Fields inherited from class com.ibm.xsp.actions.AbstractDocumentAction |
ACTION, ACTION_EDIT, ACTION_NEW, ACTION_OPEN, CURRENT_DOCUMENT, DOCUMENT, DOCUMENT_ID, MODE_AUTOEDIT, MODE_EDIT, MODE_READONLY, MODE_TOGGLE, PARENT_ID, VIEW_ENTRY |
Method Summary |
java.lang.String |
getName()
|
java.lang.Class |
getType(javax.faces.context.FacesContext context)
|
java.lang.Object |
getValue()
|
java.lang.Object |
invoke(javax.faces.context.FacesContext context,
java.lang.Object[] args)
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object value)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setName(java.lang.String name)
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModifyFieldAction
public ModifyFieldAction()
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- Parameters:
name
- the name to set
getValue
public java.lang.Object getValue()
- Returns:
- the value
setValue
public void setValue(java.lang.Object value)
- Parameters:
value
- the value to set
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class AbstractDocumentAction
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 AbstractDocumentAction
invoke
public java.lang.Object invoke(javax.faces.context.FacesContext context,
java.lang.Object[] args)
throws javax.faces.el.EvaluationException,
javax.faces.el.MethodNotFoundException
- Specified by:
invoke
in class javax.faces.el.MethodBinding
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.MethodNotFoundException
getType
public java.lang.Class getType(javax.faces.context.FacesContext context)
throws javax.faces.el.MethodNotFoundException
- Specified by:
getType
in class javax.faces.el.MethodBinding
- Throws:
javax.faces.el.MethodNotFoundException