|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.datadictionary.DictionaryBeanBase
org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
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.component.Ordered |
|---|
INITIAL_ORDER_VALUE |
| Fields inherited from interface org.springframework.core.Ordered |
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Constructor Summary | |
|---|---|
ComponentModifierBase()
|
|
| Method Summary | ||
|---|---|---|
|
copy()
Returns a clone of the component. |
|
protected
|
copyProperties(T componentModifier)
Copies the properties over for the copy method |
|
List<Component> |
getComponentPrototypes()
List of components that are maintained by the modifier as prototypes for creating other component instances |
|
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 |
performInitialization(View view,
Object model,
Component component)
Default performInitialization impl (does nothing) |
|
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 org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase |
|---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
| Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
|---|
getComponentCode, getLabelFromCamelCasedName, getNamespaceCode, setComponentCode, setNamespaceCode |
| 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, performModification |
| Methods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean |
|---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
| Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
|---|
getComponentCode, getNamespaceCode |
| Constructor Detail |
|---|
public ComponentModifierBase()
| Method Detail |
|---|
public void performInitialization(View view,
Object model,
Component component)
performInitialization in interface ComponentModifierview - - View instance the component modifier is a part ofcomponent - - Component the modifier is configured onperformInitialization(org.kuali.rice.krad.uif.view.View, java.lang.Object, org.kuali.rice.krad.uif.component.Component)public List<Component> getComponentPrototypes()
ComponentModifierPrototypes are held for configuring how a component should be created during the lifecycle. An example of this are the fields in a collection group that are created for each collection record. They only participate in the initialize phase.
getComponentPrototypes in interface ComponentModifiergetComponentPrototypes()public String getRunPhase()
ComponentModifierComponentModifier should be invoked in (INITIALIZE,
APPLY_MODEL, or FINALIZE)
getRunPhase in interface ComponentModifierComponentModifier.getRunPhase()public void setRunPhase(String runPhase)
runPhase - public String getRunCondition()
ComponentModifier
getRunCondition in interface ComponentModifierComponentModifier.getRunCondition()public void setRunCondition(String runCondition)
runCondition - public int getOrder()
getOrder in interface ComponentModifiergetOrder in interface org.springframework.core.OrderedOrdered.getOrder()public void setOrder(int order)
Ordered
setOrder in interface ComponentModifierOrdered.setOrder(int)public <T> T copy()
copy in interface ComponentModifiercopy in class DictionaryBeanBaseprotected <T> void copyProperties(T componentModifier)
copyProperties in class UifDictionaryBeanBasecomponentModifier - base bean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||