|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InteractionWebcallback
A request for callback sent through the web
| Nested Class Summary | |
|---|---|
static class |
InteractionWebcallback.Action
To be used in the methods of the interface Possible. |
static class |
InteractionWebcallback.WcbStatus
Constants for Webcallback statuses. |
static class |
InteractionWebcallback.WcbType
Constants for Webcallback types. |
| Nested classes/interfaces inherited from interface com.genesyslab.ail.InteractionMultimedia |
|---|
InteractionMultimedia.StopProcessingReason |
| Nested classes/interfaces inherited from interface com.genesyslab.ail.Interaction |
|---|
Interaction.Status, Interaction.Type |
| Nested classes/interfaces inherited from interface com.genesyslab.ail.AbstractInteraction |
|---|
AbstractInteraction.AbstractCallType |
| Method Summary | |
|---|---|
void |
cancel(java.lang.String result,
java.lang.String wcbCancelQueue)
Cancels this interaction by setting its result, and putting it into the queue for completed interactions. |
void |
complete(java.lang.String result,
java.lang.String wcbCompletedQueue)
Completes the processing of this interaction by setting its result, and putting it into the queue for completed interactions. |
Interaction |
createInteraction(java.lang.String queue)
Creates an interaction of the desired response type in order to fulfill this InteractionWebcallback. |
void |
customerSessionActive(java.lang.String sessionID)
Updates the attached data of this interaction when the customer session is active. |
void |
customerSessionCompleted()
Updates the attached data of this interaction when the customer session is completed. |
int |
getAttempts()
Returns the number of attempts to fulfill this request that have already been made. |
java.lang.String |
getCustomerNumber()
Returns the number at which the customer requests to be replied. |
java.lang.String |
getDesiredResponseType()
Returns the name of the media, through which the customer requests to be replied. |
boolean |
getDoEmailNotification()
Returns true if the customer asked to receive e-mail notifications about the
processing of this InteractionWebcallback. |
java.util.Calendar |
getEndTime()
Returns the end of the timeframe when a response to this interaction is required. |
java.lang.String |
getNotificationEmail()
Returns the e-mail address to which the notifications about the processing of this InteractionWebcallback must be sent. |
java.lang.String |
getResult()
Returns the result of the processin of this InteractionWebcallback. |
java.util.Calendar |
getStartTime()
Returns the beginning of the timeframe when a response to this interaction is required. |
int |
getTimeShift()
Returns the time shift that must be taken into account, regarding getStartTime() and
getEndTime(). |
InteractionWebcallback.WcbStatus |
getWcbStatus()
Returns the Webcallback status of this InteractionWebcallback. |
InteractionWebcallback.WcbType |
getWcbType()
Returns the Webcallback type of this InteractionWebcallback. |
void |
reschedule(java.util.Calendar startDate,
java.util.Calendar endDate,
java.lang.String wcbRescheduleQueue)
Reschedules this InteractionWebcallback for some time later. |
| Methods inherited from interface com.genesyslab.ail.Interaction |
|---|
answerCall, countOtherPendingInteractions, getContactId, getContentBinary, getContentBinaryMimeType, getContentBinarySize, getDateCreated, getDn, getEndDate, getMedia, getNotepad, getParentInteraction, getPlace, getStatus, getStructTextMimeType, getStructuredText, getSubject, getText, getType, getUserName, isDone, markDone, merge, releaseCall, save, setContactId, setContentBinary, setContentBinaryMimeType, setContentBinarySize, setNotepad, setStructTextMimeType, setStructuredText, setSubject, setText |
| Methods inherited from interface com.genesyslab.ail.AbstractInteraction |
|---|
addInteractionListener, getAttachedData, getAttachedData, getAttachedDataEx, getTConnectionId, queryStatus, removeAttachedData, removeInteractionListener, saveAttachedData, setAttachedData |
| Methods inherited from interface com.genesyslab.ail.Possible |
|---|
arePossible, isPossible |
| Methods inherited from interface com.genesyslab.ail.Savable |
|---|
getContactServerId, isDirty |
| Method Detail |
|---|
void reschedule(java.util.Calendar startDate,
java.util.Calendar endDate,
java.lang.String wcbRescheduleQueue)
throws RequestFailedException
InteractionWebcallback for some time later.
startDate - the beginning of the timeframe when the InteractionWebcallback
should be delivered to an agent again. Can be null, in this case the original
startDate is not changed.endDate - the end of the timeframe when the InteractionWebcallback should
be delivered to an agent again. If null, the endDate is set 20 minutes after
the startDate.wcbRescheduleQueue - the name of the queue where rescheduled interactions are to be put.
RequestFailedException
Interaction createInteraction(java.lang.String queue)
throws RequestFailedException
InteractionWebcallback. Alternatively, Place.createInteraction(MediaType, Interaction, String) can be used, but you will need to
set some attached data.
queue - the queue where the interaction must be created. This parameter is ignored if
the desired response type is voice.
RequestFailedException
void cancel(java.lang.String result,
java.lang.String wcbCancelQueue)
throws RequestFailedException
result - the result of this interaction.wcbCancelQueue - the queue for canceled Webcallback interactions.
RequestFailedException
void complete(java.lang.String result,
java.lang.String wcbCompletedQueue)
throws RequestFailedException
result - the result of this interaction.wcbCompletedQueue - the queue for completed Webcallback interactions.
RequestFailedExceptionvoid customerSessionActive(java.lang.String sessionID)
sessionID - the ID of the customer session. In case the desired response type is voice,
pass the AbstractInteraction.getTConnectionId(). In multimedia case, pass Savable.getContactServerId().void customerSessionCompleted()
java.util.Calendar getEndTime()
java.util.Calendar getStartTime()
int getAttempts()
int getTimeShift()
getStartTime() and
getEndTime(). Value is in minutes, please see Date.getTimeZoneOffset()
java.lang.String getCustomerNumber()
getDesiredResponseType()java.lang.String getDesiredResponseType()
getCustomerNumber()java.lang.String getNotificationEmail()
InteractionWebcallback must be sent.
getDoEmailNotification()java.lang.String getResult()
InteractionWebcallback.
InteractionWebcallback.WcbStatus getWcbStatus()
InteractionWebcallback.
InteractionWebcallback.WcbType getWcbType()
InteractionWebcallback.
boolean getDoEmailNotification()
true if the customer asked to receive e-mail notifications about the
processing of this InteractionWebcallback.
getNotificationEmail()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||