Interface ISocialMedia
- All Superinterfaces:
IDisposable, IEntity, IInteractionMedia
Represents a social media.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSocialErrorListener(SocialErrorListener listener) Registers the SocialErrorListener.voidaddSocialListener(SocialListener listener) Registers the SocialListener.voidRegisters the SocialProgressListener.voidblindTransfer(String agentName, String campaignName, String remoteSocialAddress, 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 social media operations.booleanTrue if the auto reply was sent.getData()Data of the social interaction.Date of arrival of the social.booleanReturns true if the social was delivered.getFrom()Social senders.booleanTrue if the interaction is suspended.Reply to address.byte[]Gets the social document.intIdentifier of the social document.getState()State of the social interaction.Subject of the social.getTo()Social receivers.booleanTrue if the social was recovered.voidremoveSocialErrorListener(SocialErrorListener listener) Unregisters the SocialErrorListener.voidremoveSocialListener(SocialListener listener) Unregisters the SocialListener.voidUnregisters the SocialProgressListener.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
-
addSocialErrorListener
Registers the SocialErrorListener.- Parameters:
listener- Event listener to add.
-
removeSocialErrorListener
Unregisters the SocialErrorListener.- Parameters:
listener- Event listener to remove.
-
addSocialListener
Registers the SocialListener.- Parameters:
listener- Event listener to add.
-
removeSocialListener
Unregisters the SocialListener.- Parameters:
listener- Event listener to remove.
-
addSocialProgressListener
Registers the SocialProgressListener.- Parameters:
listener- Event listener to add.
-
removeSocialProgressListener
Unregisters the SocialProgressListener.- Parameters:
listener- Event listener to remove.
-
blindTransfer
void blindTransfer(String agentName, String campaignName, String remoteSocialAddress, 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.remoteSocialAddress- Social address of the remote instance.attributes- Attributes to send with the transferred social.priority- Relative priority.skillProfileName- Name of the skill profile.skills- Optional agent skills required to handle the social. 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
SocialMediaCanDo getAllowedOperations() throws Exception, altitude.integrationServer.exceptions.ISExceptionAllowed social media operations.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getAutoReplySent
-
getData
Data of the social interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getDateOfArrival
GregorianCalendar getDateOfArrival() throws Exception, altitude.integrationServer.exceptions.ISExceptionDate of arrival of the social.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getDelivered
-
getFrom
-
getIsSuspended
-
getReplyTo
-
getSocialDocument
-
getSocialDocumentId
-
getState
SocialInteractionState getState() throws Exception, altitude.integrationServer.exceptions.ISExceptionState of the social interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSubject
-
getTo
-
getWasRecovered
-