public class MainService extends Object implements org.red5.server.api.service.IPendingServiceCallback
Modifier and Type | Field and Description |
---|---|
static String |
EXTERNAL_USER_TYPE_LDAP |
Constructor and Description |
---|
MainService() |
Modifier and Type | Method and Description |
---|---|
org.apache.openmeetings.db.entity.room.Client |
getCurrentRoomClient(String SID) |
List<org.apache.openmeetings.db.entity.basic.Configuration> |
getGeneralOptions(String SID) |
org.apache.openmeetings.db.entity.server.Sessiondata |
getsessiondata()
load this session id before doing anything else
|
org.apache.openmeetings.db.entity.user.User |
getUser(String SID,
long userId)
gets a user by its SID
|
List<org.apache.openmeetings.db.entity.user.Userdata> |
getUserdata(String SID) |
boolean |
isRoomAllowedToUser(org.apache.openmeetings.db.entity.room.Room r,
org.apache.openmeetings.db.entity.user.User u) |
Long |
loginUserByRemote(String SID)
Attention! This SID is NOT the default session id! its the Session id
retrieved in the call from the SOAP Gateway!
|
org.apache.openmeetings.db.entity.user.User |
loginWicket(String SID,
String wicketSID,
Long wicketroomid) |
Long |
logoutUser(String SID)
clear this session id
|
void |
resultReceived(org.red5.server.api.service.IPendingServiceCall arg0) |
Object |
secureLoginByRemote(String SID,
String secureHash) |
Long |
setCurrentUserGroup(String SID,
Long groupId) |
Long |
setUserNickName(String firstname,
String lastname,
String email)
Function is called if the user loggs in via a secureHash and sets the
param showNickNameDialog in the Object SOAPLogin to true the user gets
displayed an additional dialog to enter his nickname
|
public static final String EXTERNAL_USER_TYPE_LDAP
public org.apache.openmeetings.db.entity.user.User getUser(String SID, long userId)
SID
- userId
- public org.apache.openmeetings.db.entity.room.Client getCurrentRoomClient(String SID)
public org.apache.openmeetings.db.entity.server.Sessiondata getsessiondata()
public boolean isRoomAllowedToUser(org.apache.openmeetings.db.entity.room.Room r, org.apache.openmeetings.db.entity.user.User u)
public org.apache.openmeetings.db.entity.user.User loginWicket(String SID, String wicketSID, Long wicketroomid)
public Long setUserNickName(String firstname, String lastname, String email)
firstname
- lastname
- email
- public Long loginUserByRemote(String SID)
SID
- public Long logoutUser(String SID)
SID
- public List<org.apache.openmeetings.db.entity.basic.Configuration> getGeneralOptions(String SID)
public void resultReceived(org.red5.server.api.service.IPendingServiceCall arg0)
resultReceived
in interface org.red5.server.api.service.IPendingServiceCallback
Copyright © 2012–2016 Apache Software Foundation. All rights reserved.