java.lang.Object
org.apache.openmeetings.db.dao.user.GroupUserDao
- All Implemented Interfaces:
- IDataProviderDao<GroupUser>
@Repository
@Transactional
public class GroupUserDao
extends Object
implements IDataProviderDao<GroupUser>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongcount()Count the number of instances ofIDataProviderDaolongcount(long groupId) longCount the number of instances ofIDataProviderDaovoidDelete an instance ofIDataProviderDaoget(long start, long count) Get a list of instances ofIDataProviderDaoget(long groupId, long start, long count) get(long groupId, String search, long start, long count, org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort) Get 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 ofIDataProviderDaogetByGroupAndUser(Long groupId, Long userId) longgetGroupUserCountAddedAfter(Long id, Date date) booleanisUserInGroup(long groupId, long userId) Update an instance ofIDataProviderDaoMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.openmeetings.db.dao.IDataProviderDaoget
- 
Constructor Details- 
GroupUserDaopublic GroupUserDao()
 
- 
- 
Method Details- 
getDescription copied from interface:IDataProviderDaoGet an instance of anIDataProviderDao- Specified by:
- getin interface- IDataProviderDao<GroupUser>
- Parameters:
- id- - id of instance to retrieve
- Returns:
- instance with the id gived
 
- 
getDescription copied from interface:IDataProviderDaoGet a list of instances ofIDataProviderDao- Specified by:
- getin interface- IDataProviderDao<GroupUser>
- Parameters:
- start- - the start to range to retrieve
- count- - maximum instance count to retrieve
- Returns:
- list of instances in the range specified
 
- 
getpublic List<GroupUser> 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 interface- IDataProviderDao<GroupUser>
- Parameters:
- search- - string search criteria to filter entities
- start- - the start to range to retrieve
- count- - maximum instance count to retrieve
- sort- - column and sort order
- Returns:
- list of instances in the range specified
 
- 
get
- 
get
- 
getByGroupAndUser
- 
isUserInGrouppublic boolean isUserInGroup(long groupId, long userId) 
- 
countpublic long count()Description copied from interface:IDataProviderDaoCount the number of instances ofIDataProviderDao- Specified by:
- countin interface- IDataProviderDao<GroupUser>
- Returns:
- count of instances
 
- 
countDescription copied from interface:IDataProviderDaoCount the number of instances ofIDataProviderDao- Specified by:
- countin interface- IDataProviderDao<GroupUser>
- Parameters:
- search- - string search criteria to filter entities
- Returns:
- count of instances satisfying given search criteria
 
- 
countpublic long count(long groupId) 
- 
updateDescription copied from interface:IDataProviderDaoUpdate an instance ofIDataProviderDao- Specified by:
- updatein interface- IDataProviderDao<GroupUser>
- Parameters:
- entity- - entity to be updated
- userId- - user performed update
- Returns:
- - updated entity
 
- 
deleteDescription copied from interface:IDataProviderDaoDelete an instance ofIDataProviderDao- Specified by:
- deletein interface- IDataProviderDao<GroupUser>
- Parameters:
- entity- - entity to be deleted
- userId- - user performed delete
 
- 
getGroupUserCountAddedAfter
- 
getGroupModerators
 
-