|
Oracle® Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.9.0) E52936-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
oracle.adf.view.rich.event.AutoSaveEvent
public final class AutoSaveEvent
AutoSaveEvent is an event passed to af:autoSaveBehavior listeners when a dirtyValue from the client side needs to be propagated to the server side. Note that dirtyValue is not using generic since we are using factory pattern for the return of newDeleteEvent or newSaveEvent.
oracle.adfinternal.view.faces.taglib.behaviors.AutoSaveBehaviorTag
, oracle.adfinternal.view.faces.facelets.rich.AutoSaveBehaviorHandler
, Serialized FormNested Class Summary | |
---|---|
static class |
AutoSaveEvent.AutoSaveType There are two types |
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Method Summary | |
---|---|
java.lang.Object |
getDirtyValue() Returns the dirty value that has been sent from the client side |
AutoSaveEvent.AutoSaveType |
getType() Returns AutoSaveType of either SAVE or DELETE |
boolean |
isAppropriateListener(javax.faces.event.FacesListener facesListener) |
static AutoSaveEvent |
newDeleteEvent(javax.faces.component.UIComponent uiComponent) Create an AutoSaveEvent to notify deletion of stored dirty value |
static AutoSaveEvent |
newSaveEvent(javax.faces.component.UIComponent uiComponent, java.lang.Object dirtyValue) Create an AutoSaveEvent to notify handling of a new dirty value |
void |
processListener(javax.faces.event.FacesListener facesListener) |
Methods inherited from class javax.faces.event.FacesEvent |
---|
getComponent, getPhaseId, queue, setPhaseId |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static final AutoSaveEvent newDeleteEvent(javax.faces.component.UIComponent uiComponent)
uiComponent
-public static final AutoSaveEvent newSaveEvent(javax.faces.component.UIComponent uiComponent, java.lang.Object dirtyValue)
uiComponent
-dirtyValue
-public boolean isAppropriateListener(javax.faces.event.FacesListener facesListener)
isAppropriateListener
in class javax.faces.event.FacesEvent
public void processListener(javax.faces.event.FacesListener facesListener)
processListener
in class javax.faces.event.FacesEvent
public final java.lang.Object getDirtyValue()
public final AutoSaveEvent.AutoSaveType getType()
|
Oracle® Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.9.0) E52936-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |