public class RefBusinessDataServiceImpl extends Object implements org.bonitasoft.engine.core.process.instance.api.RefBusinessDataService
| Constructor and Description |
|---|
RefBusinessDataServiceImpl(org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.persistence.ReadPersistenceService persistenceRead,
org.bonitasoft.engine.events.EventService eventService,
org.bonitasoft.engine.services.QueriableLoggerService queriableLoggerService,
org.bonitasoft.engine.archive.ArchiveService archiveService) |
| Modifier and Type | Method and Description |
|---|---|
org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance |
addRefBusinessDataInstance(org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance instance) |
void |
archiveRefBusinessDataInstance(org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance businessDataInstance) |
void |
deleteArchivedRefBusinessDataInstance(long processInstanceId) |
org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance |
getFlowNodeRefBusinessDataInstance(String name,
long flowNodeInstanceId) |
int |
getNumberOfDataOfMultiRefBusinessData(String name,
long processInstanceId) |
protected org.bonitasoft.engine.core.process.instance.model.builder.business.data.SRefBusinessDataInstanceLogBuilder |
getQueriableLog(org.bonitasoft.engine.queriablelogger.model.builder.ActionType actionType,
String message) |
org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance |
getRefBusinessDataInstance(String name,
long processInstanceId) |
List<org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance> |
getRefBusinessDataInstances(long processInstanceId,
int startIndex,
int maxResults) |
org.bonitasoft.engine.core.process.instance.model.archive.business.data.SARefBusinessDataInstance |
getSAFlowNodeRefBusinessDataInstance(String name,
long flowNodeInstanceId) |
org.bonitasoft.engine.core.process.instance.model.archive.business.data.SARefBusinessDataInstance |
getSARefBusinessDataInstance(String name,
long processInstanceId) |
protected <T extends org.bonitasoft.engine.queriablelogger.model.builder.SLogBuilder> |
initializeLogBuilder(T logBuilder,
String message) |
protected <T extends org.bonitasoft.engine.queriablelogger.model.builder.HasCRUDEAction> |
updateLog(org.bonitasoft.engine.queriablelogger.model.builder.ActionType actionType,
T logBuilder) |
void |
updateRefBusinessDataInstance(org.bonitasoft.engine.core.process.instance.model.business.data.SMultiRefBusinessDataInstance refBusinessDataInstance,
List<Long> dataIds) |
void |
updateRefBusinessDataInstance(org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance refBusinessDataInstance,
Map<String,Object> fields) |
void |
updateRefBusinessDataInstance(org.bonitasoft.engine.core.process.instance.model.business.data.SSimpleRefBusinessDataInstance refBusinessDataInstance,
Long dataId) |
public RefBusinessDataServiceImpl(org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.persistence.ReadPersistenceService persistenceRead,
org.bonitasoft.engine.events.EventService eventService,
org.bonitasoft.engine.services.QueriableLoggerService queriableLoggerService,
org.bonitasoft.engine.archive.ArchiveService archiveService)
public org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance getRefBusinessDataInstance(String name, long processInstanceId) throws org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceNotFoundException, org.bonitasoft.engine.persistence.SBonitaReadException
getRefBusinessDataInstance in interface org.bonitasoft.engine.core.process.instance.api.RefBusinessDataServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceNotFoundExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance getFlowNodeRefBusinessDataInstance(String name, long flowNodeInstanceId) throws org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceNotFoundException, org.bonitasoft.engine.persistence.SBonitaReadException
getFlowNodeRefBusinessDataInstance in interface org.bonitasoft.engine.core.process.instance.api.RefBusinessDataServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceNotFoundExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance addRefBusinessDataInstance(org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance instance)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceCreationException
addRefBusinessDataInstance in interface org.bonitasoft.engine.core.process.instance.api.RefBusinessDataServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceCreationExceptionprotected org.bonitasoft.engine.core.process.instance.model.builder.business.data.SRefBusinessDataInstanceLogBuilder getQueriableLog(org.bonitasoft.engine.queriablelogger.model.builder.ActionType actionType,
String message)
protected <T extends org.bonitasoft.engine.queriablelogger.model.builder.SLogBuilder> void initializeLogBuilder(T logBuilder,
String message)
protected <T extends org.bonitasoft.engine.queriablelogger.model.builder.HasCRUDEAction> void updateLog(org.bonitasoft.engine.queriablelogger.model.builder.ActionType actionType,
T logBuilder)
public void updateRefBusinessDataInstance(org.bonitasoft.engine.core.process.instance.model.business.data.SSimpleRefBusinessDataInstance refBusinessDataInstance,
Long dataId)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceModificationException
updateRefBusinessDataInstance in interface org.bonitasoft.engine.core.process.instance.api.RefBusinessDataServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceModificationExceptionpublic void updateRefBusinessDataInstance(org.bonitasoft.engine.core.process.instance.model.business.data.SMultiRefBusinessDataInstance refBusinessDataInstance,
List<Long> dataIds)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceModificationException
updateRefBusinessDataInstance in interface org.bonitasoft.engine.core.process.instance.api.RefBusinessDataServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceModificationExceptionpublic void updateRefBusinessDataInstance(org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance refBusinessDataInstance,
Map<String,Object> fields)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceModificationException
org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceModificationExceptionpublic int getNumberOfDataOfMultiRefBusinessData(String name, long processInstanceId) throws org.bonitasoft.engine.persistence.SBonitaReadException
getNumberOfDataOfMultiRefBusinessData in interface org.bonitasoft.engine.core.process.instance.api.RefBusinessDataServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic List<org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance> getRefBusinessDataInstances(long processInstanceId, int startIndex, int maxResults) throws org.bonitasoft.engine.persistence.SBonitaReadException
getRefBusinessDataInstances in interface org.bonitasoft.engine.core.process.instance.api.RefBusinessDataServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic org.bonitasoft.engine.core.process.instance.model.archive.business.data.SARefBusinessDataInstance getSARefBusinessDataInstance(String name, long processInstanceId) throws org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceNotFoundException, org.bonitasoft.engine.persistence.SBonitaReadException
getSARefBusinessDataInstance in interface org.bonitasoft.engine.core.process.instance.api.RefBusinessDataServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceNotFoundExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic org.bonitasoft.engine.core.process.instance.model.archive.business.data.SARefBusinessDataInstance getSAFlowNodeRefBusinessDataInstance(String name, long flowNodeInstanceId) throws org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceNotFoundException, org.bonitasoft.engine.persistence.SBonitaReadException
getSAFlowNodeRefBusinessDataInstance in interface org.bonitasoft.engine.core.process.instance.api.RefBusinessDataServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceNotFoundExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic void archiveRefBusinessDataInstance(org.bonitasoft.engine.core.process.instance.model.business.data.SRefBusinessDataInstance businessDataInstance)
throws org.bonitasoft.engine.commons.exceptions.SObjectModificationException
archiveRefBusinessDataInstance in interface org.bonitasoft.engine.core.process.instance.api.RefBusinessDataServiceorg.bonitasoft.engine.commons.exceptions.SObjectModificationExceptionpublic void deleteArchivedRefBusinessDataInstance(long processInstanceId)
throws org.bonitasoft.engine.commons.exceptions.SObjectModificationException
deleteArchivedRefBusinessDataInstance in interface org.bonitasoft.engine.core.process.instance.api.RefBusinessDataServiceorg.bonitasoft.engine.commons.exceptions.SObjectModificationExceptionCopyright © 2016 Bonitasoft S.A.. All rights reserved.