@Repository @Transactional public class GroupDao extends Object implements IGroupAdminDataProviderDao<Group>
| コンストラクタと説明 |
|---|
GroupDao() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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(Group g,
Long userId)
Delete an instance of
T |
List<Group> |
get(Collection<Long> ids) |
List<Group> |
get(int start,
int count)
Get a list of instances of
T |
Group |
get(long id) |
Group |
get(Long id)
Get an instance of an
T |
Group |
get(String name) |
List<Group> |
get(String search,
int start,
int count,
String sort)
Get a list of instances of
T |
List<Group> |
get(String search,
Long adminId,
int start,
int count,
String order)
Get a list of instances of
T |
List<Group> |
getLimited() |
Group |
update(Group entity,
Long userId)
Update an instance of
T |
public Group get(long id)
get インタフェース内 IDataProviderDao<Group>public Group get(Long id)
IDataProviderDaoTget インタフェース内 IDataProviderDao<Group>id - - id of instance to retrievepublic List<Group> get(int start, int count)
IDataProviderDaoTget インタフェース内 IDataProviderDao<Group>start - - the start to range to retrievecount - - maximum instance count to retrievepublic List<Group> get(String search, int start, int count, String sort)
IDataProviderDaoTget インタフェース内 IDataProviderDao<Group>search - - string search criteria to filter entitiesstart - - the start to range to retrievecount - - maximum instance count to retrievesort - - column and sort orderpublic List<Group> get(String search, Long adminId, int start, int count, String order)
IGroupAdminDataProviderDaoTget インタフェース内 IGroupAdminDataProviderDao<Group>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<Group>public long count(String search)
IDataProviderDaoTcount インタフェース内 IDataProviderDao<Group>search - - string search criteria to filter entitiespublic long count(String search, Long adminId)
IGroupAdminDataProviderDaoTcount インタフェース内 IGroupAdminDataProviderDao<Group>search - - string search criteria to filter entitiesadminId - - id of group admin userpublic List<Group> get(Collection<Long> ids)
public Group update(Group entity, Long userId)
IDataProviderDaoTupdate インタフェース内 IDataProviderDao<Group>entity - - entity to be updateduserId - - user performed updatepublic void delete(Group g, Long userId)
IDataProviderDaoTdelete インタフェース内 IDataProviderDao<Group>g - - entity to be deleteduserId - - user performed deleteCopyright © 2012–2017 Apache Software Foundation. All rights reserved.