Class HelpDefinition
- All Implemented Interfaces:
Serializable,Cloneable,Copyable,DataDictionaryDefinition,DictionaryBean,UifDictionaryBean
- See Also:
-
Field Summary
FieldsFields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
embeddedDataObjectMetadata, generatedFromMetadata, idFields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap of expressions that were configured for the object's graphgetPropertyExpression(String propertyName) Returns the expression configured for the property with the given nameMap of expressions that should be evaluated to conditionally set a property on the componentvoidsetExpressionGraph(Map<String, String> expressionGraph) Setter for the map of expressions contained on the configurable graphvoidsetParameterDetailType(String parameterDetailType) parameterDetailType: detail type of the parameter that has the path to the help pagevoidsetParameterName(String parameterName) voidsetParameterNamespace(String parameterNamespace) parameterNamespace: namespace of the parameter that has the path to the help pagevoidsetPropertyExpressions(Map<String, String> propertyExpressions) Setter for the Map of property expressionsMethods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
completeValidation, completeValidation, getId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadataMethods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
-
Field Details
-
parameterNamespace
-
parameterDetailType
-
parameterName
-
-
Constructor Details
-
HelpDefinition
public HelpDefinition()Constructs a HelpDefinition.
-
-
Method Details
-
getParameterName
- Returns:
- parameter name
-
setParameterName
- Parameters:
parameterName- name of the parameter that has the path to the help page
-
getParameterNamespace
- Returns:
- parameter namespace
-
setParameterNamespace
parameterNamespace: namespace of the parameter that has the path to the help page -
getParameterDetailType
-
setParameterDetailType
parameterDetailType: detail type of the parameter that has the path to the help page -
getExpressionGraph
Map of expressions that were configured for the object's graphDuring processing of the UIF configuration, expressions are pulled out and placed into this map for the component graph. A component graph contains the component and all one to one nested components (but not those that are contained in collections, each of these begins another graph). The expressions are placed at the root component level instead of the actual nested component for handling of nested property configuration and overridding
The expression graph map key gives the property name (possibly nested) the expression was configured on, and the map value gives the expression. During the view lifecycle, see
PopulateComponentFromExpressionGraphTaskandPopulateReplacersAndModifiersFromExpressionGraphTask, the expressions are moved to theUifDictionaryBean.getPropertyExpressions()map for the configurable they should be evaluated on- Specified by:
getExpressionGraphin interfaceUifDictionaryBean- Returns:
- Mapinvalid input: '<'String, String> map of expressions contained on the configurable graph
-
setExpressionGraph
Setter for the map of expressions contained on the configurable graph- Specified by:
setExpressionGraphin interfaceUifDictionaryBean- Parameters:
expressionGraph-
-
getPropertyExpressions
Description copied from interface:UifDictionaryBeanMap of expressions that should be evaluated to conditionally set a property on the componentWhen configuring a component property through XML an expression can be given using the @{} placeholder. During the loading of the XML any such expressions are captured and placed into this Map, with the property they apply to set as the Map key. The expressions are then evaluated during the apply model phase and the result is set as the property value.
Note after the expression is picked up, the property configuration is removed. Thus the property in the component will only have its default object value until the expression is evaluated
- Specified by:
getPropertyExpressionsin interfaceUifDictionaryBean- Returns:
- Mapinvalid input: '<'String, String> map of expressions where key is property name and value is expression to evaluate
- See Also:
-
setPropertyExpressions
Setter for the Map of property expressions- Specified by:
setPropertyExpressionsin interfaceUifDictionaryBean- Parameters:
propertyExpressions-
-
getPropertyExpression
Returns the expression configured for the property with the given name- Specified by:
getPropertyExpressionin interfaceUifDictionaryBean- Parameters:
propertyName- property name- Returns:
- String expression for property or null if expression is not configured
- See Also:
-