Interface IExternalInteractionRegistration
- All Superinterfaces:
IDisposable, IEntity
Represents a registration of an interaction whose origin is external to Altitude uCI, that is being handled by an agent.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddExternalInteractionRegistrationEndedListener(ExternalInteractionRegistrationEndedListener listener) Registers the ExternalInteractionRegistrationEndedListener.voidend()Stops the external interaction registration.voidendWithError(int errorCode, String errorDetail) Stops the external interaction registration when it has errorsbooleantrueif the agent should not be distributed other interaction while handling the current one.Name of the agent that is handling the external.The business status of the external interaction.Name of the campaign of the external interaction.Identifier of the contact profile.The custom interaction manager used to manage custom interactions.getData()Returns all properties of the external interaction registration.Identifier of the directory.Status of the external interaction.Address of the initiator of the external interaction.intgetId()Identifier of the external interaction registration.Global identifier of the interaction.Name of the media of the external interaction.Origin of the external interaction.Attribute[][]Gets or sets the outcomes.Attribute[][]Returns the formatted outcomes.Identifier of the recording document.Address of the recipient of the external interaction.voidremoveExternalInteractionRegistrationEndedListener(ExternalInteractionRegistrationEndedListener listener) Unregisters the ExternalInteractionRegistrationEndedListener.voidsetBusinessStatus(BusinessStatus value) The business status of the external interaction.voidsetContactProfile(Integer directoryId, Integer contactProfileId) Sets the contact profile.voidStatus of the external interaction.voidsetOutcomes(Attribute[][] value) Gets or sets the outcomes.voidsetRecordingDocumentId(Integer value) Identifier of the recording document.voidsetRecordingKey(String recordingKey, int recorderTypeId) Sets the recording key.Methods inherited from interface IDisposable
addDisposedListener, removeDisposedListenerMethods inherited from interface IEntity
getUserContext, setUserContext
-
Method Details
-
addExternalInteractionRegistrationEndedListener
void addExternalInteractionRegistrationEndedListener(ExternalInteractionRegistrationEndedListener listener) Registers the ExternalInteractionRegistrationEndedListener.- Parameters:
listener- Event listener to add.
-
removeExternalInteractionRegistrationEndedListener
void removeExternalInteractionRegistrationEndedListener(ExternalInteractionRegistrationEndedListener listener) Unregisters the ExternalInteractionRegistrationEndedListener.- Parameters:
listener- Event listener to remove.
-
end
-
endWithError
void endWithError(int errorCode, String errorDetail) throws Exception, altitude.integrationServer.exceptions.ISException Stops the external interaction registration when it has errors- Parameters:
errorCode- The error code supplied by the providererrorDetail- The error message supplied by the provider- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getAgentIsBusy
-
getAgentName
-
getBusinessStatus
BusinessStatus getBusinessStatus() throws Exception, altitude.integrationServer.exceptions.ISExceptionThe business status of the external interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
setBusinessStatus
void setBusinessStatus(BusinessStatus value) throws Exception, altitude.integrationServer.exceptions.ISException The business status of the external interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getCampaignName
-
getContactProfileId
-
getCustomInteractionManager
ICustomInteractionManager getCustomInteractionManager() throws Exception, altitude.integrationServer.exceptions.ISExceptionThe custom interaction manager used to manage custom interactions.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getData
ExternalInteractionRegistrationData getData() throws Exception, altitude.integrationServer.exceptions.ISExceptionReturns all properties of the external interaction registration.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getDirectoryId
-
getExternalInteractionStatus
ExternalInteractionStatus getExternalInteractionStatus() throws Exception, altitude.integrationServer.exceptions.ISExceptionStatus of the external interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
setExternalInteractionStatus
void setExternalInteractionStatus(ExternalInteractionStatus value) throws Exception, altitude.integrationServer.exceptions.ISException Status of the external interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getFromAddress
-
getId
-
getInteractionKey
-
getMediaName
-
getOrigin
Origin of the external interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getOutcomes
-
setOutcomes
-
getOutcomesFormatted
-
getRecordingDocumentId
-
setRecordingDocumentId
-
getToAddress
-
setContactProfile
void setContactProfile(Integer directoryId, Integer contactProfileId) throws Exception, altitude.integrationServer.exceptions.ISException Sets the contact profile.- Parameters:
directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
setRecordingKey
void setRecordingKey(String recordingKey, int recorderTypeId) throws Exception, altitude.integrationServer.exceptions.ISException Sets the recording key.- Parameters:
recordingKey- Unique recording key.recorderTypeId- Type of recorder used.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-