|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.page.editor.event.PageEditorEvent
oracle.adf.view.page.editor.event.SaveEvent
public class SaveEvent
A 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 Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class oracle.adf.view.page.editor.event.PageEditorEvent |
---|
isEventHandled, setEventHandled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SaveEvent()
public SaveEvent(boolean isCommit)
isCommit
- set this to true to indicate page commitMethod Detail |
---|
public 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 PageEditorEvent
listener
- 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 PageEditorEvent
Event.SAVE_EVENT
.public boolean isCommit()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |