Class TwitterCallable
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.twitter.TwitterCallable
-
@VelocityCallable("singleton") public final class TwitterCallable extends Object
-
-
Constructor Summary
Constructors Constructor Description TwitterCallable()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCloudCalculation(int p_a, int p_b, int p_iSum, int p_iClickCount)
static de.uplanet.lucy.server.auxiliaries.twitter.TwitterListInfo
getListInfo(IServerBridgeRequest p_request, int p_iListId)
static de.uplanet.lucy.server.auxiliaries.twitter.TwitterListInfo
getListInfo(IServerBridgeRequest p_request, long p_iListId)
static de.uplanet.lucy.server.auxiliaries.twitter.TwitterListInfo
getListInfo(IServerBridgeRequest p_request, String p_strListId)
static TwitterRenderer
getRenderer(de.uplanet.jdbc.JdbcConnection p_conn, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strUserPageGuid, String p_strListPageGuid, String p_strHashTagPageGuid)
static de.uplanet.lucy.server.auxiliaries.twitter.TwitterInfo
getUserInfo(IServerBridgeRequest p_request, int p_iTwitterUserId)
static de.uplanet.lucy.server.auxiliaries.twitter.TwitterInfo
getUserInfo(IServerBridgeRequest p_request, long p_iTwitterUserId)
List<de.uplanet.lucy.server.auxiliaries.twitter.WeightedTag>
getWeightedTagsInfo(IServerBridgeRequest p_request, int p_iMaxValues)
static boolean
hasList(de.uplanet.jdbc.JdbcConnection p_conn, IServerBridgeRequest p_request, Integer p_iUserLid)
static void
initAtFilter(IServerBridgeRequest p_request, int p_iUserId)
static boolean
isFollowing(IServerBridgeRequest p_request, int p_iTwitterUserId, int p_iCurrUserId)
static boolean
isFollowing(IServerBridgeRequest p_request, String p_strTwitterUserId, Integer p_iCurrUserId)
static boolean
isListFollowing(IServerBridgeRequest p_request, String p_strRecId, int p_iCurrUserId)
static boolean
isRegistered(IServerBridgeRequest p_request, int p_iCurrUserId)
boolean
itsMe(long p_iTwitterUserId, int p_iCurrUserLid)
boolean
itsMe(long p_iTwitterUserId, Integer p_iCurrUserLid)
boolean
itsMe(String p_strRecId, Integer p_iCurrUserLid)
static boolean
itsMyList(de.uplanet.jdbc.JdbcConnection p_conn, IServerBridgeRequest p_request, int p_iListId, int p_iCurrUserId)
static boolean
itsMyList(IServerBridgeRequest p_request, String p_strListId, Integer p_iCurrUserId)
static boolean
itsMyList(IServerBridgeRequest p_request, String p_strListId, String p_strCurrUserLid)
static int
removeFromList(de.uplanet.jdbc.JdbcConnection p_conn, IServerBridgeRequest p_request, int p_iUserId, int p_iListId)
-
-
-
Method Detail
-
getListInfo
public static de.uplanet.lucy.server.auxiliaries.twitter.TwitterListInfo getListInfo(IServerBridgeRequest p_request, long p_iListId) throws Exception
- Throws:
Exception
-
getListInfo
public static de.uplanet.lucy.server.auxiliaries.twitter.TwitterListInfo getListInfo(IServerBridgeRequest p_request, int p_iListId) throws Exception
- Throws:
Exception
-
initAtFilter
public static void initAtFilter(IServerBridgeRequest p_request, int p_iUserId) throws Exception
- Throws:
Exception
-
itsMyList
public static boolean itsMyList(IServerBridgeRequest p_request, String p_strListId, String p_strCurrUserLid) throws Exception
- Throws:
Exception
-
itsMyList
public static boolean itsMyList(IServerBridgeRequest p_request, String p_strListId, Integer p_iCurrUserId) throws Exception
- Throws:
Exception
-
getListInfo
public static de.uplanet.lucy.server.auxiliaries.twitter.TwitterListInfo getListInfo(IServerBridgeRequest p_request, String p_strListId) throws Exception
- Throws:
Exception
-
getUserInfo
public static de.uplanet.lucy.server.auxiliaries.twitter.TwitterInfo getUserInfo(IServerBridgeRequest p_request, long p_iTwitterUserId) throws Exception
- Throws:
Exception
-
getUserInfo
public static de.uplanet.lucy.server.auxiliaries.twitter.TwitterInfo getUserInfo(IServerBridgeRequest p_request, int p_iTwitterUserId) throws Exception
- Throws:
Exception
-
hasList
public static boolean hasList(de.uplanet.jdbc.JdbcConnection p_conn, IServerBridgeRequest p_request, Integer p_iUserLid) throws Exception
- Throws:
Exception
-
removeFromList
public static int removeFromList(de.uplanet.jdbc.JdbcConnection p_conn, IServerBridgeRequest p_request, int p_iUserId, int p_iListId) throws Exception
- Throws:
Exception
-
itsMyList
public static boolean itsMyList(de.uplanet.jdbc.JdbcConnection p_conn, IServerBridgeRequest p_request, int p_iListId, int p_iCurrUserId) throws Exception
- Throws:
Exception
-
itsMe
public boolean itsMe(long p_iTwitterUserId, int p_iCurrUserLid)
-
itsMe
public boolean itsMe(long p_iTwitterUserId, Integer p_iCurrUserLid)
-
isFollowing
public static boolean isFollowing(IServerBridgeRequest p_request, String p_strTwitterUserId, Integer p_iCurrUserId) throws Exception
- Throws:
Exception
-
isFollowing
public static boolean isFollowing(IServerBridgeRequest p_request, int p_iTwitterUserId, int p_iCurrUserId) throws Exception
- Throws:
Exception
-
isListFollowing
public static boolean isListFollowing(IServerBridgeRequest p_request, String p_strRecId, int p_iCurrUserId) throws Exception
- Throws:
Exception
-
isRegistered
public static boolean isRegistered(IServerBridgeRequest p_request, int p_iCurrUserId) throws Exception
- Throws:
Exception
-
getWeightedTagsInfo
public List<de.uplanet.lucy.server.auxiliaries.twitter.WeightedTag> getWeightedTagsInfo(IServerBridgeRequest p_request, int p_iMaxValues) throws Exception
- Throws:
Exception
-
getCloudCalculation
public int getCloudCalculation(int p_a, int p_b, int p_iSum, int p_iClickCount)
-
getRenderer
public static TwitterRenderer getRenderer(de.uplanet.jdbc.JdbcConnection p_conn, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strUserPageGuid, String p_strListPageGuid, String p_strHashTagPageGuid)
-
-