Class ParameterEvaluatorServiceImpl
- java.lang.Object
-
- org.kuali.rice.core.impl.parameter.ParameterEvaluatorServiceImpl
-
- All Implemented Interfaces:
ParameterEvaluatorService
public class ParameterEvaluatorServiceImpl extends Object implements ParameterEvaluatorService
-
-
Constructor Summary
Constructors Constructor Description ParameterEvaluatorServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterEvaluatorgetParameterEvaluator(Class componentClass, String parameterName)This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter.ParameterEvaluatorgetParameterEvaluator(Class componentClass, String parameterName, String constrainedValue)This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName, the values of the Parameter, the knowledge of whether the values are allowed or denied, and the constrainedValue.ParameterEvaluatorgetParameterEvaluator(Class componentClass, String parameterName, String constrainingValue, String constrainedValue)This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName, the values of the Parameter that correspond to the specified constrainingValue, the knowledge of whether the values are allowed or denied, and the constrainedValue.ParameterEvaluatorgetParameterEvaluator(Class componentClass, String allowParameterName, String denyParameterName, String constrainingValue, String constrainedValue)This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and allowParameterName or to the specified componentClass and denyParameterName (depending on which restricts based on the constraining value) or an instance of AlwaysSucceedParameterEvaluatorImpl if neither restricts, the values of the Parameter that correspond to the specified constrainingValue, the knowledge of whether the values are allowed or denied, and the constrainedValue.ParameterEvaluatorgetParameterEvaluator(String namespaceCode, String detailTypeCode, String parameterName)This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter.ParameterEvaluatorgetParameterEvaluator(String namespaceCode, String detailTypeCode, String parameterName, String constrainedValue)This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter.protected ParameterEvaluatorImplgetParameterEvaluator(Parameter parameter)protected ParameterEvaluatorImplgetParameterEvaluator(Parameter parameter, String constrainedValue)protected ParameterEvaluatorImplgetParameterEvaluator(Parameter parameter, String constrainingValue, String constrainedValue)protected List<String>getParameterValues(Parameter parameter, String constrainingValue)voidsetParameterService(ParameterService parameterService)
-
-
-
Method Detail
-
setParameterService
public void setParameterService(ParameterService parameterService)
-
getParameterEvaluator
public ParameterEvaluator getParameterEvaluator(Class componentClass, String parameterName)
This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter.- Specified by:
getParameterEvaluatorin interfaceParameterEvaluatorService- Parameters:
componentClass-parameterName-- Returns:
- ParameterEvaluator instance initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter
-
getParameterEvaluator
public ParameterEvaluator getParameterEvaluator(String namespaceCode, String detailTypeCode, String parameterName)
This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter.- Specified by:
getParameterEvaluatorin interfaceParameterEvaluatorService- Parameters:
namespaceCode-detailTypeCode-parameterName-- Returns:
- ParameterEvaluator instance initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter
-
getParameterEvaluator
public ParameterEvaluator getParameterEvaluator(Class componentClass, String parameterName, String constrainedValue)
This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName, the values of the Parameter, the knowledge of whether the values are allowed or denied, and the constrainedValue.- Specified by:
getParameterEvaluatorin interfaceParameterEvaluatorService- Parameters:
componentClass-parameterName-- Returns:
- ParameterEvaluator instance initialized with the Parameter corresponding to the specified componentClass and parameterName, the values of the Parameter, the knowledge of whether the values are allowed or denied, and the constrainedValue
-
getParameterEvaluator
public ParameterEvaluator getParameterEvaluator(String namespaceCode, String detailTypeCode, String parameterName, String constrainedValue)
This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter.- Specified by:
getParameterEvaluatorin interfaceParameterEvaluatorService- Parameters:
namespaceCode-detailTypeCode-parameterName-- Returns:
- ParameterEvaluator instance initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter
-
getParameterEvaluator
public ParameterEvaluator getParameterEvaluator(Class componentClass, String parameterName, String constrainingValue, String constrainedValue)
This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName, the values of the Parameter that correspond to the specified constrainingValue, the knowledge of whether the values are allowed or denied, and the constrainedValue.- Specified by:
getParameterEvaluatorin interfaceParameterEvaluatorService- Parameters:
componentClass-parameterName-- Returns:
- ParameterEvaluator instance initialized with the Parameter corresponding to the specified componentClass and parameterName, the values of the Parameter that correspond to the specified constrainingValue, the knowledge of whether the values are allowed or denied, and the constrainedValue
-
getParameterEvaluator
public ParameterEvaluator getParameterEvaluator(Class componentClass, String allowParameterName, String denyParameterName, String constrainingValue, String constrainedValue)
This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and allowParameterName or to the specified componentClass and denyParameterName (depending on which restricts based on the constraining value) or an instance of AlwaysSucceedParameterEvaluatorImpl if neither restricts, the values of the Parameter that correspond to the specified constrainingValue, the knowledge of whether the values are allowed or denied, and the constrainedValue.- Specified by:
getParameterEvaluatorin interfaceParameterEvaluatorService- Parameters:
componentClass-allowParameterName-denyParameterName-constrainingValue-constrainedValue-- Returns:
- AlwaysSucceedParameterEvaluatorImpl or ParameterEvaluator instance initialized with the Parameter that corresponds to the constrainingValue restriction, the values of the Parameter that correspond to the specified constrainingValue, the knowledge of whether the values are allowed or denied, and the constrainedValue
-
getParameterValues
protected List<String> getParameterValues(Parameter parameter, String constrainingValue)
-
getParameterEvaluator
protected ParameterEvaluatorImpl getParameterEvaluator(Parameter parameter)
-
getParameterEvaluator
protected ParameterEvaluatorImpl getParameterEvaluator(Parameter parameter, String constrainedValue)
-
getParameterEvaluator
protected ParameterEvaluatorImpl getParameterEvaluator(Parameter parameter, String constrainingValue, String constrainedValue)
-
-