Class ParameterEvaluatorServiceImpl

    • Constructor Detail

      • ParameterEvaluatorServiceImpl

        public ParameterEvaluatorServiceImpl()
    • Method Detail

      • setParameterService

        public void setParameterService​(ParameterService parameterService)
      • getParameterEvaluator

        public ParameterEvaluator getParameterEvaluator​(Class componentClass,
                                                        String parameterName)
        This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter.
        Specified by:
        getParameterEvaluator in interface ParameterEvaluatorService
        Parameters:
        componentClass -
        parameterName -
        Returns:
        ParameterEvaluator instance initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter
      • getParameterEvaluator

        public ParameterEvaluator getParameterEvaluator​(String namespaceCode,
                                                        String detailTypeCode,
                                                        String parameterName)
        This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter.
        Specified by:
        getParameterEvaluator in interface ParameterEvaluatorService
        Parameters:
        namespaceCode -
        detailTypeCode -
        parameterName -
        Returns:
        ParameterEvaluator instance initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter
      • getParameterEvaluator

        public ParameterEvaluator getParameterEvaluator​(Class componentClass,
                                                        String parameterName,
                                                        String constrainedValue)
        This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName, the values of the Parameter, the knowledge of whether the values are allowed or denied, and the constrainedValue.
        Specified by:
        getParameterEvaluator in interface ParameterEvaluatorService
        Parameters:
        componentClass -
        parameterName -
        Returns:
        ParameterEvaluator instance initialized with the Parameter corresponding to the specified componentClass and parameterName, the values of the Parameter, the knowledge of whether the values are allowed or denied, and the constrainedValue
      • getParameterEvaluator

        public ParameterEvaluator getParameterEvaluator​(String namespaceCode,
                                                        String detailTypeCode,
                                                        String parameterName,
                                                        String constrainedValue)
        This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter.
        Specified by:
        getParameterEvaluator in interface ParameterEvaluatorService
        Parameters:
        namespaceCode -
        detailTypeCode -
        parameterName -
        Returns:
        ParameterEvaluator instance initialized with the Parameter corresponding to the specified componentClass and parameterName and the values of the Parameter
      • getParameterEvaluator

        public ParameterEvaluator getParameterEvaluator​(Class componentClass,
                                                        String parameterName,
                                                        String constrainingValue,
                                                        String constrainedValue)
        This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and parameterName, the values of the Parameter that correspond to the specified constrainingValue, the knowledge of whether the values are allowed or denied, and the constrainedValue.
        Specified by:
        getParameterEvaluator in interface ParameterEvaluatorService
        Parameters:
        componentClass -
        parameterName -
        Returns:
        ParameterEvaluator instance initialized with the Parameter corresponding to the specified componentClass and parameterName, the values of the Parameter that correspond to the specified constrainingValue, the knowledge of whether the values are allowed or denied, and the constrainedValue
      • getParameterEvaluator

        public ParameterEvaluator getParameterEvaluator​(Class componentClass,
                                                        String allowParameterName,
                                                        String denyParameterName,
                                                        String constrainingValue,
                                                        String constrainedValue)
        This method will return an instance of the parameterEvaluator bean defined in Spring, initialized with the Parameter corresponding to the specified componentClass and allowParameterName or to the specified componentClass and denyParameterName (depending on which restricts based on the constraining value) or an instance of AlwaysSucceedParameterEvaluatorImpl if neither restricts, the values of the Parameter that correspond to the specified constrainingValue, the knowledge of whether the values are allowed or denied, and the constrainedValue.
        Specified by:
        getParameterEvaluator in interface ParameterEvaluatorService
        Parameters:
        componentClass -
        allowParameterName -
        denyParameterName -
        constrainingValue -
        constrainedValue -
        Returns:
        AlwaysSucceedParameterEvaluatorImpl or ParameterEvaluator instance initialized with the Parameter that corresponds to the constrainingValue restriction, the values of the Parameter that correspond to the specified constrainingValue, the knowledge of whether the values are allowed or denied, and the constrainedValue