com.google.code.facebookapi
Class BundleStoryTemplate

java.lang.Object
  extended by com.google.code.facebookapi.BundleStoryTemplate
All Implemented Interfaces:
java.io.Serializable

Deprecated.

@Deprecated
public class BundleStoryTemplate
extends java.lang.Object
implements java.io.Serializable

A simple data structure for storing a story-template used in the feed_registerTemplateBundle API call.

See Also:
Serialized Form

Constructor Summary
BundleStoryTemplate()
          Deprecated. Constructor.
BundleStoryTemplate(java.lang.String title, java.lang.String body)
          Deprecated. Constructor.
 
Method Summary
 java.lang.String getBody()
          Deprecated.  
 java.lang.String getTitle()
          Deprecated.  
 void setBody(java.lang.String body)
          Deprecated.  
 void setTitle(java.lang.String title)
          Deprecated.  
 org.json.JSONObject toJson()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleStoryTemplate

public BundleStoryTemplate()
Deprecated. 
Constructor. If you use this version, you must make sure you set both the 'title' and 'body' fields before trying to submit your template, otherwise it will not serialize correctly.


BundleStoryTemplate

public BundleStoryTemplate(java.lang.String title,
                           java.lang.String body)
Deprecated. 
Constructor.

Parameters:
title - the title to show for this template.
body - the body content for this template.
Method Detail

toJson

public org.json.JSONObject toJson()
Deprecated. 
Returns:
a JSON representation of this template.

getBody

public java.lang.String getBody()
Deprecated. 
Returns:
the body of this template.

setBody

public void setBody(java.lang.String body)
Deprecated. 
Parameters:
body - the body content to set.

getTitle

public java.lang.String getTitle()
Deprecated. 
Returns:
the title to display for this template.

setTitle

public void setTitle(java.lang.String title)
Deprecated. 
Parameters:
title - the title to set.


Copyright © 2010. All Rights Reserved.