Package de.xima.fc.workflow.taglib.event
Class BackupDetectEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.faces.event.FacesEvent
-
- javax.faces.event.BehaviorEvent
-
- javax.faces.event.AjaxBehaviorEvent
-
- org.primefaces.event.AbstractAjaxBehaviorEvent
-
- de.xima.fc.workflow.taglib.event.BackupDetectEvent
-
- All Implemented Interfaces:
Serializable
public class BackupDetectEvent extends org.primefaces.event.AbstractAjaxBehaviorEvent
Event for theFlowchart
component, when the presence of a backup was detected on the client.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description BackupDetectEvent(javax.faces.component.UIComponent component, javax.faces.component.behavior.Behavior behavior, FlowchartSnapshot snapshot, EFlowchartBackupRequestSource requestSource)
Creates a new POJO with the given values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EFlowchartBackupRequestSource
getRequestSource()
FlowchartSnapshot
getSnapshot()
-
Methods inherited from class org.primefaces.event.AbstractAjaxBehaviorEvent
isAppropriateListener, processListener
-
Methods inherited from class javax.faces.event.FacesEvent
getComponent, getFacesContext, getPhaseId, queue, setPhaseId
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
BackupDetectEvent
public BackupDetectEvent(javax.faces.component.UIComponent component, javax.faces.component.behavior.Behavior behavior, FlowchartSnapshot snapshot, EFlowchartBackupRequestSource requestSource)
Creates a new POJO with the given values.- Parameters:
component
- Value that will be returned byFacesEvent.getComponent()
.behavior
- Value that will be returned byBehaviorEvent.getBehavior()
.snapshot
- Value that will be returned bygetSnapshot()
.requestSource
- Value that will be returned bygetSnapshot()
.
-
-
Method Detail
-
getRequestSource
public EFlowchartBackupRequestSource getRequestSource()
- Returns:
- From where the request for the backup originates.
-
getSnapshot
public FlowchartSnapshot getSnapshot()
- Returns:
- A snapshot (copy) with the backup data that was detected.
-
-