public class IsUnsavedChangesEvent<IsUnsavedChangesEventListener,IsUnsavedChangesEventResult> extends PageEditorEventWithResult
IsUnsavedChangesEvent is a notification that the UnsavedChanges button on the
Oracle Composer has been clicked by the end user.
IsUnsavedChangesEvent does not have parameters.
| Constructor and Description |
|---|
IsUnsavedChangesEvent() |
| Modifier and Type | Method and Description |
|---|---|
Event |
getEventType()
Returns the type of this event.
|
void |
processListener(PageEditorListener listener)
Not used as this type of event returns a result so required processListener with a PageEditorEventResult object.
|
void |
processListener(PageEditorListener listener,
PageEditorEventResult result)
Broadcast this
IsUnsavedChangesEvent to the specified
PageEditorListener, by whatever mechanism is appropriate. |
isEventHandled, setEventHandledpublic void processListener(PageEditorListener listener)
processListener in class PageEditorEventlistener - PageEditorListener to send this
CloseEvent to.public void processListener(PageEditorListener listener, PageEditorEventResult result) throws javax.faces.event.AbortProcessingException
IsUnsavedChangesEvent to the specified
PageEditorListener, by whatever mechanism is appropriate.
This is accomplished by calling processUnsavedChanges method on
UnsavedChangesListener, and passing this IsUnsavedChangesEvent
as a paramter.processListener in class PageEditorEventWithResultlistener - PageEditorListener to send this
IsUnsavedChangesEvent 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 final Event getEventType()
getEventType in class PageEditorEventEvent.CLOSE_EVENT.