Class ConfirmationCodeProxyApiController

  • All Implemented Interfaces:
    ru.foodtechlab.lib.auth.service.facade.confirmationCode.endpoints.FindConfirmationCodeByIdEndpoint, ru.foodtechlab.lib.auth.service.facade.confirmationCode.endpoints.FindConfirmationCodesEndpoint, ru.foodtechlab.lib.auth.service.facade.confirmationCode.resources.ConfirmationCodeResource

    public class ConfirmationCodeProxyApiController
    extends Object
    implements ru.foodtechlab.lib.auth.service.facade.confirmationCode.resources.ConfirmationCodeResource
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.rcore.rest.api.commons.response.SuccessApiResponse<com.rcore.domain.commons.port.dto.SearchResult<ru.foodtechlab.lib.auth.service.facade.confirmationCode.dto.responses.ConfirmationCodeResponse>> find​(ru.foodtechlab.lib.auth.service.facade.confirmationCode.dto.requests.SearchConfirmationCodeWithFiltersRequest request)  
      com.rcore.rest.api.commons.response.SuccessApiResponse<ru.foodtechlab.lib.auth.service.facade.confirmationCode.dto.responses.ConfirmationCodeResponse> findById​(String id)  
    • Constructor Detail

      • ConfirmationCodeProxyApiController

        public ConfirmationCodeProxyApiController()
    • Method Detail

      • findById

        @GetMapping(value="/api/v1/confirmation-codes/{id}",
                    produces="application/json")
        public com.rcore.rest.api.commons.response.SuccessApiResponse<ru.foodtechlab.lib.auth.service.facade.confirmationCode.dto.responses.ConfirmationCodeResponse> findById​(@PathVariable
                                                                                                                                                                               String id)
        Specified by:
        findById in interface ru.foodtechlab.lib.auth.service.facade.confirmationCode.endpoints.FindConfirmationCodeByIdEndpoint
      • find

        @GetMapping(value="/api/v1/confirmation-codes",
                    produces="application/json")
        public com.rcore.rest.api.commons.response.SuccessApiResponse<com.rcore.domain.commons.port.dto.SearchResult<ru.foodtechlab.lib.auth.service.facade.confirmationCode.dto.responses.ConfirmationCodeResponse>> find​(@ModelAttribute
                                                                                                                                                                                                                           ru.foodtechlab.lib.auth.service.facade.confirmationCode.dto.requests.SearchConfirmationCodeWithFiltersRequest request)
        Specified by:
        find in interface ru.foodtechlab.lib.auth.service.facade.confirmationCode.endpoints.FindConfirmationCodesEndpoint