Package io.jmix.rest.impl.service
Class QueriesControllerManager
java.lang.Object
io.jmix.rest.impl.service.QueriesControllerManager
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected CurrentAuthentication
protected DataManager
protected DatatypeRegistry
protected EntitySerialization
protected Metadata
protected RestControllerUtils
protected RestParseUtils
protected RestProperties
protected RestQueriesConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
_executeQuery
(String entityName, String queryName, Integer limit, Integer offset, String viewName, Boolean returnNulls, Boolean dynamicAttributes, String version, Map<String, String> params) protected String
protected void
checkCanReadEntity
(MetaClass metaClass) protected LoadContext<?>
createQueryLoadContext
(String entityName, String queryName, Integer limit, Integer offset, Map<String, String> params) executeQueryGet
(String entityName, String queryName, Integer limit, Integer offset, String viewName, Boolean returnNulls, Boolean dynamicAttributes, String version, Map<String, String> params) executeQueryPost
(String entityName, String queryName, Integer limit, Integer offset, String viewName, Boolean returnNulls, Boolean dynamicAttributes, String version, String paramsJson) getCountPost
(String entityName, String queryName, String version, String paramsJson) loadQueriesList
(String entityName) protected Object
-
Field Details
-
restQueriesConfiguration
-
dataManager
-
metadata
-
entitySerializationAPI
-
accessManager
-
restControllerUtils
-
datatypeRegistry
-
restParseUtils
-
currentAuthentication
-
restProperties
-
-
Constructor Details
-
QueriesControllerManager
public QueriesControllerManager()
-
-
Method Details
-
executeQueryGet
-
executeQueryPost
-
_executeQuery
-
getCountGet
-
getCountPost
-
_getCount
-
loadQueriesList
-
createQueryLoadContext
protected LoadContext<?> createQueryLoadContext(String entityName, String queryName, @Nullable Integer limit, @Nullable Integer offset, Map<String, String> params) throws ClassNotFoundException, ParseException- Throws:
ClassNotFoundException
ParseException
-
checkCanReadEntity
-
toObject
- Throws:
ParseException
-