|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.socialnetworkintegration.SocialNetworkApplication
public class SocialNetworkApplication
Represents a specific application/portal in a social network.
Field Summary | |
---|---|
static String |
ENTITY_NAME
This entity name. |
Method Summary | |
---|---|
SocialNetworkAccount |
addAccount(boolean enabled,
boolean isAllServiceInstances)
Adds an account to this application. |
Set<SocialNetworkAccount> |
getAccounts()
Returns the accounts. |
String |
getConsumerKey()
Returns the consumerKey for this application in this network. |
String |
getConsumerSecret()
Returns the consumerSecret token to authenticate this application in this social network. |
String |
getId()
Returns the application's id. |
String |
getName()
Returns the name of the application. |
SocialNetwork |
getSocialNetwork()
Returns the social network the application is associated to. |
boolean |
isEnabled()
Retuns if the application is enabled. |
void |
setAccounts(Set<SocialNetworkAccount> accounts)
Sets the accounts. |
void |
setConsumerKey(String consumerKey)
Sets the consumerKey for this application in this social network. |
void |
setConsumerSecret(String consumerSecret)
Set the consumerSecret for this application to authenticate in this social network. |
void |
setEnabled(boolean enabled)
Sets if the application is enabled. |
void |
setName(String name)
Sets the name of this application. |
void |
setSocialNetwork(SocialNetwork socialNetwork)
Sets the social network the application belongs to. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ENTITY_NAME
Method Detail |
---|
public String getConsumerKey()
public String getConsumerSecret()
public String getId()
public String getName()
public SocialNetwork getSocialNetwork()
public boolean isEnabled()
public Set<SocialNetworkAccount> getAccounts()
public void setConsumerKey(String consumerKey)
consumerKey
- the consumer key.public void setConsumerSecret(String consumerSecret)
consumerSecret
- the consumer secret.public void setEnabled(boolean enabled)
enabled
- if the application is enabled.public void setName(String name)
name
- the name.public void setSocialNetwork(SocialNetwork socialNetwork)
socialNetwork
- the social network.public void setAccounts(Set<SocialNetworkAccount> accounts)
accounts
- the accounts value to set.public SocialNetworkAccount addAccount(boolean enabled, boolean isAllServiceInstances)
enabled
- the account is enabled.isAllServiceInstances
- the account can publish to all service instances.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |