com.liferay.portal.liveusers
Class LiveUsers
java.lang.Object
com.liferay.portal.liveusers.LiveUsers
public class LiveUsers
- extends Object
Method Summary |
static void |
addClusterNode(String clusterNodeId,
Map<Long,Map<Long,Set<String>>> clusterUsers)
|
static void |
deleteGroup(long companyId,
long groupId)
|
static Set<Long> |
getGroupUsers(long companyId,
long groupId)
|
static int |
getGroupUsersCount(long companyId,
long groupId)
|
static Map<Long,Map<Long,Set<String>>> |
getLocalClusterUsers()
|
static Map<String,UserTracker> |
getSessionUsers(long companyId)
|
static int |
getSessionUsersCount(long companyId)
|
static UserTracker |
getUserTracker(long companyId,
String sessionId)
|
static void |
joinGroup(long companyId,
long groupId,
long userId)
|
static void |
joinGroup(long companyId,
long groupId,
long[] userIds)
|
static void |
leaveGroup(long companyId,
long groupId,
long userId)
|
static void |
leaveGroup(long companyId,
long groupId,
long[] userIds)
|
static void |
removeClusterNode(String clusterNodeId)
|
static void |
signIn(String clusterNodeId,
long companyId,
long userId,
String sessionId,
String remoteAddr,
String remoteHost,
String userAgent)
|
static void |
signOut(String clusterNodeId,
long companyId,
long userId,
String sessionId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addClusterNode
public static void addClusterNode(String clusterNodeId,
Map<Long,Map<Long,Set<String>>> clusterUsers)
throws SystemException
- Throws:
SystemException
deleteGroup
public static void deleteGroup(long companyId,
long groupId)
getGroupUsers
public static Set<Long> getGroupUsers(long companyId,
long groupId)
getGroupUsersCount
public static int getGroupUsersCount(long companyId,
long groupId)
getLocalClusterUsers
public static Map<Long,Map<Long,Set<String>>> getLocalClusterUsers()
throws SystemException
- Throws:
SystemException
getSessionUsers
public static Map<String,UserTracker> getSessionUsers(long companyId)
getSessionUsersCount
public static int getSessionUsersCount(long companyId)
getUserTracker
public static UserTracker getUserTracker(long companyId,
String sessionId)
joinGroup
public static void joinGroup(long companyId,
long groupId,
long userId)
joinGroup
public static void joinGroup(long companyId,
long groupId,
long[] userIds)
leaveGroup
public static void leaveGroup(long companyId,
long groupId,
long userId)
leaveGroup
public static void leaveGroup(long companyId,
long groupId,
long[] userIds)
removeClusterNode
public static void removeClusterNode(String clusterNodeId)
throws SystemException
- Throws:
SystemException
signIn
public static void signIn(String clusterNodeId,
long companyId,
long userId,
String sessionId,
String remoteAddr,
String remoteHost,
String userAgent)
throws SystemException
- Throws:
SystemException
signOut
public static void signOut(String clusterNodeId,
long companyId,
long userId,
String sessionId)
throws SystemException
- Throws:
SystemException