Class ExtraMenuDao
java.lang.Object
org.apache.openmeetings.db.dao.room.ExtraMenuDao
- All Implemented Interfaces:
IDataProviderDao<ExtraMenu>
,IGroupAdminDataProviderDao<ExtraMenu>
@Repository
@Transactional
public class ExtraMenuDao
extends Object
implements IGroupAdminDataProviderDao<ExtraMenu>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
adminCount
(String search, Long adminId) Count the number of instances ofIGroupAdminDataProviderDao
adminGet
(String search, Long adminId, long start, long count, org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort) Get a list of instances ofIGroupAdminDataProviderDao
long
count()
Count the number of instances ofIDataProviderDao
long
Count the number of instances ofIDataProviderDao
void
Delete an instance ofIDataProviderDao
get
(long id) get
(long start, long count) Get a list of instances ofIDataProviderDao
Get an instance of anIDataProviderDao
get
(String search, long start, long count, org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort) Get a list of instances ofIDataProviderDao
getByGroups
(List<Long> groups) Update an instance ofIDataProviderDao
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.openmeetings.db.dao.IGroupAdminDataProviderDao
adminCount, adminGet
-
Constructor Details
-
ExtraMenuDao
public ExtraMenuDao()
-
-
Method Details
-
get
Description copied from interface:IDataProviderDao
Get an instance of anIDataProviderDao
- Specified by:
get
in interfaceIDataProviderDao<ExtraMenu>
- Parameters:
id
- - id of instance to retrieve- Returns:
- instance with the id gived
-
get
- Specified by:
get
in interfaceIDataProviderDao<ExtraMenu>
-
get
Description copied from interface:IDataProviderDao
Get a list of instances ofIDataProviderDao
- Specified by:
get
in interfaceIDataProviderDao<ExtraMenu>
- Parameters:
start
- - the start to range to retrievecount
- - maximum instance count to retrieve- Returns:
- list of instances in the range specified
-
get
public List<ExtraMenu> get(String search, long start, long count, org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort) Description copied from interface:IDataProviderDao
Get a list of instances ofIDataProviderDao
- Specified by:
get
in interfaceIDataProviderDao<ExtraMenu>
- 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
-
getByGroups
-
count
public long count()Description copied from interface:IDataProviderDao
Count the number of instances ofIDataProviderDao
- Specified by:
count
in interfaceIDataProviderDao<ExtraMenu>
- Returns:
- count of instances
-
count
Description copied from interface:IDataProviderDao
Count the number of instances ofIDataProviderDao
- Specified by:
count
in interfaceIDataProviderDao<ExtraMenu>
- Parameters:
search
- - string search criteria to filter entities- Returns:
- count of instances satisfying given search criteria
-
update
Description copied from interface:IDataProviderDao
Update an instance ofIDataProviderDao
- Specified by:
update
in interfaceIDataProviderDao<ExtraMenu>
- Parameters:
entity
- - entity to be updateduserId
- - user performed update- Returns:
- - updated entity
-
delete
Description copied from interface:IDataProviderDao
Delete an instance ofIDataProviderDao
- Specified by:
delete
in interfaceIDataProviderDao<ExtraMenu>
- Parameters:
entity
- - entity to be deleteduserId
- - user performed delete
-
adminGet
public List<ExtraMenu> adminGet(String search, Long adminId, long start, long count, org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort) Description copied from interface:IGroupAdminDataProviderDao
Get a list of instances ofIGroupAdminDataProviderDao
- Specified by:
adminGet
in interfaceIGroupAdminDataProviderDao<ExtraMenu>
- 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
-
adminCount
Description copied from interface:IGroupAdminDataProviderDao
Count the number of instances ofIGroupAdminDataProviderDao
- Specified by:
adminCount
in interfaceIGroupAdminDataProviderDao<ExtraMenu>
- Parameters:
search
- - string search criteria to filter entitiesadminId
- - id of group admin user- Returns:
- count of instances satisfying given search criteria
-