|
Spring Social Twitter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.social.twitter.api.StatusDetails
public class StatusDetails
Carries optional metadata pertaining to a Twitter status update.
| Constructor Summary | |
|---|---|
StatusDetails()
|
|
| Method Summary | |
|---|---|
StatusDetails |
setDisplayCoordinates(boolean displayCoordinates)
Indicates that Twitter should pinpoint the location precisely when displaying it on a map. |
StatusDetails |
setInReplyToStatusId(long inReplyToStatusId)
Sets the ID of an existing status that this status is in reply to. |
StatusDetails |
setLocation(float latitude,
float longitude)
Sets the location of the status update in latitude and longitude. |
StatusDetails |
setWrapLinks(boolean wrapLinks)
|
org.springframework.util.MultiValueMap<java.lang.String,java.lang.Object> |
toParameterMap()
Maps the StatusDetails values to a Map of Twitter parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatusDetails()
| Method Detail |
|---|
public StatusDetails setInReplyToStatusId(long inReplyToStatusId)
inReplyToStatusId - the ID of an existing status that this status is in reply to.
StatusDetails object
public StatusDetails setLocation(float latitude,
float longitude)
latitude - The latitude element of the location. Must be between -90.0
and +90.0, where positive values are north and negative values
are south.longitude - The longitude element of the location. Must be between -180.0
and +180.0, where positive values are east and negative values
are west.
StatusDetails objectpublic StatusDetails setDisplayCoordinates(boolean displayCoordinates)
displayCoordinates - If true, will pinpoint the location of the status update.
StatusDetails objectpublic StatusDetails setWrapLinks(boolean wrapLinks)
public org.springframework.util.MultiValueMap<java.lang.String,java.lang.Object> toParameterMap()
StatusDetails values to a Map of Twitter parameters.
Map of parameters to be passed along in the status
update post to Twitter.
|
Spring Social Twitter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||