Class DefaultBdmService
java.lang.Object
org.bonitasoft.web.client.services.impl.base.AbstractService
org.bonitasoft.web.client.services.impl.DefaultBdmService
- All Implemented Interfaces:
BdmService
-
Field Summary
Fields inherited from class org.bonitasoft.web.client.services.impl.base.AbstractService
apiProvider, COMMUNITY_LICENCE, objectMapper -
Constructor Summary
ConstructorsConstructorDescriptionDefaultBdmService(ClientContext clientContext, ApiProvider apiProvider, BdmResponseConverter bdmResponseConverter) -
Method Summary
Modifier and TypeMethodDescriptionlongcreateBusinessData(String businessDataType, Map<String, Serializable> fields) voiddeleteBusinessData(String businessDataType, long identifier) voidvoidimportBdmAccessControl(File accessControl) importBusinessDataFile(String businessDataType, File csvFile) <T> List<T>Perform the specified named query for the specified business data type and map the response to a List of T instances<T> List<T>query(String businessDataType, BusinessDataQueryApi.SearchBusinessDataQueryParams queryParams, Class<T> queryResultType) Perform the specified named query for the specified business data type using the search parameters and map the response to a List of T instances<T> TquerySingle(String businessDataType, String namedQuery, Class<T> queryResultType) Perform the specified named query for the specified business data type and map the response to a single instance of T<T> TquerySingle(String businessDataType, BusinessDataQueryApi.SearchBusinessDataQueryParams queryParams, Class<T> queryResultType) Perform the specified named query for the specified business data type using the search parameters and map the response to a single instance of TvoidupdateBusinessData(String businessDataType, long identifier, Map<String, Serializable> fields) Methods inherited from class org.bonitasoft.web.client.services.impl.base.AbstractService
getLicense, isCommunity
-
Constructor Details
-
DefaultBdmService
public DefaultBdmService(ClientContext clientContext, ApiProvider apiProvider, BdmResponseConverter bdmResponseConverter)
-
-
Method Details
-
importBDM
- Specified by:
importBDMin interfaceBdmService
-
importBdmAccessControl
- Specified by:
importBdmAccessControlin interfaceBdmService
-
getBdmStatus
- Specified by:
getBdmStatusin interfaceBdmService
-
getBdmAccessControlStatus
- Specified by:
getBdmAccessControlStatusin interfaceBdmService
-
querySingle
Description copied from interface:BdmServicePerform the specified named query for the specified business data type and map the response to a single instance of T- Specified by:
querySinglein interfaceBdmService- Returns:
-
query
Description copied from interface:BdmServicePerform the specified named query for the specified business data type and map the response to a List of T instances- Specified by:
queryin interfaceBdmService- Returns:
-
querySingle
public <T> T querySingle(String businessDataType, BusinessDataQueryApi.SearchBusinessDataQueryParams queryParams, Class<T> queryResultType) Description copied from interface:BdmServicePerform the specified named query for the specified business data type using the search parameters and map the response to a single instance of T- Specified by:
querySinglein interfaceBdmService- Returns:
-
query
public <T> List<T> query(String businessDataType, BusinessDataQueryApi.SearchBusinessDataQueryParams queryParams, Class<T> queryResultType) Description copied from interface:BdmServicePerform the specified named query for the specified business data type using the search parameters and map the response to a List of T instances- Specified by:
queryin interfaceBdmService- Returns:
-
createBusinessData
- Specified by:
createBusinessDatain interfaceBdmService
-
updateBusinessData
public void updateBusinessData(String businessDataType, long identifier, Map<String, Serializable> fields) - Specified by:
updateBusinessDatain interfaceBdmService
-
deleteBusinessData
- Specified by:
deleteBusinessDatain interfaceBdmService
-
importBusinessDataFile
- Specified by:
importBusinessDataFilein interfaceBdmService
-