@Transactional public class RoomManager extends Object
Constructor and Description |
---|
RoomManager() |
Modifier and Type | Method and Description |
---|---|
List<org.apache.openmeetings.db.entity.room.Room> |
getAllRooms() |
List<org.apache.openmeetings.db.entity.room.RoomGroup> |
getGroupsByRoom(long roomId) |
List<org.apache.openmeetings.db.entity.room.RoomGroup> |
getRoomGroupByGroupId(long groupId)
Gets all rooms by an group
|
org.apache.openmeetings.db.dto.basic.SearchResult<org.apache.openmeetings.db.entity.room.RoomGroup> |
getRoomGroupByGroupId(long groupId,
int start,
int max,
String orderby,
boolean asc) |
List<org.apache.openmeetings.db.entity.room.RoomGroup> |
getRoomGroupByGroupIdAndRoomType(long groupId,
long typeId)
get List of RoomGroup by group and roomtype
|
org.apache.openmeetings.db.dto.basic.SearchResult<org.apache.openmeetings.db.entity.room.Room> |
getRooms(int start,
int max,
String orderby,
boolean asc,
String search) |
List<org.apache.openmeetings.db.entity.room.Room> |
getRoomsByIds(List<Long> roomIds) |
List<org.apache.openmeetings.db.entity.room.Room> |
getRoomsInternatl(int start,
int max,
String orderby,
boolean asc)
gets a list of all availible rooms
|
List<org.apache.openmeetings.db.entity.room.Room> |
getRoomsInternatlByHQL(int start,
int max,
String orderby,
boolean asc,
String search)
gets a list of all availible rooms
|
List<org.apache.openmeetings.db.entity.room.Room> |
getRoomsInternatlbyType(int start,
int max,
String orderby,
boolean asc,
String externalType) |
org.apache.openmeetings.db.dto.basic.SearchResult<org.apache.openmeetings.db.entity.room.Room> |
getRoomsWithCurrentUsers(int start,
int max,
String orderby,
boolean asc) |
List<org.apache.openmeetings.db.entity.room.Room> |
getRoomsWithCurrentUsersByList(int start,
int max,
String orderby,
boolean asc) |
List<org.apache.openmeetings.db.entity.room.Room> |
getRoomsWithCurrentUsersByListAndType(int start,
int max,
String orderby,
boolean asc,
String externalType) |
Integer |
getSipConferenceMembersNumber(Long roomId)
Returns number of SIP conference participants
|
Long |
selectMaxFromRooms(String search) |
Integer |
selectMaxFromRoomsByGroup(long groupId) |
public org.apache.openmeetings.db.dto.basic.SearchResult<org.apache.openmeetings.db.entity.room.Room> getRooms(int start, int max, String orderby, boolean asc, String search)
public org.apache.openmeetings.db.dto.basic.SearchResult<org.apache.openmeetings.db.entity.room.Room> getRoomsWithCurrentUsers(int start, int max, String orderby, boolean asc)
public List<org.apache.openmeetings.db.entity.room.Room> getRoomsWithCurrentUsersByList(int start, int max, String orderby, boolean asc)
public List<org.apache.openmeetings.db.entity.room.Room> getRoomsWithCurrentUsersByListAndType(int start, int max, String orderby, boolean asc, String externalType)
public List<org.apache.openmeetings.db.entity.room.Room> getRoomsInternatl(int start, int max, String orderby, boolean asc)
user_level
- start
- max
- orderby
- asc
- public List<org.apache.openmeetings.db.entity.room.Room> getRoomsInternatlByHQL(int start, int max, String orderby, boolean asc, String search)
user_level
- start
- max
- orderby
- asc
- public List<org.apache.openmeetings.db.entity.room.Room> getAllRooms()
public List<org.apache.openmeetings.db.entity.room.Room> getRoomsInternatlbyType(int start, int max, String orderby, boolean asc, String externalType)
public List<org.apache.openmeetings.db.entity.room.RoomGroup> getGroupsByRoom(long roomId)
public List<org.apache.openmeetings.db.entity.room.Room> getRoomsByIds(List<Long> roomIds)
public Integer getSipConferenceMembersNumber(Long roomId)
roomId
- id of roompublic List<org.apache.openmeetings.db.entity.room.RoomGroup> getRoomGroupByGroupIdAndRoomType(long groupId, long typeId)
groupId
- typeId
- public List<org.apache.openmeetings.db.entity.room.RoomGroup> getRoomGroupByGroupId(long groupId)
groupId
- public org.apache.openmeetings.db.dto.basic.SearchResult<org.apache.openmeetings.db.entity.room.RoomGroup> getRoomGroupByGroupId(long groupId, int start, int max, String orderby, boolean asc)
public Integer selectMaxFromRoomsByGroup(long groupId)
Copyright © 2012–2017 Apache Software Foundation. All rights reserved.