|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.uif.modifier.ComponentModifierBase
public abstract class ComponentModifierBase
Base class for ComponentModifier
implementations
Holds run phase property and defaults to the INITIALIZE phase, and the order property for setting the order in which the component modifier will be invoked
Field Summary |
---|
Fields inherited from interface org.kuali.rice.krad.uif.core.Ordered |
---|
INITIAL_ORDER_VALUE |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
ComponentModifierBase()
|
Method Summary | |
---|---|
int |
getOrder()
|
String |
getRunCondition()
Conditional expression to evaluate for determining whether the component modifier should be run. |
String |
getRunPhase()
Indicates what phase of the component lifecycle the ComponentModifier should be invoked in (INITIALIZE,
APPLY_MODEL, or FINALIZE) |
void |
performModification(View view,
Component component)
Invoked within the configured phase of the component lifecycle. |
void |
performModification(View view,
Object model,
Component component)
Default implementation of the overloaded performModification method that calls the version that does not take the model (more commonly implemented) |
void |
setOrder(int order)
Setter for the order value |
void |
setRunCondition(String runCondition)
Setter for the component modifiers run condition |
void |
setRunPhase(String runPhase)
Setter for the component initializer run phase |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.uif.modifier.ComponentModifier |
---|
getSupportedComponents |
Constructor Detail |
---|
public ComponentModifierBase()
Method Detail |
---|
public void performModification(View view, Object model, Component component)
performModification
in interface ComponentModifier
view
- - the view instance to which the component belongsmodel
- - top level object containing the view datacomponent
- - the component instance to modifyComponentModifier.performModification(org.kuali.rice.krad.uif.container.View,
java.lang.Object, org.kuali.rice.krad.uif.core.Component)
public void performModification(View view, Component component)
ComponentModifier
ComponentModifier
should perform its work against
the given Component
instance
performModification
in interface ComponentModifier
view
- - the view instance to which the component belongscomponent
- - the component instance to modifyComponentModifier.performModification(org.kuali.rice.krad.uif.container.View,
org.kuali.rice.krad.uif.core.Component)
public String getRunPhase()
ComponentModifier
ComponentModifier
should be invoked in (INITIALIZE,
APPLY_MODEL, or FINALIZE)
getRunPhase
in interface ComponentModifier
ComponentModifier.getRunPhase()
public void setRunPhase(String runPhase)
runPhase
- public String getRunCondition()
ComponentModifier
getRunCondition
in interface ComponentModifier
ComponentModifier.getRunCondition()
public void setRunCondition(String runCondition)
runCondition
- public int getOrder()
getOrder
in interface ComponentModifier
getOrder
in interface org.springframework.core.Ordered
Ordered.getOrder()
public void setOrder(int order)
Ordered
setOrder
in interface ComponentModifier
Ordered.setOrder(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |