lumis.socialnetworkintegration
Class SocialNetwork

Package class diagram package SocialNetwork
java.lang.Object
  extended by lumis.socialnetworkintegration.SocialNetwork
All Implemented Interfaces:
java.io.Serializable

public class SocialNetwork
extends java.lang.Object
implements java.io.Serializable

Represents a social network.

Since:
6.1.0
See Also:
Serialized Form

Field Summary
static java.lang.String ENTITY_NAME
          This entity name.
 
Constructor Summary
SocialNetwork()
           
 
Method Summary
 SocialNetworkApplication addApplication(java.lang.String consumerKey, java.lang.String consumerSecret, boolean enabled, java.lang.String name)
          Adds an application to this social network.
 java.util.Set<SocialNetworkApplication> getApplications()
          Returns the applications.
 java.lang.String getId()
          Returns the Id of the social network.
 int getMessageMaxLength()
          Returns the maximum size a message may have in this social network.
 java.lang.String getName()
          Returns the name of the social network.
 java.lang.String getPermissions()
          Retrieves needed permissions when registering application to an account in this social network.
 java.lang.String retrievePermissionURL()
          Returns the needed URL to retrieve permission tokens.
 void setApplications(java.util.Set<SocialNetworkApplication> applications)
          Sets the applications.
 void setMessageMaxLength(int maxLength)
          Sets the maximum size a message may have in this social network.
 void setName(java.lang.String name)
          Sets the name of the social network.
 void setPermissions(java.lang.String permissions)
          Sets value of needed permissions when registering application to an account in this social network.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENTITY_NAME

public static final java.lang.String ENTITY_NAME
This entity name.

Since:
6.1.0
See Also:
Constant Field Values
Constructor Detail

SocialNetwork

public SocialNetwork()
Method Detail

getId

public java.lang.String getId()
Returns the Id of the social network.

Since:
6.1.0

getMessageMaxLength

public int getMessageMaxLength()
Returns the maximum size a message may have in this social network.

Since:
6.1.0

getName

public java.lang.String getName()
Returns the name of the social network.

Since:
6.1.0

getPermissions

public java.lang.String getPermissions()
Retrieves needed permissions when registering application to an account in this social network.

Since:
6.1.0

getApplications

public java.util.Set<SocialNetworkApplication> getApplications()
Returns the applications.

Returns:
the applications
Since:
6.1.0

retrievePermissionURL

public java.lang.String retrievePermissionURL()
Returns the needed URL to retrieve permission tokens.

Since:
6.1.0

setMessageMaxLength

public void setMessageMaxLength(int maxLength)
Sets the maximum size a message may have in this social network.

Parameters:
maxLength - the maximum length.
Since:
6.1.0

setName

public void setName(java.lang.String name)
Sets the name of the social network.

Parameters:
name - the name.
Since:
6.1.0

setPermissions

public void setPermissions(java.lang.String permissions)
Sets value of needed permissions when registering application to an account in this social network.

Parameters:
permissions - the permissions.
Since:
6.1.0

setApplications

public void setApplications(java.util.Set<SocialNetworkApplication> applications)
Sets the applications.

Parameters:
applications - the applications value to set.
Since:
6.1.0

addApplication

public SocialNetworkApplication addApplication(java.lang.String consumerKey,
                                               java.lang.String consumerSecret,
                                               boolean enabled,
                                               java.lang.String name)
Adds an application to this social network.

Parameters:
consumerKey - the consumer key.
consumerSecret - the consumer secret.
enabled - the application is enabled
name - the name.
Returns:
the added application.
Since:
6.1.0

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Lumisportal  6.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.