|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Question
A Question object represents a question asked for the instance
Method Summary | |
---|---|
void |
answer(String responseText)
Answer this question |
State |
getFromState()
Get the state where the question was asked |
User |
getFromUser()
Get the user who asked the question |
String |
getId()
Get the question id |
ProcessInstance |
getProcessInstance()
Get the process instance where the question was asked |
Date |
getQuestionDate()
Get the date when question was asked |
String |
getQuestionText()
Get the question content |
Date |
getResponseDate()
Get the date when question was asked |
String |
getResponseText()
Get the response content |
State |
getTargetState()
Get the destination state for the question |
User |
getToUser()
Get the user who received the question |
boolean |
hasResponse()
Is a response was sent to this question |
boolean |
isRelevant()
Has this question been answered and taken in account, if yes, so it's not relevant anymore (return false) |
Method Detail |
---|
String getId()
ProcessInstance getProcessInstance()
State getFromState()
State getTargetState()
String getQuestionText()
String getResponseText()
void answer(String responseText)
User getFromUser() throws WorkflowException
WorkflowException
User getToUser() throws WorkflowException
WorkflowException
Date getQuestionDate()
Date getResponseDate()
boolean hasResponse()
boolean isRelevant()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |