1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.uif.modifier;
17
18 import org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase;
19 import org.kuali.rice.krad.uif.UifConstants;
20 import org.kuali.rice.krad.uif.view.View;
21 import org.kuali.rice.krad.uif.component.Component;
22
23 import java.util.ArrayList;
24 import java.util.List;
25
26
27
28
29
30
31
32
33
34
35
36
37 public abstract class ComponentModifierBase extends UifDictionaryBeanBase implements ComponentModifier {
38 private static final long serialVersionUID = -8284332412469942130L;
39
40 private String runPhase;
41 private String runCondition;
42 private int order;
43
44 public ComponentModifierBase() {
45 super();
46
47 runPhase = UifConstants.ViewPhases.INITIALIZE;
48 order = 0;
49 }
50
51
52
53
54
55
56 @Override
57 public void performInitialization(View view, Object model, Component component) {
58
59 }
60
61
62
63
64 public List<Component> getComponentPrototypes() {
65 List<Component> components = new ArrayList<Component>();
66
67 return components;
68 }
69
70
71
72
73 public String getRunPhase() {
74 return this.runPhase;
75 }
76
77
78
79
80
81
82 public void setRunPhase(String runPhase) {
83 this.runPhase = runPhase;
84 }
85
86
87
88
89 public String getRunCondition() {
90 return this.runCondition;
91 }
92
93
94
95
96
97
98 public void setRunCondition(String runCondition) {
99 this.runCondition = runCondition;
100 }
101
102
103
104
105 public int getOrder() {
106 return this.order;
107 }
108
109
110
111
112 public void setOrder(int order) {
113 this.order = order;
114 }
115
116 }