Class UpdateSearchIndexService

  • All Implemented Interfaces:
    BusinessService<com.hack23.cia.service.api.action.admin.UpdateSearchIndexRequest,​com.hack23.cia.service.api.action.admin.UpdateSearchIndexResponse>

    @Service
    @Transactional(propagation=REQUIRED,
                   timeout=1200)
    public final class UpdateSearchIndexService
    extends AbstractBusinessServiceImpl<com.hack23.cia.service.api.action.admin.UpdateSearchIndexRequest,​com.hack23.cia.service.api.action.admin.UpdateSearchIndexResponse>
    implements BusinessService<com.hack23.cia.service.api.action.admin.UpdateSearchIndexRequest,​com.hack23.cia.service.api.action.admin.UpdateSearchIndexResponse>
    The Class UpdateSearchIndexService.
    • Constructor Detail

      • UpdateSearchIndexService

        @Autowired
        public UpdateSearchIndexService​(com.hack23.cia.service.data.api.SearchIndexer searchIndexer)
        Instantiates a new update search index service.
        Parameters:
        searchIndexer - the search indexer
    • Method Detail

      • processService

        @Secured("ROLE_ADMIN")
        public com.hack23.cia.service.api.action.admin.UpdateSearchIndexResponse processService​(com.hack23.cia.service.api.action.admin.UpdateSearchIndexRequest serviceRequest)
        Description copied from interface: BusinessService
        Process service.
        Specified by:
        processService in interface BusinessService<com.hack23.cia.service.api.action.admin.UpdateSearchIndexRequest,​com.hack23.cia.service.api.action.admin.UpdateSearchIndexResponse>
        Parameters:
        serviceRequest - the service request
        Returns:
        the v
      • createApplicationEventForService

        protected com.hack23.cia.service.api.action.application.CreateApplicationEventRequest createApplicationEventForService​(com.hack23.cia.service.api.action.admin.UpdateSearchIndexRequest serviceRequest)
        Description copied from class: AbstractBusinessServiceImpl
        Creates the application event for service.
        Specified by:
        createApplicationEventForService in class AbstractBusinessServiceImpl<com.hack23.cia.service.api.action.admin.UpdateSearchIndexRequest,​com.hack23.cia.service.api.action.admin.UpdateSearchIndexResponse>
        Parameters:
        serviceRequest - the service request
        Returns:
        the creates the application event request
      • createErrorResponse

        protected com.hack23.cia.service.api.action.admin.UpdateSearchIndexResponse createErrorResponse()
        Description copied from class: AbstractBusinessServiceImpl
        Creates the error response.
        Specified by:
        createErrorResponse in class AbstractBusinessServiceImpl<com.hack23.cia.service.api.action.admin.UpdateSearchIndexRequest,​com.hack23.cia.service.api.action.admin.UpdateSearchIndexResponse>
        Returns:
        the v