|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DispositionContext
Represents the data that is carried in a CommonPresenceInstantMessage for instant messaging disposition request or disposition notification.
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 |
---|
String getNameSpace()
String getMessagId()
void setOriginalTo(String value)
value
-String getOriginalTo()
boolean isDispositionRequest(DispositionContext.RequestType type)
type
- : RequestTypevoid setDispositionRequest(DispositionContext.RequestType type)
type
- : RequestTypevoid setContent(String content, String contType)
content
- : contentcontType
- : content-typeString getContentType()
String getContent()
void addDispostionNotification(DispositionNotification.Type type, DispositionNotification.Status status)
type
- : Disposition Notification typestatus
- : Disposition statusList<DispositionNotification> getDispositionNotifications(DispositionNotification.Type type)
type
- : Disposition Notification typevoid addDispositionNotification(DispositionNotification dispoNotif)
dispoNotif
- : DispositionNotification objectList<DispositionNotification> getDispositionNotifications()
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Oracle Corporation. All Rights Reserved.