com.ibm.xsp.actions
Class AbstractDocumentConfirmAction
java.lang.Object
javax.faces.el.MethodBinding
com.ibm.xsp.binding.MethodBindingEx
com.ibm.xsp.actions.AbstractDocumentAction
com.ibm.xsp.actions.AbstractDocumentConfirmAction
- All Implemented Interfaces:
- ComponentBindingObject, EncodableObject, ValueBindingObject, javax.faces.component.StateHolder
- Direct Known Subclasses:
- DeleteAttachmentsAction, DeleteDocumentAction
public abstract class AbstractDocumentConfirmAction
- extends AbstractDocumentAction
- implements EncodableObject
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 |
void |
encodeObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
java.lang.String |
getClientId(javax.faces.context.FacesContext context)
|
java.lang.String |
getEvent()
|
java.lang.String |
getMessage()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object value)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setEvent(java.lang.String event)
|
void |
setMessage(java.lang.String message)
|
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 |
AbstractDocumentConfirmAction
public AbstractDocumentConfirmAction()
getEvent
public java.lang.String getEvent()
- Returns:
- Returns the value of the
event
property.
Will return onclick
if event
is not set.
setEvent
public void setEvent(java.lang.String event)
- Parameters:
event
- Set the value of the event property.
message
is typically used for a confirmation text, which
is optional, to prompt the user with an OK or Cancel message.
getMessage
public java.lang.String getMessage()
- Returns:
- Return the value of the
message
property.
setMessage
public void setMessage(java.lang.String message)
- Parameters:
message
- Set the values of the message
property
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
encodeObject
public void encodeObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Specified by:
encodeObject
in interface EncodableObject
- Throws:
java.io.IOException
getClientId
public java.lang.String getClientId(javax.faces.context.FacesContext context)