|
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 XConversationModule.Server
Server interface for the Conversation Module API.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface waggle.core.api.XAPIInterface |
---|
XAPIInterface.Client, XAPIInterface.Server |
Method Summary | |
---|---|
void |
changeConversationExternalIDs(XObjectID conversationID, List<String> addExternalIDs, List<String> removeExternalIDs) Change a Conversation's secondary external IDs. |
void |
changeConversationMembers(XObjectID conversationID, List<XConversationMemberChangeInfo> changeInfos, boolean errorIfRemovingSelf) Change a Conversation's membership. |
XConversationInfo |
createConversation(XObjectID trackID, String name) Create a new Conversation. |
XConversationInfo |
createConversationFromInfo(XConversationCreateInfo createInfo) Create a new Conversation. |
void |
deleteConversationPicture(XObjectID conversationID) Delete any Conversation picture. |
void |
enterConversation(XObjectID conversationID) Enter a Conversation. |
void |
exitConversation(XObjectID conversationID) Exit a Conversation. |
List<XConversationGetInfo> |
getAllActiveConversations() Get information about all active, accessible, Conversations. |
XConversationGetInfo |
getConversation(XObjectID conversationID) Get info about a Conversation. |
List<XArtifactInfo> |
getConversationArtifacts(XObjectID conversationID) Get information about a Conversation's referenced Artifacts. |
XConversationGetInfo |
getConversationByPrimaryExternalID(String externalID) Get information about the specified Conversation. |
List<XUserInfo> |
getConversationContributors(XObjectID conversationID) Get information about a Conversation's contributors. |
XConversationCountsInfo |
getConversationCounts() Get counts of discoverable, accessible open and accessible closed Conversations\ for the current User. |
List<XConversationMemberInfo> |
getConversationDirectMembers(XObjectID conversationID) Get information about a Conversation's direct User and Group members. |
List<XConversationDocumentInfo> |
getConversationDocuments(XObjectID conversationID, XConversationDocumentOptionsInfo optionsInfo) Get information about a Conversation's referenced Documents. |
List<XObjectID> |
getConversationEntered(XObjectID conversationID) Return the set of Users that are currently entered into the Conversation. |
XConversationGetInfo |
getConversationIfAccessible(XObjectID conversationID) Get info about a Conversation. |
XConversationMapInfo |
getConversationMap(XConversationMapFilterInfo filterInfo) Get a Conversation map. |
List<XConversationMemberInfo> |
getConversationMembership(XObjectID conversationID) Get information about a Conversation's direct and indirect User membership. |
List<XConversationMemberInfo> |
getConversationMembershipAndDirectGroups(XObjectID conversationID) Get information about a Conversation's direct and indirect User membership and the Conversation's direct Groups. |
XConversationRole |
getConversationRole(XObjectID conversationID) Return the current User's role in the specified Conversation. |
List<XConversationGetInfo> |
getConversations() Get info about a set of Conversations that the current User is a member of across all Tracks. |
List<XConversationGetInfo> |
getConversationsBySecondaryExternalID(String externalID) Get information about the specified Conversations. |
XConversationDetailInfo |
getConversationsDetail(XConversationDetailFilterInfo filterInfo) Get info about a set of Conversations that the current User is a member of across all Tracks, along with extra details that are useful to the UI. |
List<XConversationGetInfo> |
getConversationsIfAccessible(List<XObjectID> conversationIDs) Get info about a set of accessible Conversations. |
List<XConversationGetInfo> |
getConversationsInCommon(XObjectID userID) Get Conversations that are in common with another User. |
List<XConversationDetailConversationInfo> |
getDiscoverableConversations() Get all discoverable Conversations. |
List<XConversationDetailConversationInfo> |
getDiscoverableConversationsForUser(XObjectID userID) Get all Conversations discoverable by the caller that the specified User is a member of. |
List<XConversationGetInfo> |
getGeolocatedConversations(double minLatitude, double maxLatitude, double minLongitude, double maxLongitude) Get all accessible geolocated Conversations. |
List<waggle.common.modules.object.infos.XObjectInfo> |
getGeolocatedObjects(XObjectID conversationID, double minLatitude, double maxLatitude, double minLongitude, double maxLongitude) Get all geolocated objects in this Conversation. |
List<XConversationGetInfo> |
getNewConversations() Get the new Conversations for the current user. |
InputStream |
getOriginalConversationPicture(XObjectID conversationID) Get any original Conversation picture. |
InputStream |
getScaledConversationPicture(XObjectID conversationID) Get any scaled Conversation picture. |
List<XConversationGetInfo> |
getTopActiveConversations(int limit) Return all open Conversations, in any Tracks in which the user is a Member. |
List<XConversationGetInfo> |
getTrackClosedConversations(XObjectID trackID) Get info about a set of closed Conversations in the specified Track that the User has access to and is a member of. |
List<XConversationGetInfo> |
getTrackConversations(XObjectID trackID) Get info about a set of all Conversations in the specified Track that the User has access to and is a member of. |
List<XConversationGetInfo> |
getTrackDiscoverableConversations(XObjectID trackID) Get info about a set of discoverable Conversations in the specified Track that the User has access to and is not a member of. |
List<XConversationGetInfo> |
getTrackOpenConversations(XObjectID trackID) Get info about a set of open Conversations in the specified Track that the User has access to and is a member of. |
void |
joinDiscoverableConversation(XObjectID conversationID) Join a Discoverable Conversation. |
XConversationInfo |
moveConversation(XObjectID conversationID, XObjectID trackID) Move a Conversation to another Track. |
void |
removeConversation(XObjectID conversationID) Remove a Conversation. |
XSearchResultsInfo |
searchConversation(XObjectID conversationID, XConversationSearchInfo searchInfo) Search the content of a Conversation. |
void |
setConversationDiscoverable(XObjectID conversationID, boolean discoverable) Change a Conversation's discoverable status. |
void |
setConversationName(XObjectID conversationID, String name) Change a Conversation's name. |
void |
setConversationState(XObjectID conversationID, XConversationState state, String chatText) Change a Conversation's state with an optional custom message. |
void |
updateConversation(XObjectID conversationID, XUpdater updater) Update a Conversation. |
void |
uploadConversationPicture(XObjectID conversationID, XAPIInputStream inputStream, String mimeType, long length) Upload a picture for the specified Conversation. |
String |
uploadConversationPictureToDataUri(XAPIInputStream inputStream, String mimeType, long length) Convert an image to a scaled image Data URI. |
Method Detail |
---|
XConversationInfo createConversation(XObjectID trackID, String name)
trackID
- The Track.name
- The name of the Conversation.XConversationInfo createConversationFromInfo(XConversationCreateInfo createInfo)
createInfo
- The creation info for the Conversation.XConversationGetInfo getConversation(XObjectID conversationID)
conversationID
- The Conversation.XConversationGetInfo getConversationIfAccessible(XObjectID conversationID)
conversationID
- The Conversation.List<XConversationGetInfo> getConversationsIfAccessible(List<XObjectID> conversationIDs)
conversationIDs
- The Conversations.List<XConversationGetInfo> getTrackConversations(XObjectID trackID)
trackID
- The Track.List<XConversationGetInfo> getTrackOpenConversations(XObjectID trackID)
trackID
- The Track.List<XConversationGetInfo> getTrackClosedConversations(XObjectID trackID)
trackID
- The Track.List<XConversationGetInfo> getTrackDiscoverableConversations(XObjectID trackID)
trackID
- The Track.List<XConversationGetInfo> getConversations()
XConversationDetailInfo getConversationsDetail(XConversationDetailFilterInfo filterInfo)
filterInfo
- The filter info.List<XConversationGetInfo> getTopActiveConversations(int limit)
limit
- Maximum number of records to return.List<XConversationGetInfo> getNewConversations()
XConversationCountsInfo getConversationCounts()
List<XConversationDetailConversationInfo> getDiscoverableConversations()
List<XConversationDetailConversationInfo> getDiscoverableConversationsForUser(XObjectID userID)
userID
- The other User.XConversationGetInfo getConversationByPrimaryExternalID(String externalID)
externalID
- The Conversation's primary external ID (Business Object ID).List<XConversationGetInfo> getConversationsBySecondaryExternalID(String externalID)
externalID
- The Conversation's secondary external ID (Business Object ID).List<XArtifactInfo> getConversationArtifacts(XObjectID conversationID)
conversationID
- The Conversation.List<XConversationGetInfo> getAllActiveConversations()
List<XConversationDocumentInfo> getConversationDocuments(XObjectID conversationID, XConversationDocumentOptionsInfo optionsInfo)
conversationID
- The Conversation.optionsInfo
- Option settings.List<XObjectID> getConversationEntered(XObjectID conversationID)
conversationID
- The Conversation.XConversationRole getConversationRole(XObjectID conversationID)
conversationID
- The Conversation.List<XConversationMemberInfo> getConversationDirectMembers(XObjectID conversationID)
conversationID
- The Conversation.List<XConversationMemberInfo> getConversationMembership(XObjectID conversationID)
conversationID
- The Conversation.List<XConversationMemberInfo> getConversationMembershipAndDirectGroups(XObjectID conversationID)
conversationID
- The Conversation.List<XUserInfo> getConversationContributors(XObjectID conversationID)
conversationID
- The Conversation.void setConversationName(XObjectID conversationID, String name)
conversationID
- The Conversation.name
- The new name.void setConversationState(XObjectID conversationID, XConversationState state, String chatText)
conversationID
- The Conversation.state
- The state.chatText
- The Chat Text. May be null.void setConversationDiscoverable(XObjectID conversationID, boolean discoverable)
conversationID
- The Conversation.discoverable
- The discoverable status.void changeConversationExternalIDs(XObjectID conversationID, List<String> addExternalIDs, List<String> removeExternalIDs)
conversationID
- The Conversation's ID.addExternalIDs
- The external IDs to be added.removeExternalIDs
- The external IDs to be removed.void changeConversationMembers(XObjectID conversationID, List<XConversationMemberChangeInfo> changeInfos, boolean errorIfRemovingSelf)
conversationID
- The Conversation.changeInfos
- The Conversation members and their access levels. List of XConversationMemberChangeInfo.errorIfRemovingSelf
- If true then report an error if the requested changes would result in the removal of the calling User.void updateConversation(XObjectID conversationID, XUpdater updater)
conversationID
- The Conversation.updater
- The fields to be updated.XConversationInfo moveConversation(XObjectID conversationID, XObjectID trackID)
conversationID
- The Conversation to move.trackID
- The new Track.XSearchResultsInfo searchConversation(XObjectID conversationID, XConversationSearchInfo searchInfo)
conversationID
- The Track.searchInfo
- The search string.void removeConversation(XObjectID conversationID)
conversationID
- The Conversation.void enterConversation(XObjectID conversationID)
conversationID
- The Conversation.void exitConversation(XObjectID conversationID)
conversationID
- The Conversation.void joinDiscoverableConversation(XObjectID conversationID)
conversationID
- The Conversation.List<XConversationGetInfo> getConversationsInCommon(XObjectID userID)
userID
- The User.List<XConversationGetInfo> getGeolocatedConversations(double minLatitude, double maxLatitude, double minLongitude, double maxLongitude)
minLatitude
- The minimum latitude.maxLatitude
- The maximum latitude.minLongitude
- The minimum longitude.maxLongitude
- The maximum longitude.List<waggle.common.modules.object.infos.XObjectInfo> getGeolocatedObjects(XObjectID conversationID, double minLatitude, double maxLatitude, double minLongitude, double maxLongitude)
conversationID
- The Conversation.minLatitude
- The minimum latitude.maxLatitude
- The maximum latitude.minLongitude
- The minimum longitude.maxLongitude
- The maximum longitude.XConversationMapInfo getConversationMap(XConversationMapFilterInfo filterInfo)
filterInfo
- The filter.void uploadConversationPicture(XObjectID conversationID, XAPIInputStream inputStream, String mimeType, long length)
conversationID
- The Conversation.inputStream
- The InputStream containing the picture.mimeType
- The mimetype of the picture.length
- The length of the picture.String uploadConversationPictureToDataUri(XAPIInputStream inputStream, String mimeType, long length)
inputStream
- The InputStream containing the picture.mimeType
- The mimetype of the picture.length
- The length of the picture.InputStream getOriginalConversationPicture(XObjectID conversationID)
conversationID
- The Conversation.InputStream getScaledConversationPicture(XObjectID conversationID)
conversationID
- The Conversation.void deleteConversationPicture(XObjectID conversationID)
conversationID
- The Conversation.
|
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 |