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 java.util.ArrayList;
19 import java.util.List;
20
21 import org.kuali.rice.krad.datadictionary.parse.BeanTagAttribute;
22 import org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase;
23 import org.kuali.rice.krad.uif.UifConstants;
24 import org.kuali.rice.krad.uif.component.Component;
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(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 @BeanTagAttribute
74 public String getRunPhase() {
75 return this.runPhase;
76 }
77
78
79
80
81
82
83 public void setRunPhase(String runPhase) {
84 this.runPhase = runPhase;
85 }
86
87
88
89
90 @BeanTagAttribute
91 public String getRunCondition() {
92 return this.runCondition;
93 }
94
95
96
97
98
99
100 public void setRunCondition(String runCondition) {
101 this.runCondition = runCondition;
102 }
103
104
105
106
107 @BeanTagAttribute
108 public int getOrder() {
109 return this.order;
110 }
111
112
113
114
115 public void setOrder(int order) {
116 this.order = order;
117 }
118
119 }