@Repository @Transactional public class RoomDao extends Object implements IGroupAdminDataProviderDao<Room>
| コンストラクタと説明 |
|---|
RoomDao() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
long |
count()
Count the number of instances of
T |
long |
count(String search)
Count the number of instances of
T |
long |
count(String search,
Long adminId)
Count the number of instances of
T |
void |
delete(Room entity,
Long userId)
Delete an instance of
T |
List<Room> |
get() |
List<Room> |
get(int start,
int count)
Get a list of instances of
T |
List<Room> |
get(List<Long> ids) |
Room |
get(long id) |
Room |
get(Long id)
Get an instance of an
T |
List<Room> |
get(String search,
int start,
int count,
String sort)
Get a list of instances of
T |
List<Room> |
get(String search,
Long adminId,
int start,
int count,
String order)
Get a list of instances of
T |
List<Room> |
getAppointedRoomsByUser(long userId) |
Room |
getExternal(Room.Type type,
String externalType,
String externalId) |
List<RoomFile> |
getFiles() |
List<Room> |
getGroupRooms(long groupId) |
List<RoomGroup> |
getGroups() |
List<Room> |
getPublicRooms() |
List<Room> |
getPublicRooms(Room.Type type) |
List<Room> |
getRecent(Long userId) |
long |
getRoomsCapacityByIds(Collection<Long> ids) |
List<Long> |
getSipRooms(List<Long> ids) |
Room |
getUserRoom(Long ownerId,
Room.Type type,
String name) |
Room |
update(Room entity,
Long userId)
Update an instance of
T |
public Room get(long id)
get インタフェース内 IDataProviderDao<Room>public Room get(Long id)
IDataProviderDaoTget インタフェース内 IDataProviderDao<Room>id - - id of instance to retrievepublic List<Room> get(int start, int count)
IDataProviderDaoTget インタフェース内 IDataProviderDao<Room>start - - the start to range to retrievecount - - maximum instance count to retrievepublic List<Room> get(String search, int start, int count, String sort)
IDataProviderDaoTget インタフェース内 IDataProviderDao<Room>search - - string search criteria to filter entitiesstart - - the start to range to retrievecount - - maximum instance count to retrievesort - - column and sort orderpublic List<Room> get(String search, Long adminId, int start, int count, String order)
IGroupAdminDataProviderDaoTget インタフェース内 IGroupAdminDataProviderDao<Room>search - - string search criteria to filter entitiesadminId - - id of group admin userstart - - the start to range to retrievecount - - maximum instance count to retrieveorder - - column and sort orderpublic long count()
IDataProviderDaoTcount インタフェース内 IDataProviderDao<Room>public long count(String search)
IDataProviderDaoTcount インタフェース内 IDataProviderDao<Room>search - - string search criteria to filter entitiespublic long count(String search, Long adminId)
IGroupAdminDataProviderDaoTcount インタフェース内 IGroupAdminDataProviderDao<Room>search - - string search criteria to filter entitiesadminId - - id of group admin userpublic long getRoomsCapacityByIds(Collection<Long> ids)
public Room update(Room entity, Long userId)
IDataProviderDaoTupdate インタフェース内 IDataProviderDao<Room>entity - - entity to be updateduserId - - user performed updatepublic void delete(Room entity, Long userId)
IDataProviderDaoTdelete インタフェース内 IDataProviderDao<Room>entity - - entity to be deleteduserId - - user performed deleteCopyright © 2012–2017 Apache Software Foundation. All rights reserved.