Class DefaultBdmService
- java.lang.Object
-
- org.bonitasoft.web.client.services.impl.base.AbstractService
-
- org.bonitasoft.web.client.services.impl.DefaultBdmService
-
- All Implemented Interfaces:
BdmService
public class DefaultBdmService extends AbstractService implements BdmService
-
-
Field Summary
-
Fields inherited from class org.bonitasoft.web.client.services.impl.base.AbstractService
apiProvider, COMMUNITY_LICENCE, objectMapper
-
-
Constructor Summary
Constructors Constructor Description DefaultBdmService(ClientContext clientContext, ApiProvider apiProvider, BdmResponseConverter bdmResponseConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BDMAccessControlgetBdmAccessControlStatus()BdmgetBdmStatus()voidimportBDM(File bdm)voidimportBdmAccessControl(File accessControl)<T> List<T>query(String businessDataType, String namedQuery, Class<T> queryResultType)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 T-
Methods inherited from class org.bonitasoft.web.client.services.impl.base.AbstractService
getLicense, isCommunity
-
-
-
-
Constructor Detail
-
DefaultBdmService
public DefaultBdmService(ClientContext clientContext, ApiProvider apiProvider, BdmResponseConverter bdmResponseConverter)
-
-
Method Detail
-
importBDM
public void importBDM(File bdm)
- Specified by:
importBDMin interfaceBdmService
-
importBdmAccessControl
public void importBdmAccessControl(File accessControl)
- Specified by:
importBdmAccessControlin interfaceBdmService
-
getBdmStatus
public Bdm getBdmStatus()
- Specified by:
getBdmStatusin interfaceBdmService
-
getBdmAccessControlStatus
public BDMAccessControl getBdmAccessControlStatus()
- Specified by:
getBdmAccessControlStatusin interfaceBdmService
-
querySingle
public <T> T querySingle(String businessDataType, String namedQuery, Class<T> queryResultType)
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
public <T> List<T> query(String businessDataType, String namedQuery, Class<T> queryResultType)
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:
-
-