|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface KwInteractionContext
An interface providing additional methods to process Knowledge Worker
requests and events.
It is tightly coupled with an InteractionVoice. Use
KwService.getContext
to get a KwInteractionContext from an Interaction and
getInteraction
to get an Interaction from a KwInteractionContext.
| Nested Class Summary | |
|---|---|
static class |
KwInteractionContext.Action
Actions that are possible on a KwInteractionContext. |
static class |
KwInteractionContext.Reason
Constants for the reason associated with the status of a KwInteractionContext. |
static class |
KwInteractionContext.Status
Constants for the status of a KwInteractionContext. |
| Nested classes/interfaces inherited from interface com.genesyslab.ail.IdObject |
|---|
IdObject.ObjectType |
| Method Summary | |
|---|---|
void |
accept()
Signals the CTI-Less T-Server that the knowledge worker accepts to handle this interaction. |
void |
addKwInteractionContextListener(KwInteractionContextListener listener)
Registers a listener for this KwInteractionContext's events. |
void |
confirmStatus()
Signals the CTI-Less T-Server that the knowledge worker is effectively handling this interaction. |
java.lang.String |
getCustomerNumber()
Returns the customer phone number. |
InteractionVoice |
getInteraction()
Returns the InteractionVoice associated with this KwInteractionContext. |
KwInteractionContext.Reason |
getReason()
Gets the reason of the status of this KwInteractionContext. |
KwInteractionContext.Status |
getStatus()
Gets the status of this KwInteractionContext. |
void |
reject()
Signals the CTI-Less T-Server that the knowledge worker will not handle this interaction. |
void |
rejectStatus()
Signals the CTI-Less T-Server that the knowledge worker is not handling this interaction anymore. |
void |
removeKwInteractionContextListener(KwInteractionContextListener listener)
Removes a listener for this KwInteractionContext's events. |
void |
reroute(java.lang.String reason,
java.util.Map reasons)
Reroutes the interaction. |
| Methods inherited from interface com.genesyslab.ail.Possible |
|---|
arePossible, isPossible |
| Methods inherited from interface com.genesyslab.ail.IdObject |
|---|
getId, getObjectType |
| Method Detail |
|---|
void addKwInteractionContextListener(KwInteractionContextListener listener)
listener - a listener interface that will handle the events.void removeKwInteractionContextListener(KwInteractionContextListener listener)
listener - a listener that was previously added.KwInteractionContext.Status getStatus()
KwInteractionContext.Reason getReason()
void accept()
throws RequestFailedException
PREVIEW
state.
RequestFailedException - if the request failed.
void reject()
throws RequestFailedException
PREVIEW
state.
RequestFailedException - if the request failed.
void reroute(java.lang.String reason,
java.util.Map reasons)
throws RequestFailedException
reason - A reason submitted by the user for this
transfer. This reason is appended at the end of the
notepad.reasons - User defined reasons for rerouting this interaction.
RequestFailedException - If reroute is unavailable
or some error occured.
void confirmStatus()
throws RequestFailedException
STATUS_REQUEST state.
RequestFailedException - if the request failed.
void rejectStatus()
throws RequestFailedException
STATUS_REQUEST state.
RequestFailedException - if the request failed.java.lang.String getCustomerNumber()
InteractionVoice getInteraction()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||