com.sdm.quasar.client.core.dialog.services
Interface DialogLifeCycleService
- All Superinterfaces:
- LifeCycleListenerSupport, Service
- All Known Implementing Classes:
- DefaultDialogLifeCycleService
- public interface DialogLifeCycleService
- extends LifeCycleListenerSupport, Service
A Service that allows listening to the lifecycle-changes of dialogs
of the dialog hierarchy.
Note: DialogLifeCycleService is a core service and will
therefore be available always for all dialogs in the dialog hierarchy.
The Service will be provided at the session node (the root dialog of a session).
getLifeCycleState
public LifeCycleState getLifeCycleState(DialogInstanceId diid)
- Returns a
LifeCycleState for the given id. If the id is a known
dialog instance id, the returned state is equal to the state of the acssociated
dialog instance. Additionally this method assures, that for any
other id given, a valid LifeCycleState is returned.
- Parameters:
diid - the id to get a LifeCycleState for
- Returns:
- the
LifeCycleState for the id