public class ParameterServiceImpl extends Object implements org.bonitasoft.engine.parameter.ParameterService
| Constructor and Description |
|---|
ParameterServiceImpl(org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.persistence.ReadPersistenceService persistenceService,
org.bonitasoft.engine.events.EventService eventService) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(long processDefinitionId,
Map<String,String> parameters) |
boolean |
containsNullValues(long processDefinitionId) |
void |
deleteAll(long processDefinitionId) |
List<org.bonitasoft.engine.parameter.SParameter> |
get(long processDefinitionId,
int fromIndex,
int numberOfResult,
org.bonitasoft.engine.parameter.OrderBy order) |
org.bonitasoft.engine.parameter.SParameter |
get(long processDefinitionId,
String parameterName) |
Map<String,String> |
getAll(long processDefinitionId) |
List<org.bonitasoft.engine.parameter.SParameter> |
getNullValues(long processDefinitionId,
int fromIndex,
int numberOfResult,
org.bonitasoft.engine.parameter.OrderBy order) |
void |
update(long processDefinitionId,
String parameterName,
String parameterValue) |
public static final int PAGE_SIZE
public final String PARAMETER
public ParameterServiceImpl(org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.persistence.ReadPersistenceService persistenceService,
org.bonitasoft.engine.events.EventService eventService)
public void update(long processDefinitionId,
String parameterName,
String parameterValue)
throws org.bonitasoft.engine.parameter.SParameterNameNotFoundException,
org.bonitasoft.engine.persistence.SBonitaReadException,
org.bonitasoft.engine.commons.exceptions.SObjectModificationException
update in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.parameter.SParameterNameNotFoundExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionorg.bonitasoft.engine.commons.exceptions.SObjectModificationExceptionpublic void addAll(long processDefinitionId,
Map<String,String> parameters)
throws org.bonitasoft.engine.commons.exceptions.SObjectCreationException,
org.bonitasoft.engine.persistence.SBonitaReadException,
org.bonitasoft.engine.commons.exceptions.SObjectModificationException
addAll in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.commons.exceptions.SObjectCreationExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionorg.bonitasoft.engine.commons.exceptions.SObjectModificationExceptionpublic Map<String,String> getAll(long processDefinitionId) throws org.bonitasoft.engine.parameter.SParameterProcessNotFoundException, org.bonitasoft.engine.persistence.SBonitaReadException
getAll in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.parameter.SParameterProcessNotFoundExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic void deleteAll(long processDefinitionId)
throws org.bonitasoft.engine.parameter.SParameterProcessNotFoundException,
org.bonitasoft.engine.persistence.SBonitaReadException,
org.bonitasoft.engine.commons.exceptions.SObjectModificationException
deleteAll in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.parameter.SParameterProcessNotFoundExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionorg.bonitasoft.engine.commons.exceptions.SObjectModificationExceptionpublic List<org.bonitasoft.engine.parameter.SParameter> get(long processDefinitionId, int fromIndex, int numberOfResult, org.bonitasoft.engine.parameter.OrderBy order) throws org.bonitasoft.engine.persistence.SBonitaReadException
get in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic org.bonitasoft.engine.parameter.SParameter get(long processDefinitionId,
String parameterName)
throws org.bonitasoft.engine.persistence.SBonitaReadException
get in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic List<org.bonitasoft.engine.parameter.SParameter> getNullValues(long processDefinitionId, int fromIndex, int numberOfResult, org.bonitasoft.engine.parameter.OrderBy order) throws org.bonitasoft.engine.parameter.SParameterProcessNotFoundException, org.bonitasoft.engine.persistence.SBonitaReadException
getNullValues in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.parameter.SParameterProcessNotFoundExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic boolean containsNullValues(long processDefinitionId)
throws org.bonitasoft.engine.persistence.SBonitaReadException
containsNullValues in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionCopyright © 2017 Bonitasoft S.A.. All rights reserved.