|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.code.facebookapi.MarketListing
com.google.code.facebookapi.MarketplaceListing
@Deprecated public class MarketplaceListing
Facebook foolishly decided to copy this project's idea of having a utility class for creating marketplace listings, without bothering to implemenent a solution that
was compatible with the pre-existing version. The open-source project got here first, and Facebook should have respected that, but they didn't. Hence we have a useless
extra class so that people who are using the official API can still easily migrate to this project.
This class is only provided to preserve drop-in compatibility with the latest "official" version of the Facebook API, and generally should not be used in other cases.
It is important to avoid use of this class, as that will help to discourage Facebook from repeating their actions in the future.
| Field Summary |
|---|
| Fields inherited from class com.google.code.facebookapi.MarketListing |
|---|
attribs, CATEGORY_ATTRIB, CONDITION_ANY, CONDITION_NEW, CONDITION_USED, DESCRIPTION_ATTRIB, log, SUBCATEGORY_ATTRIB, TITLE_ATTRIB |
| Constructor Summary | |
|---|---|
MarketplaceListing(java.lang.String category,
java.lang.String subCategory,
java.lang.String title,
java.lang.String description)
Deprecated. provided for legacy support only. Please use MarketListing instead. |
|
MarketplaceListing(java.lang.String category,
java.lang.String subCategory,
java.lang.String title,
java.lang.String description,
java.util.Map<java.lang.CharSequence,java.lang.CharSequence> extraAttributes)
Deprecated. provided for legacy support only. Please use MarketListing instead. |
|
| Method Summary | |
|---|---|
org.json.JSONObject |
jsonify()
Deprecated. provided for legacy support only. Please use MarketListing instead. |
void |
putAttribute(java.lang.CharSequence attr,
java.lang.CharSequence value)
Deprecated. provided for legacy support only. Please use MarketListing instead. |
| Methods inherited from class com.google.code.facebookapi.MarketListing |
|---|
getAttribute, getCategory, getDescription, getSubCategory, getTitle, removeAttribute, setAttribute, setCategory, setDescription, setSubCategory, setTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public MarketplaceListing(java.lang.String category,
java.lang.String subCategory,
java.lang.String title,
java.lang.String description)
category - subCategory - title - description -
@Deprecated
public MarketplaceListing(java.lang.String category,
java.lang.String subCategory,
java.lang.String title,
java.lang.String description,
java.util.Map<java.lang.CharSequence,java.lang.CharSequence> extraAttributes)
category - subCategory - title - description - extraAttributes - | Method Detail |
|---|
@Deprecated
public void putAttribute(java.lang.CharSequence attr,
java.lang.CharSequence value)
attr - value - @Deprecated public org.json.JSONObject jsonify()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||