Class AbstractBusinessServiceImpl<T extends com.hack23.cia.service.api.action.common.ServiceRequest,​V extends com.hack23.cia.service.api.action.common.ServiceResponse>

    • Field Detail

      • createApplicationEventService

        @Autowired
        protected BusinessService<com.hack23.cia.service.api.action.application.CreateApplicationEventRequest,​com.hack23.cia.service.api.action.application.CreateApplicationEventResponse> createApplicationEventService
        The create application event service.
    • Constructor Detail

      • AbstractBusinessServiceImpl

        public AbstractBusinessServiceImpl​(java.lang.Class<T> clazz)
        Instantiates a new abstract business service impl.
        Parameters:
        clazz - the clazz
    • Method Detail

      • getCreateApplicationEventService

        protected final BusinessService<com.hack23.cia.service.api.action.application.CreateApplicationEventRequest,​com.hack23.cia.service.api.action.application.CreateApplicationEventResponse> getCreateApplicationEventService()
        Gets the create application event service.
        Returns:
        the create application event service
      • createErrorResponse

        protected abstract V createErrorResponse()
        Creates the error response.
        Returns:
        the v
      • inputValidation

        protected final V inputValidation​(T serviceRequest)
        Input validation.
        Parameters:
        serviceRequest - the service request
        Returns:
        the v
      • createBaseApplicationEventRequest

        protected final com.hack23.cia.service.api.action.application.CreateApplicationEventRequest createBaseApplicationEventRequest()
        Creates the base application event request.
        Returns:
        the creates the application event request
      • createApplicationEventForService

        protected abstract com.hack23.cia.service.api.action.application.CreateApplicationEventRequest createApplicationEventForService​(T serviceRequest)
        Creates the application event for service.
        Parameters:
        serviceRequest - the service request
        Returns:
        the creates the application event request