| 
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface XChatModule.Server
Server interface for the Chat Module API.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from interface waggle.core.api.XAPIInterface | 
|---|
XAPIInterface.Client, XAPIInterface.Server | 
| Method Summary | |
|---|---|
 XObjectID | 
createBasicChat(XObjectID conversationID, String chatText)Create a simple Chat.  | 
 XObjectID | 
createChat(XObjectID conversationID, String chatText, XObjectID commentOnChatID, List<XObjectID> referencedObjectIDs)Create a Chat with the most common parameters.  | 
 XObjectID | 
createChatFromInfo(XChatCreateInfo createInfo)Create a Chat with an XChatCreateInfo DTO that includes all possible parameters.  | 
 void | 
editChat(XObjectID chatID, String chatText, List<XObjectID> referenceIDs)Edit the Chat text with optional references.  | 
 List<XChatInfo> | 
getAfterChats(XObjectID conversationID, Date afterDate, int count)Get count top-level Chats after afterDate. | 
 List<XChatInfo> | 
getAllConferenceChats(XObjectID conversationID)Get all Conference Chats.  | 
 List<XChatInfo> | 
getAroundChats(XObjectID aroundID, int count)Get next and previous count top-level Chats before and after the specified Chat.  | 
 List<XChatInfo> | 
getBeforeChats(XObjectID conversationID, Date beforeDate, int count)Get count top-level Chats before beforeDate. | 
 XChatInfo | 
getChat(XObjectID chatID)Get specific Chat info.  | 
 List<XChatDateInfo> | 
getChatDates(XObjectID conversationID, Date startDate, Date endDate)Get the set of dates for all top-level Chats.  | 
 List<XObjectID> | 
getChatIDs(XObjectID conversationID)Get all top-level Chat IDs.  | 
 List<XObjectID> | 
getChatIDsPage(XObjectID conversationID, int pageNumber, int pageSize)Get a page of top-level Chat IDs.  | 
 List<XChatInfo> | 
getChatsInRange(XObjectID conversationID, Date startDate, Date endDate)Get all top-level Chats created in the specified date range.  | 
 XChatReadInfo | 
getChatsRead(XObjectID conversationID)Return information about Chats read for the current User.  | 
 List<XChatVersionInfo> | 
getChatVersions(XObjectID chatID)Return an ordered list of a Chat's Versions.  | 
 List<XChatInfo> | 
getFirstChats(XObjectID conversationID, int count)Get first top-level Chats.  | 
 List<XChatInfo> | 
getLastChats(XObjectID conversationID, int count)Get last count top-level Chats.  | 
 List<XChatInfo> | 
getNextChats(XObjectID afterID, int count)Get next count top-level Chats after the specified Chat.  | 
 List<XChatInfo> | 
getPreviousChats(XObjectID beforeID, int count)Get previous count top-level Chats before the specified Chat.  | 
 XDTO | 
getReference(XObjectID referenceID)Get referenced object DTO.  | 
 List<XChatInfo> | 
getSpecifiedChats(XObjectID conversationID, List<XObjectID> chatIDs)Get a specified set of Chats.  | 
 XChatSummaryInfo | 
getSummaryChatIDs(XObjectID conversationID)Returns information about followup and bookmark Chats.  | 
 List<XChatInfo> | 
getUnreadChats(XObjectID conversationID)Return all unread Chats for the current User.  | 
 boolean | 
isRemovableNow(XObjectID chatID)Return true if this chat can be removed now given the current user and object model state.  | 
 void | 
markChatsAllRead(XObjectID conversationID, int ordinal)Mark all existing chats read for the current User.  | 
 void | 
markChatsAllUnread(XObjectID conversationID, int ordinal)Mark all existing chats unread for the current User.  | 
 void | 
markChatsRead(XObjectID conversationID, List<Integer> ordinals)Mark a set of chats read for the current User.  | 
 void | 
markChatsUnread(XObjectID conversationID, List<Integer> ordinals)Mark a set of chats unread for the current User.  | 
 void | 
markUserDigestChatsRead(Date digestStartDate, Date digestEndDate)Mark all the chats included in a user digest as read.  | 
 void | 
removeChat(XObjectID chatID)Marks the Removed flag on the XChatInfo for this chatID. | 
 void | 
typing(XObjectID conversationID)Sent when a User is typing in a chat window.  | 
 void | 
unremoveChat(XObjectID chatID)Clears the Removed flag on the XChatInfo for this chatID. | 
 void | 
updateChat(XObjectID chatID, XUpdater updater)Update a Chat.  | 
| Method Detail | 
|---|
void typing(XObjectID conversationID)
conversationID - The Conversation.
XObjectID createBasicChat(XObjectID conversationID,
                          String chatText)
conversationID - The Conversation.chatText - The chat text.
XObjectID createChat(XObjectID conversationID,
                     String chatText,
                     XObjectID commentOnChatID,
                     List<XObjectID> referencedObjectIDs)
conversationID parameter may be null only when creating a comment chat whereas the commentOnChatID parameter is not null.conversationID - The Conversation. May be null if commentOnChatID is provided.chatText - The Chat text.commentOnChatID - Chat on which this is a comment. May be null.referencedObjectIDs - Referenced Object IDs. May be null.XObjectID createChatFromInfo(XChatCreateInfo createInfo)
createInfo - The create info.XChatInfo getChat(XObjectID chatID)
chatID - The Chat.
List<XChatInfo> getSpecifiedChats(XObjectID conversationID,
                                  List<XObjectID> chatIDs)
conversationID - The Conversation.chatIDs - The Chat IDs in the specified Conversation to return.List<XObjectID> getChatIDs(XObjectID conversationID)
conversationID - The Conversation.
List<XObjectID> getChatIDsPage(XObjectID conversationID,
                               int pageNumber,
                               int pageSize)
conversationID - The Conversation.pageNumber - The page number. Zero (0) based.pageSize - The page size.XChatSummaryInfo getSummaryChatIDs(XObjectID conversationID)
conversationID - The Conversation.List<XChatInfo> getUnreadChats(XObjectID conversationID)
conversationID - The Conversation.
List<XChatDateInfo> getChatDates(XObjectID conversationID,
                                 Date startDate,
                                 Date endDate)
conversationID - The Conversation.startDate - The start date.endDate - The end date.
List<XChatInfo> getChatsInRange(XObjectID conversationID,
                                Date startDate,
                                Date endDate)
conversationID - The Conversation.startDate - The start date.endDate - The end date.
List<XChatInfo> getFirstChats(XObjectID conversationID,
                              int count)
conversationID - The Conversation.count - The maximum number of children to return.
List<XChatInfo> getNextChats(XObjectID afterID,
                             int count)
afterID - Return children after this Chat.count - The maximum number of children to return.
List<XChatInfo> getAroundChats(XObjectID aroundID,
                               int count)
aroundID - Return children around this Chat.count - The maximum number of children before and after to return.
List<XChatInfo> getPreviousChats(XObjectID beforeID,
                                 int count)
beforeID - Return children before this Chat.count - The maximum number of children to return.
List<XChatInfo> getLastChats(XObjectID conversationID,
                             int count)
conversationID - The Conversation.count - The maximum number of children to return.
List<XChatInfo> getBeforeChats(XObjectID conversationID,
                               Date beforeDate,
                               int count)
beforeDate.conversationID - The Conversation.beforeDate - Get count Chats before this Date.count - The maximum number of children to return.
List<XChatInfo> getAfterChats(XObjectID conversationID,
                              Date afterDate,
                              int count)
afterDate.conversationID - The Conversation.afterDate - Get count Chats after this Date.count - The maximum number of children to return.List<XChatInfo> getAllConferenceChats(XObjectID conversationID)
conversationID - The Conversation.XChatReadInfo getChatsRead(XObjectID conversationID)
conversationID - The Conversation.
void markChatsRead(XObjectID conversationID,
                   List<Integer> ordinals)
conversationID - The Conversation in which to mark the chats readordinals - The Chats (by ordinal) to mark read.
void markChatsUnread(XObjectID conversationID,
                     List<Integer> ordinals)
conversationID - The Conversation in which to mark the chats unread.ordinals - The Chats (by ordinal) to mark unread.
void markChatsAllRead(XObjectID conversationID,
                      int ordinal)
conversationID - The Conversation in which to mark the chats read.ordinal - The maximum ordinal read.
void markChatsAllUnread(XObjectID conversationID,
                        int ordinal)
conversationID - The Conversation in which to mark the chats read.ordinal - The maximum ordinal unread.
void markUserDigestChatsRead(Date digestStartDate,
                             Date digestEndDate)
digestStartDate - the start date of the digestdigestEndDate - the end date of the digestXDTO getReference(XObjectID referenceID)
referenceID - The Reference.
void updateChat(XObjectID chatID,
                XUpdater updater)
chatID - The Chat.updater - The updater.
void editChat(XObjectID chatID,
              String chatText,
              List<XObjectID> referenceIDs)
chatID - The Chat.chatText - The new Chat text.referenceIDs - Referenced IDs. May be null.List<XChatVersionInfo> getChatVersions(XObjectID chatID)
chatID - The Chat.boolean isRemovableNow(XObjectID chatID)
chatID - The Chat to checkvoid removeChat(XObjectID chatID)
chatID.
1 - if the conversation is closed, no chats in the conversation can be removed. 2 - if the chat XChatInfo.RemovableType flag is false, the chat can never be removed. 3 - if the chat belongs to a conference, then check if the conference is open or closed. The chat cannot be removed while the conference is open. 4 - if the chat XChatInfo.Removed (inherited from XObjectInfo.Removed) flag is true, the chat cannot be removed.
chatID - The Chat to mark removed.XObjectInfo.Removedvoid unremoveChat(XObjectID chatID)
chatID.chatID - The Chat to mark unremoved.XObjectInfo.Removed
  | 
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||