public class TwitterClient extends Object implements I_SocialMediaClient
| Modifier and Type | Method and Description |
|---|---|
String |
getCssClass()
Returns a CSS class that represents this plugin.
|
static TwitterClient |
getInstance()
Gets the single instance of TwitterClient.
|
boolean |
isConnected()
Checks if the client is connected
|
boolean |
isEnabled()
Check whether this client is actually enabled
There is no hard definition, what enabled means.
|
boolean |
publishOffer(URL permalink,
Long offerId)
Publish an offer
|
boolean |
reconnect()
Reconnect the client.
|
boolean |
send(URL url,
String message)
Send a message
|
public static final TwitterClient getInstance()
public boolean isConnected()
I_SocialMediaClientisConnected in interface I_SocialMediaClientpublic boolean publishOffer(URL permalink, Long offerId)
I_SocialMediaClientpublishOffer in interface I_SocialMediaClientpermalink - a permalink to the frontend-view of the offerofferId - the offer IDpublic boolean reconnect()
I_SocialMediaClientreconnect in interface I_SocialMediaClientpublic boolean send(URL url, String message)
I_SocialMediaClientsend in interface I_SocialMediaClienturl - Any URL for further information about the messagemessage - the message itselfpublic boolean isEnabled()
I_SocialMediaClientisEnabled in interface I_SocialMediaClientpublic String getCssClass()
I_SocialMediaClientgetCssClass in interface I_SocialMediaClientCopyright © 2016 Fraunhofer FOKUS. All rights reserved.