com.google.code.facebookapi
Class DashboardItem

java.lang.Object
  extended by com.google.code.facebookapi.DashboardItem
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DashboardActivityItem, DashboardNewsItem

public abstract class DashboardItem
extends java.lang.Object
implements java.io.Serializable

Base class for common news and activity dashboard news items.

See Also:
Serialized Form

Constructor Summary
DashboardItem()
           
 
Method Summary
 BundleActionLink getActionLink()
          Returns the action link associated with news item.
 java.lang.String getMessage()
          Returns the message associated with news item.
 void setActionLink(BundleActionLink actionLink)
          Sets the action link assaciated with news item.
 void setMessage(java.lang.String message)
          Sets the message associated with news item.
 org.json.JSONObject toJSON()
          Creates a JSONObject corresponding to contents of object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DashboardItem

public DashboardItem()
Method Detail

getMessage

public java.lang.String getMessage()
Returns the message associated with news item.


setMessage

public void setMessage(java.lang.String message)
Sets the message associated with news item.


getActionLink

public BundleActionLink getActionLink()
Returns the action link associated with news item.


setActionLink

public void setActionLink(BundleActionLink actionLink)
Sets the action link assaciated with news item.


toJSON

public org.json.JSONObject toJSON()
Creates a JSONObject corresponding to contents of object.



Copyright © 2010. All Rights Reserved.