public class HistoryManager extends Object implements Serializable
Constructor and Description |
---|
HistoryManager() |
Modifier and Type | Method and Description |
---|---|
HistoryFlow |
getMostRecentFlowByFormKey(String key,
String formKey)
Get the flow by flowKey and formKey.
|
HistoryFlow |
getMostRecentFlowByKey(String key)
Get the flow that matches the flow key.
|
HistoryFlow |
process(String flowKey,
String formKey,
String currentUrl)
Process/update the HistoryFlow stored in session for the flowKey, formKey, and currentUrl passed in.
|
public HistoryManager()
public HistoryFlow process(String flowKey, String formKey, String currentUrl)
If flowKey is blank or equal to "start", this will begin a new flow, otherwise the flow will continue by picking up the last flow that matches the flowKey, but if it also matches to a formKey that already is keyed to that flowKey, it will "jump" back to that HistoryFlow instead.
flowKey
- the flow keyformKey
- the form keycurrentUrl
- the currentUrl being processpublic HistoryFlow getMostRecentFlowByKey(String key)
key
- the flow keypublic HistoryFlow getMostRecentFlowByFormKey(String key, String formKey)
key
- the flow keyformKey
- the form keyCopyright © 2005–2016 The Kuali Foundation. All rights reserved.