public class SupervisorMappingServiceImpl extends Object implements org.bonitasoft.engine.supervisor.mapping.SupervisorMappingService
| Constructor and Description |
|---|
SupervisorMappingServiceImpl(org.bonitasoft.engine.persistence.ReadPersistenceService persistenceService,
org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.events.EventService eventService,
org.bonitasoft.engine.services.QueriableLoggerService queriableLoggerService) |
| Modifier and Type | Method and Description |
|---|---|
org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor |
createProcessSupervisor(org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor supervisor) |
void |
deleteAllProcessSupervisors() |
void |
deleteProcessSupervisor(long supervisorId) |
void |
deleteProcessSupervisor(org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor supervisor) |
long |
getNumberOfProcessSupervisors(org.bonitasoft.engine.persistence.QueryOptions searchOptions) |
org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor |
getProcessSupervisor(long supervisorId) |
Boolean |
isProcessSupervisor(long processDefinitionId,
long userId) |
List<org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor> |
searchProcessSupervisors(org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
public SupervisorMappingServiceImpl(org.bonitasoft.engine.persistence.ReadPersistenceService persistenceService,
org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.events.EventService eventService,
org.bonitasoft.engine.services.QueriableLoggerService queriableLoggerService)
public org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor createProcessSupervisor(org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor supervisor)
throws org.bonitasoft.engine.supervisor.mapping.SSupervisorCreationException
createProcessSupervisor in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.supervisor.mapping.SSupervisorCreationExceptionpublic org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor getProcessSupervisor(long supervisorId)
throws org.bonitasoft.engine.supervisor.mapping.SSupervisorNotFoundException
getProcessSupervisor in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.supervisor.mapping.SSupervisorNotFoundExceptionpublic void deleteProcessSupervisor(long supervisorId)
throws org.bonitasoft.engine.supervisor.mapping.SSupervisorNotFoundException,
org.bonitasoft.engine.supervisor.mapping.SSupervisorDeletionException
deleteProcessSupervisor in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.supervisor.mapping.SSupervisorNotFoundExceptionorg.bonitasoft.engine.supervisor.mapping.SSupervisorDeletionExceptionpublic void deleteProcessSupervisor(org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor supervisor)
throws org.bonitasoft.engine.supervisor.mapping.SSupervisorDeletionException
deleteProcessSupervisor in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.supervisor.mapping.SSupervisorDeletionExceptionpublic void deleteAllProcessSupervisors()
throws org.bonitasoft.engine.supervisor.mapping.SSupervisorDeletionException
deleteAllProcessSupervisors in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.supervisor.mapping.SSupervisorDeletionExceptionpublic Boolean isProcessSupervisor(long processDefinitionId, long userId) throws org.bonitasoft.engine.persistence.SBonitaReadException
isProcessSupervisor in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic List<org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor> searchProcessSupervisors(org.bonitasoft.engine.persistence.QueryOptions queryOptions) throws org.bonitasoft.engine.persistence.SBonitaReadException
searchProcessSupervisors in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic long getNumberOfProcessSupervisors(org.bonitasoft.engine.persistence.QueryOptions searchOptions)
throws org.bonitasoft.engine.persistence.SBonitaReadException
getNumberOfProcessSupervisors in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionCopyright © 2017 Bonitasoft S.A.. All rights reserved.