| java.lang.Object org.kuali.kfs.service.impl.ParameterEvaluatorImpl
evaluateAndAddError | public boolean evaluateAndAddError(Class businessObjectOrDocumentClass, String constrainedPropertyName, String userEditablePropertyName)(Code) | | This method uses the evaluationSucceeds method to evaluate the constrainedValue. If evaluation does not succeed, it adds an
error to GlobalVariables.getErrorMap(). The businessObjectOrDocumentClass, nameOfConstrainedProperty and
userEditablePropertyName are used to retrieve the appropriate labels from the DataDictionary.
Parameters: businessObjectOrDocumentClass - Parameters: userEditableFieldToHighlight - Parameters: nameOfconstrainedProperty - boolean indicating whether evaluation succeeded (see evaluationSucceeds) |
evaluationSucceeds | public boolean evaluationSucceeds()(Code) | | If the constraint is allow and the constrainedValue is in the list of allowed values specified by the parameter this will
return true, and if the constraint is deny and the constrainedValue is not in the list of denied values specified by the
parameter this method will return true.
boolean indicating whether the constrained value adheres to the restriction specified by the combination of theparameter constraint and the parameter value |
getParameterValuesForMessage | public String getParameterValuesForMessage()(Code) | | This method uses the List toString method and eliminates the [].
user-friendly String representation of Parameter values |
setConstrainedValue | public void setConstrainedValue(String constrainedValue)(Code) | | |
setConstraintIsAllow | public void setConstraintIsAllow(boolean constraintIsAllow)(Code) | | |
|
|