Package io.jmix.rest.impl.service
Class ServicesControllerManager
java.lang.Object
io.jmix.rest.impl.service.ServicesControllerManager
Class that executes business logic required by the 
ServicesController. It
 performs middleware services invocations.- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.beans.factory.BeanFactoryprotected DatatypeRegistryprotected EntitySerializationprotected Metadataprotected RestControllerUtilsprotected RestParseUtilsprotected RestServicesConfiguration
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription_invokeServiceMethod(String serviceName, String methodName, org.springframework.http.HttpMethod httpMethod, List<String> paramNames, List<String> paramValuesStr, String modelVersion) protected TypegetMethodReturnTypeArgument(Method serviceMethod) getServiceInfo(String serviceName) invokeServiceMethodGet(String serviceName, String methodName, Map<String, String> paramsMap, String modelVersion) invokeServiceMethodPost(String serviceName, String methodName, String paramsJson, String modelVersion) protected booleanisEntitiesCollection(Collection collection) 
- 
Field Details- 
restServicesConfiguration
- 
entitySerializationAPI
- 
restParseUtils
- 
restControllerUtils
- 
metadata
- 
beanFactory@Autowired protected org.springframework.beans.factory.BeanFactory beanFactory
- 
datatypeRegistry
 
- 
- 
Constructor Details- 
ServicesControllerManagerpublic ServicesControllerManager()
 
- 
- 
Method Details- 
invokeServiceMethodGet@Nullable public ServicesControllerManager.ServiceCallResult invokeServiceMethodGet(String serviceName, String methodName, Map<String, String> paramsMap, String modelVersion) throws Throwable- Throws:
- Throwable
 
- 
invokeServiceMethodPost@Nullable public ServicesControllerManager.ServiceCallResult invokeServiceMethodPost(String serviceName, String methodName, String paramsJson, String modelVersion) throws Throwable - Throws:
- Throwable
 
- 
getServiceInfos
- 
getServiceInfo
- 
_invokeServiceMethod@Nullable protected ServicesControllerManager.ServiceCallResult _invokeServiceMethod(String serviceName, String methodName, org.springframework.http.HttpMethod httpMethod, List<String> paramNames, List<String> paramValuesStr, String modelVersion) throws Throwable - Throws:
- Throwable
 
- 
getMethodReturnTypeArgument
- 
isEntitiesCollection
 
-