Class CustomParameterConstraint

  • All Implemented Interfaces:
    org.alfresco.service.cmr.action.ParameterConstraint, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

    public class CustomParameterConstraint
    extends org.alfresco.repo.action.constraint.BaseParameterConstraint
    A parameter constraint that reads in a list of allowable values from Spring configuration
    Since:
    2.1
    Author:
    Craig Tan
    • Constructor Detail

      • CustomParameterConstraint

        public CustomParameterConstraint()
    • Method Detail

      • setParameterValues

        public void setParameterValues​(List<String> parameterValues)
        Sets the parameter values
        Parameters:
        parameterValues - The parameter values
      • getAllowableValuesImpl

        protected Map<String,​String> getAllowableValuesImpl()
        Specified by:
        getAllowableValuesImpl in class org.alfresco.repo.action.constraint.BaseParameterConstraint
        See Also:
        ParameterConstraint.getAllowableValues()