@Component(value="messageService") @Transactional public class MessageServiceImpl extends Object implements MessageService
MessageService specMessageService.NotImplementedMessageService| Constructor and Description |
|---|
MessageServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
createMessage(UserId userId,
String appId,
String msgCollId,
Message message,
org.apache.shindig.auth.SecurityToken token) |
Future<MessageCollection> |
createMessageCollection(UserId userId,
MessageCollection msgCollection,
org.apache.shindig.auth.SecurityToken token) |
Future<Void> |
deleteMessageCollection(UserId userId,
String msgCollId,
org.apache.shindig.auth.SecurityToken token) |
Future<Void> |
deleteMessages(UserId userId,
String msgCollId,
List<String> ids,
org.apache.shindig.auth.SecurityToken token) |
Future<org.apache.shindig.protocol.RestfulCollection<MessageCollection>> |
getMessageCollections(UserId userId,
Set<String> fields,
CollectionOptions options,
org.apache.shindig.auth.SecurityToken token) |
Future<org.apache.shindig.protocol.RestfulCollection<Message>> |
getMessages(UserId userId,
String msgCollId,
Set<String> fields,
List<String> msgIds,
CollectionOptions options,
org.apache.shindig.auth.SecurityToken token) |
Future<Void> |
modifyMessage(UserId userId,
String msgCollId,
String messageId,
Message message,
org.apache.shindig.auth.SecurityToken token) |
Future<Void> |
modifyMessageCollection(UserId userId,
MessageCollection msgCollection,
org.apache.shindig.auth.SecurityToken token) |
void |
setEnvironment(ContextEnvironment environment) |
public Future<Void> createMessage(UserId userId, String appId, String msgCollId, Message message, org.apache.shindig.auth.SecurityToken token) throws org.apache.shindig.protocol.ProtocolException
createMessage in interface MessageServiceorg.apache.shindig.protocol.ProtocolExceptionpublic Future<MessageCollection> createMessageCollection(UserId userId, MessageCollection msgCollection, org.apache.shindig.auth.SecurityToken token) throws org.apache.shindig.protocol.ProtocolException
createMessageCollection in interface MessageServiceorg.apache.shindig.protocol.ProtocolExceptionpublic Future<Void> deleteMessageCollection(UserId userId, String msgCollId, org.apache.shindig.auth.SecurityToken token) throws org.apache.shindig.protocol.ProtocolException
deleteMessageCollection in interface MessageServiceorg.apache.shindig.protocol.ProtocolExceptionpublic Future<Void> deleteMessages(UserId userId, String msgCollId, List<String> ids, org.apache.shindig.auth.SecurityToken token) throws org.apache.shindig.protocol.ProtocolException
deleteMessages in interface MessageServiceorg.apache.shindig.protocol.ProtocolExceptionpublic Future<org.apache.shindig.protocol.RestfulCollection<MessageCollection>> getMessageCollections(UserId userId, Set<String> fields, CollectionOptions options, org.apache.shindig.auth.SecurityToken token) throws org.apache.shindig.protocol.ProtocolException
getMessageCollections in interface MessageServiceorg.apache.shindig.protocol.ProtocolExceptionpublic Future<org.apache.shindig.protocol.RestfulCollection<Message>> getMessages(UserId userId, String msgCollId, Set<String> fields, List<String> msgIds, CollectionOptions options, org.apache.shindig.auth.SecurityToken token) throws org.apache.shindig.protocol.ProtocolException
getMessages in interface MessageServiceorg.apache.shindig.protocol.ProtocolExceptionpublic Future<Void> modifyMessage(UserId userId, String msgCollId, String messageId, Message message, org.apache.shindig.auth.SecurityToken token) throws org.apache.shindig.protocol.ProtocolException
modifyMessage in interface MessageServiceorg.apache.shindig.protocol.ProtocolExceptionpublic Future<Void> modifyMessageCollection(UserId userId, MessageCollection msgCollection, org.apache.shindig.auth.SecurityToken token) throws org.apache.shindig.protocol.ProtocolException
modifyMessageCollection in interface MessageServiceorg.apache.shindig.protocol.ProtocolExceptionpublic void setEnvironment(ContextEnvironment environment)
environment - the environment to setCopyright © 2007-2012. All Rights Reserved.