|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.socialnetworkintegration.SocialNetwork
public class SocialNetwork
Represents a social network.
Field Summary | |
---|---|
static String |
ENTITY_NAME
This entity name. |
Constructor Summary | |
---|---|
SocialNetwork()
|
Method Summary | |
---|---|
SocialNetworkApplication |
addApplication(String consumerKey,
String consumerSecret,
boolean enabled,
String name)
Adds an application to this social network. |
Set<SocialNetworkApplication> |
getApplications()
Returns the applications. |
String |
getId()
Returns the Id of the social network. |
int |
getMessageMaxLength()
Returns the maximum size a message may have in this social network. |
String |
getName()
Returns the name of the social network. |
String |
getPermissions()
Retrieves needed permissions when registering application to an account in this social network. |
String |
retrievePermissionURL()
Returns the needed URL to retrieve permission tokens. |
void |
setApplications(Set<SocialNetworkApplication> applications)
Sets the applications. |
void |
setMessageMaxLength(int maxLength)
Sets the maximum size a message may have in this social network. |
void |
setName(String name)
Sets the name of the social network. |
void |
setPermissions(String permissions)
Sets value of needed permissions when registering application to an account in this social network. |
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
Constructor Detail |
---|
public SocialNetwork()
Method Detail |
---|
public String getId()
public int getMessageMaxLength()
public String getName()
public String getPermissions()
public Set<SocialNetworkApplication> getApplications()
public String retrievePermissionURL()
public void setMessageMaxLength(int maxLength)
maxLength
- the maximum length.public void setName(String name)
name
- the name.public void setPermissions(String permissions)
permissions
- the permissions.public void setApplications(Set<SocialNetworkApplication> applications)
applications
- the applications value to set.public SocialNetworkApplication addApplication(String consumerKey, String consumerSecret, boolean enabled, String name)
consumerKey
- the consumer key.consumerSecret
- the consumer secret.enabled
- the application is enabledname
- the name.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |