public class PropertyFileParameterService extends Object implements org.bonitasoft.engine.parameter.ParameterService
| Constructor and Description |
|---|
PropertyFileParameterService(org.bonitasoft.engine.sessionaccessor.ReadSessionAccessor sessionAccessor,
org.bonitasoft.engine.cache.CacheService cacheService) |
| 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) |
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 PropertyFileParameterService(org.bonitasoft.engine.sessionaccessor.ReadSessionAccessor sessionAccessor,
org.bonitasoft.engine.cache.CacheService cacheService)
public void update(long processDefinitionId,
String parameterName,
String parameterValue)
throws org.bonitasoft.engine.parameter.SParameterProcessNotFoundException,
org.bonitasoft.engine.parameter.SParameterNameNotFoundException
update in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.parameter.SParameterProcessNotFoundExceptionorg.bonitasoft.engine.parameter.SParameterNameNotFoundExceptionpublic void addAll(long processDefinitionId,
Map<String,String> parameters)
throws org.bonitasoft.engine.parameter.SParameterProcessNotFoundException
addAll in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.parameter.SParameterProcessNotFoundExceptionpublic void deleteAll(long processDefinitionId)
throws org.bonitasoft.engine.parameter.SParameterProcessNotFoundException
deleteAll in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.parameter.SParameterProcessNotFoundExceptionpublic boolean containsNullValues(long processDefinitionId)
throws org.bonitasoft.engine.parameter.SParameterProcessNotFoundException
containsNullValues in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.parameter.SParameterProcessNotFoundExceptionpublic org.bonitasoft.engine.parameter.SParameter get(long processDefinitionId,
String parameterName)
throws org.bonitasoft.engine.parameter.SParameterProcessNotFoundException
get in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.parameter.SParameterProcessNotFoundExceptionpublic List<org.bonitasoft.engine.parameter.SParameter> get(long processDefinitionId, int fromIndex, int numberOfResult, org.bonitasoft.engine.parameter.OrderBy order) throws org.bonitasoft.engine.parameter.SParameterProcessNotFoundException
get in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.parameter.SParameterProcessNotFoundExceptionpublic 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
getNullValues in interface org.bonitasoft.engine.parameter.ParameterServiceorg.bonitasoft.engine.parameter.SParameterProcessNotFoundExceptionCopyright © 2015 Bonitasoft S.A.. All rights reserved.