org.apache.shindig.social.opensocial.service
Class MessageHandler

java.lang.Object
  extended by org.apache.shindig.social.opensocial.service.MessageHandler

public class MessageHandler
extends java.lang.Object

RPC/REST handler for all Messages requests


Constructor Summary
MessageHandler(MessageService service)
           
 
Method Summary
 java.util.concurrent.Future<?> create(SocialRequestItem request)
          Creates a new message collection or message
 java.util.concurrent.Future<?> delete(SocialRequestItem request)
           
 java.util.concurrent.Future<?> get(SocialRequestItem request)
           
 java.util.concurrent.Future<?> modify(SocialRequestItem request)
          Handles modifying a message or a message collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageHandler

@Inject
public MessageHandler(MessageService service)
Method Detail

delete

public java.util.concurrent.Future<?> delete(SocialRequestItem request)
                                      throws ProtocolException
Throws:
ProtocolException

get

public java.util.concurrent.Future<?> get(SocialRequestItem request)
                                   throws ProtocolException
Throws:
ProtocolException

create

public java.util.concurrent.Future<?> create(SocialRequestItem request)
                                      throws ProtocolException
Creates a new message collection or message

Throws:
ProtocolException

modify

public java.util.concurrent.Future<?> modify(SocialRequestItem request)
                                      throws ProtocolException
Handles modifying a message or a message collection.

Throws:
ProtocolException


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.