|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.service.impl.AlwaysSucceedParameterEvaluatorImpl
public class AlwaysSucceedParameterEvaluatorImpl
This implementation of ParameterEvaluator is returned by ParameterServiceImpl when evaluation involves a constraining value and neither the allow nor deny parameter have restrictions for that value.
| Field Summary | |
|---|---|
private static AlwaysSucceedParameterEvaluatorImpl |
instance
|
| Constructor Summary | |
|---|---|
private |
AlwaysSucceedParameterEvaluatorImpl()
|
| Method Summary | |
|---|---|
boolean |
constraintIsAllow()
This method determines whether the parameter lists allowed values or denied values. |
boolean |
evaluateAndAddError(Class businessObjectOrDocumentClass,
String constrainedPropertyName)
This method uses the evaluateAndAddError method. |
boolean |
evaluateAndAddError(Class businessObjectOrDocumentClass,
String constrainedPropertyName,
String userEditablePropertyName)
This method uses the evaluationSucceeds method to evaluate the constrainedValue. |
boolean |
evaluationSucceeds()
This method determines whether the constrainedValue specified when the ParameterEvaluator was created matches the parameter. |
static ParameterEvaluator |
getInstance()
|
String |
getName()
|
String |
getParameterValuesForMessage()
This method creates a pretty String representation of parameter values for the user messages. |
String |
getValue()
This method returns the value of the correspnding Parameter. |
void |
setConstrainedValue(String constrainedValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final AlwaysSucceedParameterEvaluatorImpl instance
| Constructor Detail |
|---|
private AlwaysSucceedParameterEvaluatorImpl()
| Method Detail |
|---|
public static ParameterEvaluator getInstance()
public boolean constraintIsAllow()
ParameterEvaluator
constraintIsAllow in interface ParameterEvaluator
public boolean evaluateAndAddError(Class businessObjectOrDocumentClass,
String constrainedPropertyName,
String userEditablePropertyName)
ParameterEvaluator
evaluateAndAddError in interface ParameterEvaluator
public boolean evaluateAndAddError(Class businessObjectOrDocumentClass,
String constrainedPropertyName)
ParameterEvaluator
evaluateAndAddError in interface ParameterEvaluatorpublic boolean evaluationSucceeds()
ParameterEvaluator
evaluationSucceeds in interface ParameterEvaluatorpublic String getName()
public String getParameterValuesForMessage()
ParameterEvaluator
getParameterValuesForMessage in interface ParameterEvaluatorpublic String getValue()
ParameterEvaluator
getValue in interface ParameterEvaluatorpublic void setConstrainedValue(String constrainedValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||