|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.agila.services.task.ResponseHandlerResponse
public class ResponseHandlerResponse
The ResponseHandlerResponse is the class that holds all the information necessary for a 'response handler'- for example a portlet dealing with tasks - to determine it can send a message to the message processor to continue the activity, or to return to user for more information. *
Constructor Summary | |
---|---|
ResponseHandlerResponse()
|
|
ResponseHandlerResponse(boolean ableToContinue,
TokenID tokenID,
java.lang.String name,
java.io.Serializable data)
|
Method Summary | |
---|---|
java.io.Serializable |
getActivityData()
Returns a 'package' of data, application specific, that will be forwarded to the activity in the context of message processing This must be serializable, but it's up to the activity what it wants to send to itself. |
java.lang.String |
getActivityDataName()
Returns the unique name for the data. |
TokenID |
getTokenID()
Returns tthe TokenID of the token forwarded to the message processor for processing. |
boolean |
isAbleToContinue()
True if the activity determines that the input in a response is sufficient to continue, and the 'response handler' is then allowed to queue a message to the message process to that effect Return false if the user / client /etc must be re-presented with information and or error message |
void |
setAbleToContinue(boolean ableToContinue)
|
void |
setActivityData(java.io.Serializable activityData)
|
void |
setActivityDataName(java.lang.String activityDataName)
|
void |
setTokenID(TokenID tokenID)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResponseHandlerResponse()
public ResponseHandlerResponse(boolean ableToContinue, TokenID tokenID, java.lang.String name, java.io.Serializable data)
Method Detail |
---|
public boolean isAbleToContinue()
public void setAbleToContinue(boolean ableToContinue)
public java.io.Serializable getActivityData()
public void setActivityData(java.io.Serializable activityData)
public java.lang.String getActivityDataName()
public void setActivityDataName(java.lang.String activityDataName)
public TokenID getTokenID()
public void setTokenID(TokenID tokenID)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |