Class RoomDao
java.lang.Object
org.apache.openmeetings.db.dao.room.RoomDao
- All Implemented Interfaces:
IDataProviderDao<Room>,IGroupAdminDataProviderDao<Room>
@Repository
@Transactional
public class RoomDao
extends Object
implements IGroupAdminDataProviderDao<Room>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongadminCount(String search, Long adminId) Count the number of instances ofIGroupAdminDataProviderDaoadminGet(String search, Long adminId, long start, long count, org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort) Get a list of instances ofIGroupAdminDataProviderDaolongcount()Count the number of instances ofIDataProviderDaolongCount the number of instances ofIDataProviderDaovoidDelete an instance ofIDataProviderDaoget()get(long start, long count) Get a list of instances ofIDataProviderDaoGet an instance of anIDataProviderDaoget(String search, long start, long count, org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort) Get a list of instances ofIDataProviderDaogetAppointedRoomsByUser(long userId) getExternal(String externalType, String externalId) getExternal(Room.Type type, String externalType, String externalId) getFiles()getGroupRooms(long groupId) getMyRooms(Long userId, String confLbl, String restrLbl) getPublicRooms(Room.Type type) getSipRooms(List<Long> ids) getUserRoom(Long ownerId, Room.Type type, String name) Update an instance ofIDataProviderDaoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.openmeetings.db.dao.IDataProviderDao
getMethods inherited from interface org.apache.openmeetings.db.dao.IGroupAdminDataProviderDao
adminCount, adminGet
-
Field Details
-
GRP_MODERATORS
- See Also:
-
GRP_GROUPS
- See Also:
-
GRP_FILES
- See Also:
-
-
Constructor Details
-
RoomDao
public RoomDao()
-
-
Method Details
-
get
Description copied from interface:IDataProviderDaoGet an instance of anIDataProviderDao- Specified by:
getin interfaceIDataProviderDao<Room>- Parameters:
id- - id of instance to retrieve- Returns:
- instance with the id gived
-
get
-
get
-
get
-
get
Description copied from interface:IDataProviderDaoGet a list of instances ofIDataProviderDao- Specified by:
getin interfaceIDataProviderDao<Room>- Parameters:
start- - the start to range to retrievecount- - maximum instance count to retrieve- Returns:
- list of instances in the range specified
-
get
public List<Room> get(String search, long start, long count, org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort) Description copied from interface:IDataProviderDaoGet a list of instances ofIDataProviderDao- Specified by:
getin interfaceIDataProviderDao<Room>- Parameters:
search- - string search criteria to filter entitiesstart- - the start to range to retrievecount- - maximum instance count to retrievesort- - column and sort order- Returns:
- list of instances in the range specified
-
adminGet
public List<Room> adminGet(String search, Long adminId, long start, long count, org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort) Description copied from interface:IGroupAdminDataProviderDaoGet a list of instances ofIGroupAdminDataProviderDao- Specified by:
adminGetin interfaceIGroupAdminDataProviderDao<Room>- Parameters:
search- - string search criteria to filter entitiesadminId- - id of group admin userstart- - the start to range to retrievecount- - maximum instance count to retrievesort- - column and sort order- Returns:
- list of instances in the range specified
-
count
public long count()Description copied from interface:IDataProviderDaoCount the number of instances ofIDataProviderDao- Specified by:
countin interfaceIDataProviderDao<Room>- Returns:
- count of instances
-
count
Description copied from interface:IDataProviderDaoCount the number of instances ofIDataProviderDao- Specified by:
countin interfaceIDataProviderDao<Room>- Parameters:
search- - string search criteria to filter entities- Returns:
- count of instances satisfying given search criteria
-
adminCount
Description copied from interface:IGroupAdminDataProviderDaoCount the number of instances ofIGroupAdminDataProviderDao- Specified by:
adminCountin interfaceIGroupAdminDataProviderDao<Room>- Parameters:
search- - string search criteria to filter entitiesadminId- - id of group admin user- Returns:
- count of instances satisfying given search criteria
-
getPublicRooms
-
getPublicRooms
-
getSipRooms
-
getGroupRooms
-
getAppointedRoomsByUser
-
update
Description copied from interface:IDataProviderDaoUpdate an instance ofIDataProviderDao- Specified by:
updatein interfaceIDataProviderDao<Room>- Parameters:
entity- - entity to be updateduserId- - user performed update- Returns:
- - updated entity
-
delete
Description copied from interface:IDataProviderDaoDelete an instance ofIDataProviderDao- Specified by:
deletein interfaceIDataProviderDao<Room>- Parameters:
entity- - entity to be deleteduserId- - user performed delete
-
getUserRoom
-
getExternal
-
getExternal
-
getRecent
-
getFiles
-
getGroups
-
getMyRooms
-