public class CloseEvent extends PageEditorEvent
CloseEvent is a notification that the Close button on the
Oracle Composer has been clicked by the end user.
CloseEvent does not have parameters.
| Constructor and Description |
|---|
CloseEvent()
Overloaded constructor to be used for creating close event in sandboxed MDS
interactions without commiting the changes.
|
CloseEvent(boolean isCommit)
Overloaded constructor to be used for creating close event in sandboxed MDS
interactions, when the page is being marked for persisting the customizations
at the end of current request lifecycle
|
| Modifier and Type | Method and Description |
|---|---|
Event |
getEventType()
Returns the type of this event.
|
boolean |
isCommit()
Returns true if this event was created to indicate that the page was marked
to commit the customizations done to the page at the end of the current
request lifecycle.
|
void |
processListener(PageEditorListener listener)
Broadcast this
CloseEvent to the specified
PageEditorListener, by whatever mechanism is appropriate. |
isEventHandled, setEventHandledpublic CloseEvent()
public CloseEvent(boolean isCommit)
isCommit - set this to true to indicate page commitpublic void processListener(PageEditorListener listener) throws javax.faces.event.AbortProcessingException
CloseEvent to the specified
PageEditorListener, by whatever mechanism is appropriate.
This is accomplished by calling processClose method on
CloseListener, and passing this CloseEvent
as a paramter.processListener in class PageEditorEventlistener - PageEditorListener to send this
CloseEvent to.javax.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.public boolean isCommit()