public class GenericActionEvent<GenericActionEventListener,GenericActionResult> extends BaseGenericActionEvent
Constructor and Description |
---|
GenericActionEvent(java.util.Map<java.lang.String,java.lang.Object> map,
Action action)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Action |
getAction()
Returns the action that trggered this event
|
Event |
getEventType()
Returns the type of this event.
|
void |
processListener(PageEditorListener listener)
This method is not supported since processing of this listener requires return value
|
void |
processListener(PageEditorListener listener,
PageEditorEventResult result)
Broadcast this
GenericActionEvent to the specified
PageEditorListener , by whatever mechanism is appropriate. |
void |
setAction(Action action)
set the action for which this event was raised
|
getMessageDetail, getMessageSeverity, getMessageSummary, getPayload, setMessageDetail, setMessageSeverity, setMessageSummary, setShowMessage, showMessage
isEventHandled, setEventHandled
public GenericActionEvent(java.util.Map<java.lang.String,java.lang.Object> map, Action action)
map
- payload of the eventpublic final Event getEventType()
getEventType
in class PageEditorEvent
Event.GENERIC_ACTION_EVENT
.public void processListener(PageEditorListener listener) throws javax.faces.event.AbortProcessingException
processListener
in class PageEditorEvent
listener
- javax.faces.event.AbortProcessingException
public void processListener(PageEditorListener listener, PageEditorEventResult result) throws javax.faces.event.AbortProcessingException
GenericActionEvent
to the specified
PageEditorListener
, by whatever mechanism is appropriate.
This is accomplished by calling processAction
method on
GenericActionListener
, and passing this GenericActionEvent
as a parameter.processListener
in class PageEditorEventWithResult
listener
- PageEditorListener
to send this
GenericActionEvent
to.result
- PageEditorEventResult
to store the resultjavax.faces.event.AbortProcessingException
- Signal Oracle Composer that no further
processing on the current event should be performed.public void setAction(Action action)
setAction
in class BaseGenericActionEvent
action
- public Action getAction()
getAction
in class BaseGenericActionEvent