com.ibm.xsp.actions
Class CreateAttachmentAction

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.CreateAttachmentAction
All Implemented Interfaces:
ComponentBindingObject, ValueBindingObject, javax.faces.component.StateHolder

public class CreateAttachmentAction
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
CreateAttachmentAction()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 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[] params)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object value)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setType(java.lang.String type)
           
 void setValue(java.lang.Object value)
           
 
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

CreateAttachmentAction

public CreateAttachmentAction()
Method Detail

getName

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

setName

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

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.

getType

public java.lang.String getType()
Returns:
Returns the type.

setType

public void setType(java.lang.String type)
Parameters:
type - The type to set.

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

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