public class BusinessDataServiceImpl extends java.lang.Object implements BusinessDataService
| Constructor and Description |
|---|
BusinessDataServiceImpl(BusinessDataRepository businessDataRepository,
JsonBusinessDataSerializer jsonBusinessDataSerializer,
BusinessDataModelRepository businessDataModelRepository,
TypeConverterUtil typeConverterUtil,
BusinessDataReloader businessDataReloader,
CountQueryProvider countQueryProvider) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
callJavaOperation(java.lang.Object businessObject,
java.lang.Object valueToSetObjectWith,
java.lang.String methodName,
java.lang.String parameterType) |
java.io.Serializable |
getJsonChildEntity(java.lang.String entityClassName,
java.lang.Long identifier,
java.lang.String childFieldName,
java.lang.String businessDataURIPattern) |
java.io.Serializable |
getJsonEntities(java.lang.String entityClassName,
java.util.List<java.lang.Long> identifiers,
java.lang.String businessDataURIPattern) |
java.io.Serializable |
getJsonEntity(java.lang.String entityClassName,
java.lang.Long identifier,
java.lang.String businessDataURIPattern) |
org.bonitasoft.engine.bpm.businessdata.BusinessDataQueryResult |
getJsonQueryEntities(java.lang.String entityClassName,
java.lang.String queryName,
java.util.Map<java.lang.String,java.io.Serializable> parameters,
java.lang.Integer startIndex,
java.lang.Integer maxResults,
java.lang.String businessDataURIPattern) |
protected void |
invokeJavaMethod(java.lang.Object objectToSet,
java.lang.String methodName,
java.lang.String parameterType,
java.lang.Object valueToSet) |
boolean |
isBusinessData(java.lang.Object data) |
protected java.lang.Class<? extends org.bonitasoft.engine.bdm.Entity> |
loadClass(java.lang.String returnType) |
protected java.lang.Class<? extends java.io.Serializable> |
loadSerializableClass(java.lang.String className) |
public BusinessDataServiceImpl(BusinessDataRepository businessDataRepository, JsonBusinessDataSerializer jsonBusinessDataSerializer, BusinessDataModelRepository businessDataModelRepository, TypeConverterUtil typeConverterUtil, BusinessDataReloader businessDataReloader, CountQueryProvider countQueryProvider)
public boolean isBusinessData(java.lang.Object data)
isBusinessData in interface BusinessDataServicepublic java.lang.Object callJavaOperation(java.lang.Object businessObject,
java.lang.Object valueToSetObjectWith,
java.lang.String methodName,
java.lang.String parameterType)
throws SBusinessDataNotFoundException,
SBusinessDataRepositoryException
callJavaOperation in interface BusinessDataServiceSBusinessDataNotFoundExceptionSBusinessDataRepositoryExceptionprotected void invokeJavaMethod(java.lang.Object objectToSet,
java.lang.String methodName,
java.lang.String parameterType,
java.lang.Object valueToSet)
throws java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundExceptionjava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionpublic java.io.Serializable getJsonEntity(java.lang.String entityClassName,
java.lang.Long identifier,
java.lang.String businessDataURIPattern)
throws SBusinessDataNotFoundException,
SBusinessDataRepositoryException
getJsonEntity in interface BusinessDataServiceSBusinessDataNotFoundExceptionSBusinessDataRepositoryExceptionpublic java.io.Serializable getJsonEntities(java.lang.String entityClassName,
java.util.List<java.lang.Long> identifiers,
java.lang.String businessDataURIPattern)
throws SBusinessDataRepositoryException
getJsonEntities in interface BusinessDataServiceSBusinessDataRepositoryExceptionpublic java.io.Serializable getJsonChildEntity(java.lang.String entityClassName,
java.lang.Long identifier,
java.lang.String childFieldName,
java.lang.String businessDataURIPattern)
throws SBusinessDataNotFoundException,
SBusinessDataRepositoryException
getJsonChildEntity in interface BusinessDataServiceSBusinessDataNotFoundExceptionSBusinessDataRepositoryExceptionpublic org.bonitasoft.engine.bpm.businessdata.BusinessDataQueryResult getJsonQueryEntities(java.lang.String entityClassName,
java.lang.String queryName,
java.util.Map<java.lang.String,java.io.Serializable> parameters,
java.lang.Integer startIndex,
java.lang.Integer maxResults,
java.lang.String businessDataURIPattern)
throws SBusinessDataRepositoryException
getJsonQueryEntities in interface BusinessDataServiceSBusinessDataRepositoryExceptionprotected java.lang.Class<? extends org.bonitasoft.engine.bdm.Entity> loadClass(java.lang.String returnType)
throws SBusinessDataRepositoryException
SBusinessDataRepositoryExceptionprotected java.lang.Class<? extends java.io.Serializable> loadSerializableClass(java.lang.String className)
throws SBusinessDataRepositoryException
SBusinessDataRepositoryException