public class RefBusinessDataServiceImpl extends Object implements RefBusinessDataService
NEW_REF_BUSINESS_DATA_INSTANCE_ADDED, REF_BUSINESS_DATA_INSTANCE| Constructor and Description |
|---|
RefBusinessDataServiceImpl(Recorder recorder,
ReadPersistenceService persistenceRead,
EventService eventService,
QueriableLoggerService queriableLoggerService,
ArchiveService archiveService) |
public RefBusinessDataServiceImpl(Recorder recorder, ReadPersistenceService persistenceRead, EventService eventService, QueriableLoggerService queriableLoggerService, ArchiveService archiveService)
public SRefBusinessDataInstance getRefBusinessDataInstance(String name, long processInstanceId) throws SRefBusinessDataInstanceNotFoundException, SBonitaReadException
getRefBusinessDataInstance in interface RefBusinessDataServiceSRefBusinessDataInstanceNotFoundExceptionSBonitaReadExceptionpublic SRefBusinessDataInstance getFlowNodeRefBusinessDataInstance(String name, long flowNodeInstanceId) throws SRefBusinessDataInstanceNotFoundException, SBonitaReadException
getFlowNodeRefBusinessDataInstance in interface RefBusinessDataServiceSRefBusinessDataInstanceNotFoundExceptionSBonitaReadExceptionpublic SRefBusinessDataInstance addRefBusinessDataInstance(SRefBusinessDataInstance instance) throws SRefBusinessDataInstanceCreationException
addRefBusinessDataInstance in interface RefBusinessDataServiceSRefBusinessDataInstanceCreationExceptionprotected SRefBusinessDataInstanceLogBuilder getQueriableLog(ActionType actionType, String message)
protected <T extends SLogBuilder> void initializeLogBuilder(T logBuilder, String message)
protected <T extends HasCRUDEAction> void updateLog(ActionType actionType, T logBuilder)
public void updateRefBusinessDataInstance(SSimpleRefBusinessDataInstance refBusinessDataInstance, Long dataId) throws SRefBusinessDataInstanceModificationException
updateRefBusinessDataInstance in interface RefBusinessDataServiceSRefBusinessDataInstanceModificationExceptionpublic void updateRefBusinessDataInstance(SMultiRefBusinessDataInstance refBusinessDataInstance, List<Long> dataIds) throws SRefBusinessDataInstanceModificationException
updateRefBusinessDataInstance in interface RefBusinessDataServiceSRefBusinessDataInstanceModificationExceptionpublic int getNumberOfDataOfMultiRefBusinessData(String name, long processInstanceId) throws SBonitaReadException
getNumberOfDataOfMultiRefBusinessData in interface RefBusinessDataServiceSBonitaReadExceptionpublic List<SRefBusinessDataInstance> getRefBusinessDataInstances(long processInstanceId, int startIndex, int maxResults) throws SBonitaReadException
getRefBusinessDataInstances in interface RefBusinessDataServiceSBonitaReadExceptionpublic SARefBusinessDataInstance getSARefBusinessDataInstance(String name, long processInstanceId) throws SRefBusinessDataInstanceNotFoundException, SBonitaReadException
getSARefBusinessDataInstance in interface RefBusinessDataServiceSRefBusinessDataInstanceNotFoundExceptionSBonitaReadExceptionpublic SARefBusinessDataInstance getSAFlowNodeRefBusinessDataInstance(String name, long flowNodeInstanceId) throws SRefBusinessDataInstanceNotFoundException, SBonitaReadException
getSAFlowNodeRefBusinessDataInstance in interface RefBusinessDataServiceSRefBusinessDataInstanceNotFoundExceptionSBonitaReadExceptionpublic void archiveRefBusinessDataInstance(SRefBusinessDataInstance businessDataInstance) throws org.bonitasoft.engine.commons.exceptions.SObjectModificationException
archiveRefBusinessDataInstance in interface RefBusinessDataServiceorg.bonitasoft.engine.commons.exceptions.SObjectModificationExceptionpublic void deleteArchivedRefBusinessDataInstance(long processInstanceId)
throws org.bonitasoft.engine.commons.exceptions.SObjectModificationException
deleteArchivedRefBusinessDataInstance in interface RefBusinessDataServiceorg.bonitasoft.engine.commons.exceptions.SObjectModificationExceptionCopyright © 2018 Bonitasoft S.A.. All rights reserved.