Package | Description |
---|---|
org.wso2.carbon.registry.social.api.message |
Modifier and Type | Method and Description |
---|---|
void |
MessageManager.createMessage(String userId,
String msgCollectionId,
Message message)
Posts a message to the user's specified message collection, to be sent to the set of recipients
specified in the message
|
void |
MessageManager.createMessage(String userId,
String appId,
String msgCollectionId,
Message message)
Posts a message to the user's specified message collection, to be sent to the set of recipients
specified in the message
|
void |
MessageManager.createMessageCollection(String userId,
MessageCollection msgCollection,
String messageCollectionId)
Creates a MessageCollection of the the user with given id and attributes
|
void |
MessageManager.deleteMessageCollection(String userId,
String messageCollectionId)
Deletes a message collection for the given arguments
|
void |
MessageManager.deleteMessages(String userId,
String msgCollectionId,
List<String> messageIds)
Deletes a set of messages for a given user/message collection
|
MessageCollection[] |
MessageManager.getMessageCollections(String userId,
Set<String> fields,
FilterOptions options)
Returns an array of message collections corresponding to the given user details
|
Message[] |
MessageManager.getMessages(String userId,
String msgCollectionId,
Set<String> fields,
List<String> msgIds,
FilterOptions options)
Returns an array of messages that correspond to the passed in data
|
void |
MessageManager.modifyMessage(String userId,
String msgCollId,
String messageId,
Message message)
Modifies/Updates a specific message with new data
|
void |
MessageManager.modifyMessageCollection(String userId,
MessageCollection msgCollection,
String messageCollectionId)
Modifies/Updates a message collection for the given arguments
|
Copyright © 2022 WSO2. All Rights Reserved.