com.ibm.xsp.actions
Class DeleteDocumentAction

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.AbstractDocumentConfirmAction
                  extended by com.ibm.xsp.actions.DeleteDocumentAction
All Implemented Interfaces:
ComponentBindingObject, EncodableObject, ValueBindingObject, javax.faces.component.StateHolder

public class DeleteDocumentAction
extends AbstractDocumentConfirmAction

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
DeleteDocumentAction()
           
 
Method Summary
 java.lang.String getName()
          Name of the page to open after deleting the current document.
 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 setName(java.lang.String name)
           
 
Methods inherited from class com.ibm.xsp.actions.AbstractDocumentConfirmAction
encodeObject, getClientId, getEvent, getMessage, setEvent, setMessage
 
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

DeleteDocumentAction

public DeleteDocumentAction()
Method Detail

getName

public java.lang.String getName()
Name of the page to open after deleting the current document.

Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name 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 AbstractDocumentConfirmAction

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 AbstractDocumentConfirmAction

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