org.zeroexchange.messaging.event
Class PrivateMessageSent

java.lang.Object
  extended by org.zeroexchange.event.Event
      extended by org.zeroexchange.messaging.event.PrivateMessageSent
All Implemented Interfaces:
Serializable

public class PrivateMessageSent
extends Event

Notification which is published when the private message is sent.

Author:
black
See Also:
Serialized Form

Constructor Summary
PrivateMessageSent()
           
 
Method Summary
 String getBody()
           
 String getLocale()
           
 Collection<User> getRecipients()
           
 User getSender()
           
 String getSubject()
           
 void setBody(String body)
           
 void setLocale(String locale)
           
 void setRecipients(Collection<User> recipients)
           
 void setSender(User sender)
           
 void setSubject(String subject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrivateMessageSent

public PrivateMessageSent()
Method Detail

getSubject

public String getSubject()
Returns:
the subject

setSubject

public void setSubject(String subject)
Parameters:
subject - the subject to set

getBody

public String getBody()
Returns:
the body

setBody

public void setBody(String body)
Parameters:
body - the body to set

getRecipients

public Collection<User> getRecipients()
Returns:
the recipients

setRecipients

public void setRecipients(Collection<User> recipients)
Parameters:
recipients - the recipients to set

getSender

public User getSender()
Returns:
the sender

setSender

public void setSender(User sender)
Parameters:
sender - the sender to set

getLocale

public String getLocale()
Returns:
the locale

setLocale

public void setLocale(String locale)
Parameters:
locale - the locale to set


Copyright © 2013. All Rights Reserved.