@Repository @Transactional public class GroupUserDao extends Object implements IDataProviderDao<GroupUser>
| コンストラクタと説明 |
|---|
GroupUserDao() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
long |
count()
Count the number of instances of
T |
long |
count(long groupId) |
long |
count(String search)
Count the number of instances of
T |
void |
delete(GroupUser entity,
Long userId)
Delete an instance of
T |
List<GroupUser> |
get(int start,
int count)
Get a list of instances of
T |
GroupUser |
get(long id) |
GroupUser |
get(Long id)
Get an instance of an
T |
List<GroupUser> |
get(long groupId,
int start,
int count) |
List<GroupUser> |
get(long groupId,
String search,
int start,
int count,
String sort) |
List<GroupUser> |
get(String search,
int start,
int count,
String sort)
Get a list of instances of
T |
GroupUser |
getByGroupAndUser(Long groupId,
Long userId) |
boolean |
isUserInGroup(long groupId,
long userId) |
GroupUser |
update(GroupUser entity,
Long userId)
Update an instance of
T |
public GroupUser get(long id)
get インタフェース内 IDataProviderDao<GroupUser>public GroupUser get(Long id)
IDataProviderDaoTget インタフェース内 IDataProviderDao<GroupUser>id - - id of instance to retrievepublic List<GroupUser> get(int start, int count)
IDataProviderDaoTget インタフェース内 IDataProviderDao<GroupUser>start - - the start to range to retrievecount - - maximum instance count to retrievepublic List<GroupUser> get(String search, int start, int count, String sort)
IDataProviderDaoTget インタフェース内 IDataProviderDao<GroupUser>search - - string search criteria to filter entitiesstart - - the start to range to retrievecount - - maximum instance count to retrievesort - - column and sort orderpublic boolean isUserInGroup(long groupId,
long userId)
public long count()
IDataProviderDaoTcount インタフェース内 IDataProviderDao<GroupUser>public long count(String search)
IDataProviderDaoTcount インタフェース内 IDataProviderDao<GroupUser>search - - string search criteria to filter entitiespublic long count(long groupId)
public GroupUser update(GroupUser entity, Long userId)
IDataProviderDaoTupdate インタフェース内 IDataProviderDao<GroupUser>entity - - entity to be updateduserId - - user performed updatepublic void delete(GroupUser entity, Long userId)
IDataProviderDaoTdelete インタフェース内 IDataProviderDao<GroupUser>entity - - entity to be deleteduserId - - user performed deleteCopyright © 2012–2017 Apache Software Foundation. All rights reserved.