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

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

public class MessageHandler
extends Object

RPC/REST handler for all Messages requests


Constructor Summary
MessageHandler(MessageService service)
           
 
Method Summary
 Future<?> create(SocialRequestItem request)
          Creates a new message collection or message
 Future<?> delete(SocialRequestItem request)
           
 Future<?> get(SocialRequestItem request)
           
 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 Future<?> delete(SocialRequestItem request)
                 throws ProtocolException
Throws:
ProtocolException

get

public Future<?> get(SocialRequestItem request)
              throws ProtocolException
Throws:
ProtocolException

create

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

Throws:
ProtocolException

modify

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

Throws:
ProtocolException


Copyright © 2007-2012. All Rights Reserved.