|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AbstractInteraction
The base of all interactions, including agent and routing interactions.
| Nested Class Summary | |
|---|---|
static class |
AbstractInteraction.AbstractCallType
Constants describing the different types of phone call. |
static class |
AbstractInteraction.Status
Constants for interaction statuses, common to all media. |
| Method Summary | |
|---|---|
void |
addInteractionListener(java.lang.Object listener)
Registers a listener for the events on this Interaction. |
java.util.Map |
getAttachedData()
Returns the data attached to this interaction. |
java.lang.String |
getAttachedData(java.lang.String key)
Returns the String value associated with this key among the attached data of
this AbstractInteraction. |
java.lang.Object |
getAttachedDataEx(java.lang.String key)
Returns the Object value associated with this key among the attached data of
this AbstractInteraction. |
java.lang.String |
getTConnectionId()
Returns the TConnectionId of this interaction as a String. |
void |
queryStatus()
Deprecated. |
void |
removeAttachedData(java.lang.String key)
Removes an attached key-value pair. |
void |
removeInteractionListener(java.lang.Object listener)
Unregisters a listener for the events on this Interaction. |
void |
saveAttachedData()
Saves the modifications of the attached data. |
void |
setAttachedData(java.util.Map data)
Sets all the attached data at once. |
void |
setAttachedData(java.lang.String key,
java.lang.Object value)
Sets an attached key-value pair. |
| Methods inherited from interface com.genesyslab.ail.Possible |
|---|
arePossible, isPossible |
| Method Detail |
|---|
java.lang.String getTConnectionId()
String. This identifier is an internal T-Server data,
consider this as an advanced feature and rather use
getId()
void addInteractionListener(java.lang.Object listener)
Interaction.
listener - the listener to register.void removeInteractionListener(java.lang.Object listener)
Interaction.
listener - the listener to unregister.java.util.Map getAttachedData()
Map of (String, Object). See setAttachedData(String, Object) to determine the different types of objects that you may inspect in this
Map.java.lang.String getAttachedData(java.lang.String key)
String value associated with this key among the attached data of
this AbstractInteraction.
key - the key to look for in the attached data.
null if this key was not found or if this key does not correspond to a
String value.java.lang.Object getAttachedDataEx(java.lang.String key)
Object value associated with this key among the attached data of
this AbstractInteraction.
key - the key to look for in the attached data.
String, Integer, List of byte, or byte[], List, containing those type of objects, Map, recursively containing the same types of pairs. null if this key was not found.
void setAttachedData(java.lang.String key,
java.lang.Object value)
saveAttachedData()
to apply this modification.
key - The key of the pair.value - The value of the pair. Valid objects are:
String, Integer, List of Byte, or a byte[], List, containing those types of objects, Map, recursively containing the same types of pairs. for specific behaviour.,
for specific behaviour.
void setAttachedData(java.util.Map data)
throws RequestFailedException
saveAttachedData().
data - the new attached data map for this interaction.
RequestFailedExceptionvoid removeAttachedData(java.lang.String key)
saveAttachedData() to apply this modification.
void saveAttachedData()
throws RequestFailedException
RequestFailedException
void queryStatus()
throws RequestFailedException
AbstractInteraction. All registered InteractionListeners will receive a
notification of the current status.
RequestFailedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||