public abstract class BaseGenericActionEvent extends PageEditorEventWithResult
BaseGenericActionEvent is a notification about an action
that has executed during runtime| Constructor and Description |
|---|
BaseGenericActionEvent(java.util.Map<java.lang.String,java.lang.Object> map)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
abstract Action |
getAction()
returns the action
|
java.lang.String |
getMessageDetail()
Returns the detail message
|
javax.faces.application.FacesMessage.Severity |
getMessageSeverity()
Returns the message severity
|
java.lang.String |
getMessageSummary()
Returns the message summary
|
java.util.Map<java.lang.String,java.lang.Object> |
getPayload()
get the payload of the event
|
abstract void |
setAction(Action action)
set the action for which the event was raised
|
void |
setMessageDetail(java.lang.String msgDetail)
Set the message detail
|
void |
setMessageSeverity(javax.faces.application.FacesMessage.Severity severity)
Set the message severity
|
void |
setMessageSummary(java.lang.String msgSummary)
Set the message summary
|
void |
setShowMessage(boolean showMsg)
Set the flag which indicates if to show message when no error
|
boolean |
showMessage()
If to show message when no error
|
processListenergetEventType, isEventHandled, processListener, setEventHandledpublic BaseGenericActionEvent(java.util.Map<java.lang.String,java.lang.Object> map)
map - Map of the event payloadpublic abstract void setAction(Action action)
action - action typepublic abstract Action getAction()
public void setMessageDetail(java.lang.String msgDetail)
msgDetail - the detail messagepublic java.lang.String getMessageDetail()
public void setMessageSummary(java.lang.String msgSummary)
msgSummary - the summary messagepublic java.lang.String getMessageSummary()
public void setMessageSeverity(javax.faces.application.FacesMessage.Severity severity)
severity - the error message severitypublic javax.faces.application.FacesMessage.Severity getMessageSeverity()
public void setShowMessage(boolean showMsg)
showMsg - the flag which indicates if to show message when no errorpublic boolean showMessage()
public java.util.Map<java.lang.String,java.lang.Object> getPayload()