Interface IEmailMedia
- All Superinterfaces:
IDisposable, IEntity, IInteractionMedia
Represents an email media.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddEmailErrorListener(EmailErrorListener listener) Registers the EmailErrorListener.voidaddEmailListener(EmailListener listener) Registers the EmailListener.voidRegisters the EmailProgressListener.voidblindTransfer(String agentName, String campaignName, String remoteEmailAddress, Attribute[] attributes, int priority, String skillProfileName, SkillInProfile[] skills, int directoryId, int contactProfileId, boolean synchronous) Makes a blind transfer.voidclear(boolean synchronous) Clears the data transaction.voidendReservation(boolean synchronous) Ends the reservation.Allowed email media operations.booleanTrue if the auto reply was sent.getData()Data of the email interaction.Date of arrival of the email.booleanReturns true if the email was delivered.intIdentifier of the email.Returns the email message.byte[]Returns the email in MIME format.getFrom()Email senders.booleanTrue if the interaction is suspended.Reply to address.getState()State of the email interaction.Subject of the email.getTo()Email receivers.booleanTrue if the email was recovered.voidremoveEmailErrorListener(EmailErrorListener listener) Unregisters the EmailErrorListener.voidremoveEmailListener(EmailListener listener) Unregisters the EmailListener.voidUnregisters the EmailProgressListener.Methods inherited from interface IDisposable
addDisposedListener, removeDisposedListenerMethods inherited from interface IEntity
getUserContext, setUserContextMethods inherited from interface IInteractionMedia
answer, getInteractionId, getMediaId, getMediaType, getSession, getStartTime
-
Method Details
-
addEmailErrorListener
Registers the EmailErrorListener.- Parameters:
listener- Event listener to add.
-
removeEmailErrorListener
Unregisters the EmailErrorListener.- Parameters:
listener- Event listener to remove.
-
addEmailListener
Registers the EmailListener.- Parameters:
listener- Event listener to add.
-
removeEmailListener
Unregisters the EmailListener.- Parameters:
listener- Event listener to remove.
-
addEmailProgressListener
Registers the EmailProgressListener.- Parameters:
listener- Event listener to add.
-
removeEmailProgressListener
Unregisters the EmailProgressListener.- Parameters:
listener- Event listener to remove.
-
blindTransfer
void blindTransfer(String agentName, String campaignName, String remoteEmailAddress, Attribute[] attributes, int priority, String skillProfileName, SkillInProfile[] skills, int directoryId, int contactProfileId, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Makes a blind transfer.- Parameters:
agentName- Name of the agent.campaignName- Name of the campaign.remoteEmailAddress- Email address of the remote instance.attributes- Attributes to send with the transferred email.priority- Relative priority.skillProfileName- Name of the skill profile.skills- Optional agent skills required to handle the email. This parameter will be ignored if theskillProfileNameis specified.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
clear
-
endReservation
-
getAllowedOperations
EmailMediaCanDo getAllowedOperations() throws Exception, altitude.integrationServer.exceptions.ISExceptionAllowed email media operations.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getAutoReplySent
-
getData
Data of the email interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getDateOfArrival
GregorianCalendar getDateOfArrival() throws Exception, altitude.integrationServer.exceptions.ISExceptionDate of arrival of the email.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getDelivered
-
getEmailId
-
getEmailMessage
Returns the email message.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getEmailMime
-
getFrom
-
getIsSuspended
-
getReplyTo
-
getState
EmailInteractionState getState() throws Exception, altitude.integrationServer.exceptions.ISExceptionState of the email interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSubject
-
getTo
-
getWasRecovered
-