Class ResponseEventImpl
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.event.AbstractTaskEvent
-
- org.silverpeas.core.workflow.engine.event.ResponseEventImpl
-
- All Implemented Interfaces:
GenericEvent
,ResponseEvent
public class ResponseEventImpl extends AbstractTaskEvent implements ResponseEvent
A ResponseEvent object is the description of a answer made to a precedent question. Those descriptions are sent to the workflow engine by the workflow tools when the user answer a question in process instance
-
-
Constructor Summary
Constructors Constructor Description ResponseEventImpl(Task resolvedTask, String questionId, DataRecord data)
A ResponseEventImpl is built from a resolved task, a choosen target state and a filled form.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getQuestionId()
Returns the id of question corresponding to this answer-
Methods inherited from class org.silverpeas.core.workflow.engine.event.AbstractTaskEvent
getActionDate, getActionName, getDataRecord, getProcessInstance, getProcessModel, getResolvedState, getSubstitute, getUser, getUserOrSubstitute, getUserRoleName, setProcessInstance, setSubstitute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.workflow.api.event.GenericEvent
getActionDate, getActionName, getDataRecord, getProcessInstance, getResolvedState, getSubstitute, getUser, getUserOrSubstitute, getUserRoleName, setSubstitute
-
Methods inherited from interface org.silverpeas.core.workflow.api.event.ResponseEvent
getProcessModel, setProcessInstance
-
-
-
-
Constructor Detail
-
ResponseEventImpl
public ResponseEventImpl(Task resolvedTask, String questionId, DataRecord data)
A ResponseEventImpl is built from a resolved task, a choosen target state and a filled form.
-
-
Method Detail
-
getQuestionId
public String getQuestionId()
Returns the id of question corresponding to this answer- Specified by:
getQuestionId
in interfaceResponseEvent
-
-