1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package javax.faces.application;
20
21 import java.util.Map;
22 import java.util.Set;
23
24 import javax.faces.context.FacesContext;
25 import javax.faces.flow.Flow;
26
27
28
29
30 public abstract class ConfigurableNavigationHandler extends NavigationHandler
31 {
32
33
34
35
36 public ConfigurableNavigationHandler()
37 {
38 }
39
40 public abstract NavigationCase getNavigationCase(FacesContext context, String fromAction, String outcome);
41
42 public abstract Map<String,Set<NavigationCase>> getNavigationCases();
43
44 public void performNavigation(String outcome)
45 {
46 handleNavigation(FacesContext.getCurrentInstance(), null, outcome);
47 }
48
49
50
51
52
53
54 public void inspectFlow(FacesContext context, Flow flow)
55 {
56 }
57
58
59
60
61
62
63
64
65
66 public NavigationCase getNavigationCase(FacesContext context,
67 java.lang.String fromAction,
68 java.lang.String outcome,
69 java.lang.String toFlowDocumentId)
70 {
71 return getNavigationCase(context, fromAction, outcome);
72 }
73 }