new ActionResponse()
Methods
setData(jseData) → {$k.ActionResponse}
Data function
Parameters:
Name | Type | Description |
---|---|---|
jseData | object |
Returns:
- Type:
- $k.ActionResponse
setFollowup(jseString) → {$k.ActionResponse}
Followup function
Parameters:
Name | Type | Description |
---|---|---|
jseString | string |
Returns:
- Type:
- $k.ActionResponse
setGlobalContext(jseGlobalContext) → {$k.ActionResponse}
Set global context object
Parameters:
Name | Type | Description |
---|---|---|
jseGlobalContext | Array.<object> |
Returns:
- Type:
- $k.ActionResponse
setNotification(jseMessageString, jseTypeStringopt) → {$k.ActionResponse}
Notification function
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
jseMessageString | string | ||
jseTypeString | string | <optional> |
Returns:
- Type:
- $k.ActionResponse
setReceiverRole(jseString) → {$k.ActionResponse}
the view with the given role will receive the response
Parameters:
Name | Type | Description |
---|---|---|
jseString | string |
- Since
- 5.4.0
Returns:
- Type:
- $k.ActionResponse
setSession(session)
Set the session
Parameters:
Name | Type | Description |
---|---|---|
session | object | Either a JSON object or a Session |