Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.api
Interface DispositionContext


public interface DispositionContext

Represents the data that is carried in a CommonPresenceInstantMessage for instant messaging disposition request or disposition notification.

See Also:
DispositionNotification, CommonPresenceInstantMessage

Nested Class Summary
static class DispositionContext.RequestType
          Disposition Request Type

 

Method Summary
 void addDispositionNotification(DispositionNotification dispoNotif)
          Add a disposition notification into the disposition notification list, The list will send to the requester of disposition status
 void addDispostionNotification(DispositionNotification.Type type, DispositionNotification.Status status)
          create a Disposition Notification and add it into the disposition notification list, this list will send to the requester of disposition status
 String getContent()
          Get the content of Disposition Request IM message payload
 String getContentType()
          Get the content type of Disposition Request IM message payload
 List<DispositionNotification> getDispositionNotifications()
          get the Disposition Notification list
 List<DispositionNotification> getDispositionNotifications(DispositionNotification.Type type)
          get Disposition Notifications with the same type
 String getMessagId()
          Returns IMDN message id Header value
 String getNameSpace()
          gets IMDN Service Namespace Header Value
 String getOriginalTo()
          get imdn.Original-To header value
 boolean isDispositionRequest(DispositionContext.RequestType type)
          Check if Disposition Request Type is set
 void setContent(String content, String contType)
          Set the content of Disposition Request IM message payload
 void setDispositionRequest(DispositionContext.RequestType type)
          Set Disposition Request type
 void setOriginalTo(String value)
          Sets imdn.Original-To header

 

Method Detail

getNameSpace

String getNameSpace()
gets IMDN Service Namespace Header Value
Returns:
IMDN nampspace

getMessagId

String getMessagId()
Returns IMDN message id Header value
Returns:
IMDN message id

setOriginalTo

void setOriginalTo(String value)
Sets imdn.Original-To header
Parameters:
value -

getOriginalTo

String getOriginalTo()
get imdn.Original-To header value
Returns:
Original-To header value

isDispositionRequest

boolean isDispositionRequest(DispositionContext.RequestType type)
Check if Disposition Request Type is set
Parameters:
type - : RequestType
Returns:
whether this RequestType is set or not

setDispositionRequest

void setDispositionRequest(DispositionContext.RequestType type)
Set Disposition Request type
Parameters:
type - : RequestType

setContent

void setContent(String content,
                String contType)
Set the content of Disposition Request IM message payload
Parameters:
content - : content
contType - : content-type

getContentType

String getContentType()
Get the content type of Disposition Request IM message payload
Returns:
content type

getContent

String getContent()
Get the content of Disposition Request IM message payload
Returns:
content

addDispostionNotification

void addDispostionNotification(DispositionNotification.Type type,
                               DispositionNotification.Status status)
create a Disposition Notification and add it into the disposition notification list, this list will send to the requester of disposition status
Parameters:
type - : Disposition Notification type
status - : Disposition status

getDispositionNotifications

List<DispositionNotification> getDispositionNotifications(DispositionNotification.Type type)
get Disposition Notifications with the same type
Parameters:
type - : Disposition Notification type
Returns:
Disposition Notifications of this type as List

addDispositionNotification

void addDispositionNotification(DispositionNotification dispoNotif)
Add a disposition notification into the disposition notification list, The list will send to the requester of disposition status
Parameters:
dispoNotif - : DispositionNotification object

getDispositionNotifications

List<DispositionNotification> getDispositionNotifications()
get the Disposition Notification list
Returns:
Disposition Notifications owned

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.