Class ChangePasswordService

  • All Implemented Interfaces:
    BusinessService<com.hack23.cia.service.api.action.user.ChangePasswordRequest,​com.hack23.cia.service.api.action.user.ChangePasswordResponse>

    @Service
    @Transactional(propagation=REQUIRED,
                   timeout=600)
    public final class ChangePasswordService
    extends AbstractBusinessServiceImpl<com.hack23.cia.service.api.action.user.ChangePasswordRequest,​com.hack23.cia.service.api.action.user.ChangePasswordResponse>
    implements BusinessService<com.hack23.cia.service.api.action.user.ChangePasswordRequest,​com.hack23.cia.service.api.action.user.ChangePasswordResponse>
    The Class ChangePasswordService.
    • Constructor Detail

      • ChangePasswordService

        public ChangePasswordService()
        Instantiates a new change password service.
    • Method Detail

      • processService

        @Secured({"ROLE_USER","ROLE_ADMIN"})
        public com.hack23.cia.service.api.action.user.ChangePasswordResponse processService​(com.hack23.cia.service.api.action.user.ChangePasswordRequest serviceRequest)
        Description copied from interface: BusinessService
        Process service.
        Specified by:
        processService in interface BusinessService<com.hack23.cia.service.api.action.user.ChangePasswordRequest,​com.hack23.cia.service.api.action.user.ChangePasswordResponse>
        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.user.ChangePasswordRequest serviceRequest)
        Description copied from class: AbstractBusinessServiceImpl
        Creates the application event for service.
        Specified by:
        createApplicationEventForService in class AbstractBusinessServiceImpl<com.hack23.cia.service.api.action.user.ChangePasswordRequest,​com.hack23.cia.service.api.action.user.ChangePasswordResponse>
        Parameters:
        serviceRequest - the service request
        Returns:
        the creates the application event request
      • createErrorResponse

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