|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VariableValidationService
| Method Summary | |
|---|---|
void |
validateIdForGlobalVariable(com.opensymphony.xwork.ValidationAware validationAware,
long variableId)
Validate if id identifies global variable |
void |
validateIdForPlanVariable(com.opensymphony.xwork.ValidationAware validationAware,
long variableId,
Plan expectedPlan)
Validate if id identifies plan variable of a given plan |
void |
validateKey(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableKey)
Validate String against Bamboo general rules for variable keys |
void |
validateValueForGlobalVariable(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableValue)
Deprecated. since 3.3 Use validateValueForVariable(com.opensymphony.xwork.ValidationAware, java.lang.String, java.lang.String) |
void |
validateValueForPlanVariable(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableValue)
Deprecated. since 3.3 Use validateValueForVariable(com.opensymphony.xwork.ValidationAware, java.lang.String, java.lang.String) |
void |
validateValueForVariable(com.opensymphony.xwork.ValidationAware validationAware,
java.lang.String fieldName,
java.lang.String variableValue)
Validate String against Bamboo general rules for variable value |
| Method Detail |
|---|
void validateIdForGlobalVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
long variableId)
validationAware - the object to add errors to if any are foundvariableId - the actual id to validate
void validateIdForPlanVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
long variableId,
@NotNull
Plan expectedPlan)
validationAware - the object to add errors to if any are foundvariableId - the actual id to validateexpectedPlan - the Plan we expect this variable to be associated to
void validateKey(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableKey)
validationAware - the object to add errors to if any are foundfieldName - the name of the field to add the errors tovariableKey - the actual key to validate
@Deprecated
void validateValueForGlobalVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableValue)
validateValueForVariable(com.opensymphony.xwork.ValidationAware, java.lang.String, java.lang.String)
validationAware - the object to add errors to if any are foundfieldName - the name of the field to add the errors tovariableValue - the actual value to validate
@Deprecated
void validateValueForPlanVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableValue)
validateValueForVariable(com.opensymphony.xwork.ValidationAware, java.lang.String, java.lang.String)
validationAware - the object to add errors to if any are foundfieldName - the name of the field to add the errors tovariableValue - the actual value to validate
void validateValueForVariable(@NotNull
com.opensymphony.xwork.ValidationAware validationAware,
@NotNull
java.lang.String fieldName,
@Nullable
java.lang.String variableValue)
validationAware - the object to add errors to if any are foundfieldName - the name of the field to add the errors tovariableValue - the actual value to validate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||