public final class AutoSaveEvent
extends javax.faces.event.FacesEvent
Modifier and Type | Class and Description |
---|---|
static class |
AutoSaveEvent.AutoSaveType
There are two types
|
source
Modifier and Type | Method and Description |
---|---|
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, Object dirtyValue)
Create an AutoSaveEvent to notify handling of a new dirty value
|
void |
processListener(javax.faces.event.FacesListener facesListener) |
getComponent, getPhaseId, queue, setPhaseId
getSource, toString
public static final AutoSaveEvent newDeleteEvent(javax.faces.component.UIComponent uiComponent)
uiComponent
- the UI componentpublic static final AutoSaveEvent newSaveEvent(javax.faces.component.UIComponent uiComponent, Object dirtyValue)
uiComponent
- the UI ComponentdirtyValue
- the dirty valuepublic 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 Object getDirtyValue()
public final AutoSaveEvent.AutoSaveType getType()