com.ibm.xsp.actions
Class OpenPageAction

java.lang.Object
  extended by javax.faces.el.MethodBinding
      extended by com.ibm.xsp.binding.MethodBindingEx
          extended by com.ibm.xsp.actions.AbstractDocumentAction
              extended by com.ibm.xsp.actions.OpenPageAction
All Implemented Interfaces:
ComponentBindingObject, ValueBindingObject, javax.faces.component.StateHolder

public class OpenPageAction
extends AbstractDocumentAction

Not intended to be subclassed


Field Summary
 
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
 
Fields inherited from class com.ibm.xsp.binding.MethodBindingEx
ENABLE_SOURCEID
 
Constructor Summary
OpenPageAction()
           
 
Method Summary
 void addParameter(Parameter parameter)
          Add to the list of parameters
 java.lang.String getDocumentId()
           
 java.lang.String getName()
           
 java.util.List getParameters()
          Return the list of parameters
 java.lang.String getTarget()
           
 java.lang.Class getType(javax.faces.context.FacesContext context)
           
 java.lang.Object invoke(javax.faces.context.FacesContext context, java.lang.Object[] params)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object value)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setDocumentId(java.lang.String documentId)
           
 void setName(java.lang.String name)
           
 void setTarget(java.lang.String target)
           
 
Methods inherited from class com.ibm.xsp.actions.AbstractDocumentAction
getDocument, getDocument, getDocumentAdapter, getDocumentAdapter, getDocumentDataSource, getDocumentDataSource, getVar, setVar
 
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
 

Constructor Detail

OpenPageAction

public OpenPageAction()
Method Detail

getParameters

public java.util.List getParameters()
Return the list of parameters

Returns:

addParameter

public void addParameter(Parameter parameter)
Add to the list of parameters

Parameters:
parameter -

getDocumentId

public java.lang.String getDocumentId()
Returns:
the documentId

setDocumentId

public void setDocumentId(java.lang.String documentId)
Parameters:
documentId - the documentId to set

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getTarget

public java.lang.String getTarget()
Returns:
Returns the value of the target property.

setTarget

public void setTarget(java.lang.String target)
Parameters:
target - The target 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[] params)
                        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