Package org.springdoc.data.rest.core
Class DataRestRouterOperationService
- java.lang.Object
-
- org.springdoc.data.rest.core.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 voidbuildEntityRouterOperationList(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.voidbuildSearchRouterOperationList(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 builderspringDocConfigProperties- the spring doc config propertiesrepositoryRestConfiguration- the repository rest configurationdataRestHalProvider- 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 listhandlerMethodMap- the handler method mapresourceMetadata- the resource metadatadataRestRepository- the repository data restopenAPI- 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 listhandlerMethodMap- the handler method mapresourceMetadata- the resource metadatadataRestRepository- the repository data restopenAPI- the open apimethodResourceMapping- the method resource mapping
-
-