Class TypeParameterConstraint
java.lang.Object
org.alfresco.repo.action.constraint.BaseParameterConstraint
org.alfresco.repo.action.constraint.TypeParameterConstraint
- All Implemented Interfaces:
ParameterConstraint,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
Type parameter constraint
- Author:
- Roy Wetherall
-
Field Summary
FieldsFields inherited from class org.alfresco.repo.action.constraint.BaseParameterConstraint
actionService, allowableValues, cache, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of allowable values, calculating them every time it is called.Returns possible constraint values.voidsetDictionaryService(DictionaryService dictionaryService) Methods inherited from class org.alfresco.repo.action.constraint.BaseParameterConstraint
getAllowableValues, getI18NLabel, getName, getValueDisplayLabel, init, isValidValue, setActionService, setBeanName, setCacheAllowableValues
-
Field Details
-
NAME
Name constant- See Also:
-
-
Constructor Details
-
TypeParameterConstraint
public TypeParameterConstraint()
-
-
Method Details
-
setDictionaryService
-
getAllowableValuesImpl
Description copied from class:BaseParameterConstraintGets the list of allowable values, calculating them every time it is called.- Specified by:
getAllowableValuesImplin classBaseParameterConstraint- Returns:
- map of allowable values
- See Also:
-
getValues
Description copied from interface:ParameterConstraintReturns possible constraint values. By default returns getAllowableValues() to be backwards compatible.
-