| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.web.form.HistoryManager
public class HistoryManager
HistoryManager stores the map of the most recentFlows and a map of flows stored by flowId concatenated with formId. HistoryManager is used in session.
| Constructor Summary | |
|---|---|
| HistoryManager() | |
| Method Summary | |
|---|---|
|  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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public HistoryManager()
| Method Detail | 
|---|
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 process
public HistoryFlow getMostRecentFlowByKey(String key)
key - the flow key
public HistoryFlow getMostRecentFlowByFormKey(String key,
                                              String formKey)
key - the flow keyformKey - the form key
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||