Class CustomParameterConstraint
java.lang.Object
org.alfresco.repo.action.constraint.BaseParameterConstraint
org.alfresco.module.org_alfresco_module_rm.action.constraint.CustomParameterConstraint
- All Implemented Interfaces:
ParameterConstraint,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
A parameter constraint that reads in a list of allowable values from Spring configuration
- Since:
- 2.1
- Author:
- Craig Tan
-
Field Summary
Fields inherited from class org.alfresco.repo.action.constraint.BaseParameterConstraint
actionService, allowableValues, cache, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetParameterValues(List<String> parameterValues) Sets the parameter valuesMethods inherited from class org.alfresco.repo.action.constraint.BaseParameterConstraint
getAllowableValues, getI18NLabel, getName, getValueDisplayLabel, init, isValidValue, setActionService, setBeanName, setCacheAllowableValuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.service.cmr.action.ParameterConstraint
getValues
-
Constructor Details
-
CustomParameterConstraint
public CustomParameterConstraint()
-
-
Method Details
-
setParameterValues
Sets the parameter values- Parameters:
parameterValues- The parameter values
-
getAllowableValuesImpl
- Specified by:
getAllowableValuesImplin classBaseParameterConstraint- See Also:
-