|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.genesyslab.omsdk.mil.applicationblocks.mediaserver.ixn.HandlingInteractions
Shows how to handle interactions in Interaction Server.
| Constructor Summary | |
HandlingInteractions()
|
|
| Method Summary | |
void |
changeProperties(java.lang.String ID,
java.util.Map removedProperties,
java.util.Map changedProperties)
Changes properties of an interaction. |
void |
changePropertiesAsync(java.lang.String ID,
java.util.Map removedProperties,
java.util.Map changedProperties)
Changes properties of an interaction asynchronously. |
void |
saveInteraction(java.lang.String type,
java.lang.String subtype,
java.lang.String mediatype,
java.lang.String externalID,
java.lang.String ID,
java.lang.String queueName)
Creates and saves interactions. |
void |
saveInteractionAsync(java.lang.String type,
java.lang.String subtype,
java.lang.String mediatype,
java.lang.String externalID,
java.lang.String ID,
java.lang.String queueName)
Creates and saves interactions asynchronously. |
void |
stopInteraction(java.lang.String ID,
int stopReasonCode,
java.lang.String stopReasonName,
java.lang.String stopReasonDescription)
Stops an interaction. |
void |
stopInteractionAsync(java.lang.String ID,
int stopReasonCode,
java.lang.String stopReasonName,
java.lang.String stopReasonDescription)
Stops interactions asynchronously. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HandlingInteractions()
| Method Detail |
public void saveInteraction(java.lang.String type,
java.lang.String subtype,
java.lang.String mediatype,
java.lang.String externalID,
java.lang.String ID,
java.lang.String queueName)
throws MILRequestFailedException
type - interaction type.subtype - interaction subtype.mediatype - interaction mediatype.externalID - external id of an interaction, can be
null.ID - desired id of an interaction, can be null.queueName - name of a queue.
MILRequestFailedException - exception can be raised on interaction submit phase.
public void stopInteraction(java.lang.String ID,
int stopReasonCode,
java.lang.String stopReasonName,
java.lang.String stopReasonDescription)
throws MILRequestFailedException
ID - stopReasonCode - stopReasonName - stopReasonDescription -
MILRequestFailedException
public void changeProperties(java.lang.String ID,
java.util.Map removedProperties,
java.util.Map changedProperties)
throws MILRequestFailedException
ID - removedProperties - map of properties to be removed.changedProperties - map of properties to be changed.
Note, you must use this parameter if you want to add a property.
MILRequestFailedException
public void saveInteractionAsync(java.lang.String type,
java.lang.String subtype,
java.lang.String mediatype,
java.lang.String externalID,
java.lang.String ID,
java.lang.String queueName)
throws MILRequestFailedException
type - subtype - mediatype - externalID - ID - queueName - name of a queue
MILRequestFailedException
public void stopInteractionAsync(java.lang.String ID,
int stopReasonCode,
java.lang.String stopReasonName,
java.lang.String stopReasonDescription)
throws MILRequestFailedException
ID - stopReasonCode - stopReasonName - stopReasonDescription -
MILRequestFailedException
public void changePropertiesAsync(java.lang.String ID,
java.util.Map removedProperties,
java.util.Map changedProperties)
throws MILRequestFailedException
ID - removedProperties - map of properties to be removedchangedProperties - map of properties to be changed.
Note, you must use this parameter if you want to add a property.
MILRequestFailedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||