Class AbstractBaseController

    • Constructor Detail

      • AbstractBaseController

        public AbstractBaseController()
    • Method Detail

      • handleUnknownApplicationException

        @ExceptionHandler(com.aquima.interactions.portal.exception.UnknownApplicationException.class)
        @ResponseStatus(NOT_FOUND)
        @ResponseBody
        public JsonError handleUnknownApplicationException​(com.aquima.interactions.portal.exception.UnknownApplicationException exception)
      • handleUnknownModuleException

        @ExceptionHandler(com.aquima.interactions.portal.exception.UnknownModuleException.class)
        @ResponseStatus(NOT_FOUND)
        @ResponseBody
        public JsonError handleUnknownModuleException​(com.aquima.interactions.portal.exception.UnknownModuleException exception)
      • handleUnknownFlowException

        @ExceptionHandler(com.aquima.interactions.flow.exception.UnknownFlowException.class)
        @ResponseStatus(NOT_FOUND)
        @ResponseBody
        public JsonError handleUnknownFlowException​(com.aquima.interactions.flow.exception.UnknownFlowException exception)
      • handleUnknownFunctionFlowException

        @ExceptionHandler(com.aquima.interactions.flow.exception.UnknownFunctionFlowException.class)
        @ResponseStatus(NOT_FOUND)
        @ResponseBody
        public JsonError handleUnknownFunctionFlowException​(com.aquima.interactions.flow.exception.UnknownFunctionFlowException exception)
      • handleFunctionParameterException

        @ExceptionHandler(com.aquima.interactions.portal.function.FunctionParameterException.class)
        @ResponseStatus(BAD_REQUEST)
        @ResponseBody
        public JsonError handleFunctionParameterException​(com.aquima.interactions.portal.function.FunctionParameterException exception)
      • handleFunctionValidationException

        @ExceptionHandler(org.springframework.http.converter.HttpMessageNotReadableException.class)
        @ResponseStatus(BAD_REQUEST)
        @ResponseBody
        public JsonError handleFunctionValidationException​(org.springframework.http.converter.HttpMessageNotReadableException exception)
      • handleFunctionValidationException

        @ExceptionHandler(com.aquima.interactions.portal.function.FunctionValidationException.class)
        @ResponseStatus(BAD_REQUEST)
        @ResponseBody
        public com.aquima.web.api.controller.v1.JsonValidationError handleFunctionValidationException​(com.aquima.interactions.portal.function.FunctionValidationException exception)
      • handleConversionException

        @ExceptionHandler(org.springframework.core.convert.ConversionException.class)
        @ResponseStatus(INTERNAL_SERVER_ERROR)
        @ResponseBody
        public JsonError handleConversionException​(org.springframework.core.convert.ConversionException exception)
      • handleUnknownSessionException

        @ExceptionHandler(com.blueriq.component.api.exception.UnknownSessionException.class)
        @ResponseStatus(NOT_FOUND)
        @ResponseBody
        public JsonError handleUnknownSessionException​(com.blueriq.component.api.exception.UnknownSessionException exception)
      • handleMethodArgumentTypeMismatchException

        @ExceptionHandler(org.springframework.web.method.annotation.MethodArgumentTypeMismatchException.class)
        public JsonError handleMethodArgumentTypeMismatchException​(org.springframework.web.method.annotation.MethodArgumentTypeMismatchException exception,
                                                                   javax.servlet.http.HttpServletResponse response)
                                                            throws Throwable
        Throws:
        Throwable
      • handleUnknownLanguageException

        @ExceptionHandler(com.aquima.interactions.metamodel.exception.UnknownLanguageException.class)
        @ResponseStatus(NOT_FOUND)
        @ResponseBody
        public JsonError handleUnknownLanguageException​(com.aquima.interactions.metamodel.exception.UnknownLanguageException ex)
      • handleUnknownDecisionTreeException

        @ExceptionHandler(com.aquima.interactions.dtree.exception.DecisionTreeFinderException.class)
        @ResponseStatus(NOT_FOUND)
        @ResponseBody
        public JsonError handleUnknownDecisionTreeException​(com.aquima.interactions.dtree.exception.DecisionTreeFinderException exception)
      • handleEmptySymptomException

        @ExceptionHandler(com.aquima.interactions.foundation.exception.EmptySymptomException.class)
        @ResponseStatus(BAD_REQUEST)
        @ResponseBody
        public JsonError handleEmptySymptomException​(com.aquima.interactions.foundation.exception.EmptySymptomException exception)
      • handleDecisionTreeNotExposedException

        @ExceptionHandler(com.aquima.interactions.foundation.exception.DecisionTreeNotExposedException.class)
        @ResponseStatus(BAD_REQUEST)
        @ResponseBody
        public JsonError handleDecisionTreeNotExposedException​(com.aquima.interactions.foundation.exception.DecisionTreeNotExposedException exception)
      • handleStartFlowForbiddenException

        @ExceptionHandler(com.aquima.interactions.portal.exception.FlowAuthorizationException.class)
        @ResponseStatus(FORBIDDEN)
        @ResponseBody
        public JsonError handleStartFlowForbiddenException​(com.aquima.interactions.portal.exception.FlowAuthorizationException exception)
      • isAuthenticated

        protected final boolean isAuthenticated​(com.aquima.interactions.project.IUserData user)