org.opencrx.application.twitter
Class TwitterUtils

java.lang.Object
  extended by org.opencrx.application.twitter.TwitterUtils

public abstract class TwitterUtils
extends Object


Field Summary
static String CONFIGURATION_ID
           
static int MESSAGE_SIZE
           
static String PROPERTY_OAUTH_CONSUMER_KEY
           
static String PROPERTY_OAUTH_CONSUMER_SECRET
           
 
Constructor Summary
TwitterUtils()
           
 
Method Summary
static ComponentConfiguration getComponentConfiguration(String providerName, String segmentName, javax.jdo.PersistenceManager rootPm)
           
static String getConsumerKey(TwitterAccount twitterAccount, ComponentConfiguration configuration)
           
static String getConsumerSecret(TwitterAccount twitterAccount, ComponentConfiguration configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIGURATION_ID

public static final String CONFIGURATION_ID
See Also:
Constant Field Values

MESSAGE_SIZE

public static final int MESSAGE_SIZE
See Also:
Constant Field Values

PROPERTY_OAUTH_CONSUMER_KEY

public static final String PROPERTY_OAUTH_CONSUMER_KEY
See Also:
Constant Field Values

PROPERTY_OAUTH_CONSUMER_SECRET

public static final String PROPERTY_OAUTH_CONSUMER_SECRET
See Also:
Constant Field Values
Constructor Detail

TwitterUtils

public TwitterUtils()
Method Detail

getComponentConfiguration

public static ComponentConfiguration getComponentConfiguration(String providerName,
                                                               String segmentName,
                                                               javax.jdo.PersistenceManager rootPm)
                                                        throws ServiceException
Throws:
ServiceException

getConsumerKey

public static String getConsumerKey(TwitterAccount twitterAccount,
                                    ComponentConfiguration configuration)

getConsumerSecret

public static String getConsumerSecret(TwitterAccount twitterAccount,
                                       ComponentConfiguration configuration)


This software is published under the BSD license. Copyright © 2003-2012, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.