public class LiveUsers
extends Object
Modifier and Type | Method and Description |
---|---|
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,com.liferay.portal.kernel.model.UserTracker> |
getSessionUsers(long companyId) |
static int |
getSessionUsersCount(long companyId) |
static com.liferay.portal.kernel.model.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) |
public static void addClusterNode(String clusterNodeId, Map<Long,Map<Long,Set<String>>> clusterUsers)
public static void deleteGroup(long companyId, long groupId)
public static Set<Long> getGroupUsers(long companyId, long groupId)
public static int getGroupUsersCount(long companyId, long groupId)
public static Map<Long,Map<Long,Set<String>>> getLocalClusterUsers()
public static Map<String,com.liferay.portal.kernel.model.UserTracker> getSessionUsers(long companyId)
public static int getSessionUsersCount(long companyId)
public static com.liferay.portal.kernel.model.UserTracker getUserTracker(long companyId, String sessionId)
public static void joinGroup(long companyId, long groupId, long userId)
public static void joinGroup(long companyId, long groupId, long[] userIds)
public static void leaveGroup(long companyId, long groupId, long userId)
public static void leaveGroup(long companyId, long groupId, long[] userIds)
public static void removeClusterNode(String clusterNodeId)
public static void signIn(String clusterNodeId, long companyId, long userId, String sessionId, String remoteAddr, String remoteHost, String userAgent)
public static void signOut(String clusterNodeId, long companyId, long userId, String sessionId)