public class UserService extends Object implements org.apache.openmeetings.db.dao.user.IUserService
User
Constructor and Description |
---|
UserService() |
Modifier and Type | Method and Description |
---|---|
org.apache.openmeetings.db.entity.user.User |
getUserById(String sid,
long userId)
get user by id, admin only
|
List<org.apache.openmeetings.db.entity.user.User> |
getUserList(String sid,
int start,
int max,
String orderby,
boolean asc)
gets a whole user-list(admin-role only)
|
boolean |
kickUserByPublicSID(String sid,
String publicSID)
Kick a user by its publicSID.
Note: This method will not perform a call to the slave, cause this call can only be invoked from inside the conference room, that means all clients are on the same server, no matter if clustered or not. |
boolean |
kickUserBySessionId(String sid,
long userId,
String sessionId) |
boolean |
kickUserByStreamId(String sid,
String streamid,
long serverId)
kicks a user from the server, also from slaves if needed, this method is
only invoked by the connection administration UI
|
String |
refreshSession(String SID)
refreshes the current SID
|
public org.apache.openmeetings.db.entity.user.User getUserById(String sid, long userId)
sid
- userId
- public String refreshSession(String SID)
SID
- public List<org.apache.openmeetings.db.entity.user.User> getUserList(String sid, int start, int max, String orderby, boolean asc)
sid
- start
- max
- orderby
- public boolean kickUserByStreamId(String sid, String streamid, long serverId)
kickUserByStreamId
in interface org.apache.openmeetings.db.dao.user.IUserService
sid
- streamid
- serverId
- 0 means the session is locally, otherwise we have to perform a
REST callpublic boolean kickUserByPublicSID(String sid, String publicSID)
sid
- publicSID
- Copyright © 2012–2017 Apache Software Foundation. All rights reserved.