Class DisableGoogleAuthenticatorCredentialService

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

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

      • DisableGoogleAuthenticatorCredentialService

        public DisableGoogleAuthenticatorCredentialService()
        Instantiates a new disable google authenticator credential service.
    • Method Detail

      • processService

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

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