public abstract class AbstractUserFilter extends Object implements UserFilter
| Constructor and Description |
|---|
AbstractUserFilter() |
| Modifier and Type | Method and Description |
|---|---|
APIAccessor |
getAPIAccessor() |
EngineExecutionContext |
getExecutionContext() |
protected Object |
getInputParameter(String paramName) |
void |
setAPIAccessor(APIAccessor apiAccessor) |
void |
setExecutionContext(EngineExecutionContext executionContext) |
void |
setInputParameters(Map<String,Object> parameters)
Set the input parameter for the filter.
|
boolean |
shouldAutoAssignTaskIfSingleResult()
This method make the engine assign automatically the task if the result of
#filter() is only one element. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilter, validateInputParameterspublic void setInputParameters(Map<String,Object> parameters)
UserFiltersetInputParameters in interface UserFilterparameters - parameters is a map with parameter names and their value.protected Object getInputParameter(String paramName) throws IllegalStateException
IllegalStateExceptionpublic boolean shouldAutoAssignTaskIfSingleResult()
#filter() is only one element.
i.e. when the task is filtered only for a single user Default implementation returns trueshouldAutoAssignTaskIfSingleResult in interface UserFilterpublic void setAPIAccessor(APIAccessor apiAccessor)
public void setExecutionContext(EngineExecutionContext executionContext)
public APIAccessor getAPIAccessor()
public EngineExecutionContext getExecutionContext()
Copyright © 2013 BonitaSoft. All Rights Reserved.