com.ibm.portal.pcm.dialog.state
Interface DialogStepDisplayStrategy<T extends DialogStep>


public interface DialogStepDisplayStrategy<T extends DialogStep>

This interface allows do provide a tree of next steps based on a given dialog step that is currently executed.

Since:
8.0.0

Method Summary
 T getCurrentStep()
           
 T getCurrentStep(DialogDefinition dialogDefinition)
          Deprecated. Use getCurrentStep() instead.
 OutboundGraph<T> getNextStepGraph(DialogDefinition dialogDefinition)
          Deprecated. Use #getNextStepGraph(Scope) instead.
 OutboundGraph<T> getNextStepGraph(DialogStateManager.Scope scope)
           
 IterableListModel<T> getProcessedSteps(DialogDefinition dialogDefinition)
          Deprecated. Use #getProcessedSteps(Scope) instead.
 IterableListModel<T> getProcessedSteps(DialogStateManager.Scope scope)
          Returns the list of currently processed steps given the provided scope.
 

Method Detail

getNextStepGraph

OutboundGraph<T> getNextStepGraph(DialogDefinition dialogDefinition)
Deprecated. Use #getNextStepGraph(Scope) instead.

Parameters:
dialogDefinition - The DialogDefinition to be used.
Returns:
An outbound graph representing the potential next dialog steps based on the given dialog step

getCurrentStep

T getCurrentStep(DialogDefinition dialogDefinition)
Deprecated. Use getCurrentStep() instead.

Parameters:
dialogDefinition - The DialogDefinition to be used.
Returns:
The dialog step that is currently active

getProcessedSteps

IterableListModel<T> getProcessedSteps(DialogDefinition dialogDefinition)
Deprecated. Use #getProcessedSteps(Scope) instead.

Parameters:
dialogDefinition - The DialogDefinition to be used.
Returns:
A list of dialog steps that have been processed up to this point

getNextStepGraph

OutboundGraph<T> getNextStepGraph(DialogStateManager.Scope scope)
Parameters:
dialogDefinition - The DialogDefinition to be used.
Returns:
An outbound graph representing the potential next dialog steps based on the given dialog step

getCurrentStep

T getCurrentStep()
Parameters:
dialogDefinition - The DialogDefinition to be used.
Returns:
The dialog step that is currently active

getProcessedSteps

IterableListModel<T> getProcessedSteps(DialogStateManager.Scope scope)
Returns the list of currently processed steps given the provided scope.

Parameters:
scope - The DialogStateManager.Scope in which the list of processed steps should be created.
Returns:
A list of dialog steps that have been processed up to this point given the provided scope.