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.supervisor.mapping.model.SProcessSupervisorBuilders sSupervisorBuilders,
org.bonitasoft.engine.services.QueriableLoggerService queriableLoggerService) |
| Modifier and Type | Method and Description |
|---|---|
org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor |
createSupervisor(org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor supervisor) |
void |
deleteAllSupervisors() |
void |
deleteSupervisor(long supervisorId) |
void |
deleteSupervisor(org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor supervisor) |
long |
getNumberOfProcessDefSupervisors(org.bonitasoft.engine.persistence.QueryOptions searchOptions) |
org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor |
getSupervisor(long supervisorId) |
Boolean |
isProcessSupervisor(long processDefinitionId,
long userId) |
List<org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor> |
searchProcessDefSupervisors(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.supervisor.mapping.model.SProcessSupervisorBuilders sSupervisorBuilders,
org.bonitasoft.engine.services.QueriableLoggerService queriableLoggerService)
public org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor createSupervisor(org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor supervisor)
throws org.bonitasoft.engine.supervisor.mapping.SSupervisorCreationException
createSupervisor in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.supervisor.mapping.SSupervisorCreationExceptionpublic org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor getSupervisor(long supervisorId)
throws org.bonitasoft.engine.supervisor.mapping.SSupervisorNotFoundException
getSupervisor in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.supervisor.mapping.SSupervisorNotFoundExceptionpublic void deleteSupervisor(long supervisorId)
throws org.bonitasoft.engine.supervisor.mapping.SSupervisorNotFoundException,
org.bonitasoft.engine.supervisor.mapping.SSupervisorDeletionException
deleteSupervisor in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.supervisor.mapping.SSupervisorNotFoundExceptionorg.bonitasoft.engine.supervisor.mapping.SSupervisorDeletionExceptionpublic void deleteSupervisor(org.bonitasoft.engine.supervisor.mapping.model.SProcessSupervisor supervisor)
throws org.bonitasoft.engine.supervisor.mapping.SSupervisorDeletionException
deleteSupervisor in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.supervisor.mapping.SSupervisorDeletionExceptionpublic void deleteAllSupervisors()
throws org.bonitasoft.engine.supervisor.mapping.SSupervisorDeletionException
deleteAllSupervisors 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> searchProcessDefSupervisors(org.bonitasoft.engine.persistence.QueryOptions queryOptions) throws org.bonitasoft.engine.persistence.SBonitaSearchException
searchProcessDefSupervisors in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.persistence.SBonitaSearchExceptionpublic long getNumberOfProcessDefSupervisors(org.bonitasoft.engine.persistence.QueryOptions searchOptions)
throws org.bonitasoft.engine.persistence.SBonitaSearchException
getNumberOfProcessDefSupervisors in interface org.bonitasoft.engine.supervisor.mapping.SupervisorMappingServiceorg.bonitasoft.engine.persistence.SBonitaSearchExceptionCopyright © 2013 BonitaSoft. All Rights Reserved.