Class DataRestRouterOperationService


  • public class DataRestRouterOperationService
    extends Object
    The type Data rest router operation builder.
    Author:
    bnasslahsen
    • Constructor Summary

      Constructors 
      Constructor Description
      DataRestRouterOperationService​(DataRestOperationService dataRestOperationService, org.springdoc.core.SpringDocConfigProperties springDocConfigProperties, org.springframework.data.rest.core.config.RepositoryRestConfiguration repositoryRestConfiguration, DataRestHalProvider dataRestHalProvider)
      Instantiates a new Data rest router operation builder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void buildEntityRouterOperationList​(List<org.springdoc.core.fn.RouterOperation> routerOperationList, Map<org.springframework.web.servlet.mvc.method.RequestMappingInfo,​org.springframework.web.method.HandlerMethod> handlerMethodMap, org.springframework.data.rest.core.mapping.ResourceMetadata resourceMetadata, DataRestRepository dataRestRepository, io.swagger.v3.oas.models.OpenAPI openAPI)
      Build entity router operation list.
      void buildSearchRouterOperationList​(List<org.springdoc.core.fn.RouterOperation> routerOperationList, Map<org.springframework.web.servlet.mvc.method.RequestMappingInfo,​org.springframework.web.method.HandlerMethod> handlerMethodMap, org.springframework.data.rest.core.mapping.ResourceMetadata resourceMetadata, DataRestRepository dataRestRepository, io.swagger.v3.oas.models.OpenAPI openAPI, org.springframework.data.rest.core.mapping.MethodResourceMapping methodResourceMapping)
      Build search router operation list.
    • Constructor Detail

      • DataRestRouterOperationService

        public DataRestRouterOperationService​(DataRestOperationService dataRestOperationService,
                                              org.springdoc.core.SpringDocConfigProperties springDocConfigProperties,
                                              org.springframework.data.rest.core.config.RepositoryRestConfiguration repositoryRestConfiguration,
                                              DataRestHalProvider dataRestHalProvider)
        Instantiates a new Data rest router operation builder.
        Parameters:
        dataRestOperationService - the data rest operation builder
        springDocConfigProperties - the spring doc config properties
        repositoryRestConfiguration - the repository rest configuration
        dataRestHalProvider - the data rest hal provider
    • Method Detail

      • buildEntityRouterOperationList

        public void buildEntityRouterOperationList​(List<org.springdoc.core.fn.RouterOperation> routerOperationList,
                                                   Map<org.springframework.web.servlet.mvc.method.RequestMappingInfo,​org.springframework.web.method.HandlerMethod> handlerMethodMap,
                                                   org.springframework.data.rest.core.mapping.ResourceMetadata resourceMetadata,
                                                   DataRestRepository dataRestRepository,
                                                   io.swagger.v3.oas.models.OpenAPI openAPI)
        Build entity router operation list.
        Parameters:
        routerOperationList - the router operation list
        handlerMethodMap - the handler method map
        resourceMetadata - the resource metadata
        dataRestRepository - the repository data rest
        openAPI - the open api
      • buildSearchRouterOperationList

        public void buildSearchRouterOperationList​(List<org.springdoc.core.fn.RouterOperation> routerOperationList,
                                                   Map<org.springframework.web.servlet.mvc.method.RequestMappingInfo,​org.springframework.web.method.HandlerMethod> handlerMethodMap,
                                                   org.springframework.data.rest.core.mapping.ResourceMetadata resourceMetadata,
                                                   DataRestRepository dataRestRepository,
                                                   io.swagger.v3.oas.models.OpenAPI openAPI,
                                                   org.springframework.data.rest.core.mapping.MethodResourceMapping methodResourceMapping)
        Build search router operation list.
        Parameters:
        routerOperationList - the router operation list
        handlerMethodMap - the handler method map
        resourceMetadata - the resource metadata
        dataRestRepository - the repository data rest
        openAPI - the open api
        methodResourceMapping - the method resource mapping