public class SaveEvent extends PageEditorEvent
SaveEvent is a notification that the Save button on
Oracle Composer has been clicked by the end user.
SaveEvent is used to notify component property edits as well as
page commits or updates. This class has a constructor which takes a parameter
isCommit. Set this parameter to true if you are creating a SaveEvent
for page commits or updates and set it to false for component property edits.
| Constructor and Description |
|---|
SaveEvent()
Default no-op constructor to be used to create SaveEvent for component
property edits
|
SaveEvent(boolean isCommit)
Overloaded constructor to be used for creating save 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
SaveEvent to the specified
PageEditorListener, by whatever mechanism is appropriate. |
isEventHandled, setEventHandledpublic SaveEvent()
public SaveEvent(boolean isCommit)
isCommit - set this to true to indicate page commitpublic void processListener(PageEditorListener listener) throws javax.faces.event.AbortProcessingException
SaveEvent to the specified
PageEditorListener, by whatever mechanism is appropriate.
This is accomplished by calling processSave method on
SaveListener, and passing this SaveEvent
as a paramter.processListener in class PageEditorEventlistener - PageEditorListener to send this
SaveEvent 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.SAVE_EVENT.public boolean isCommit()