Class SetGoogleAuthenticatorCredentialService

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

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

      • SetGoogleAuthenticatorCredentialService

        public SetGoogleAuthenticatorCredentialService()
        Instantiates a new sets the google authenticator credential service.
    • Method Detail

      • processService

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

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