Class PrivateMessageFolderDao
java.lang.Object
org.apache.openmeetings.db.dao.user.PrivateMessageFolderDao
- All Implemented Interfaces:
IDataProviderDao<PrivateMessageFolder>
@Repository
@Transactional
public class PrivateMessageFolderDao
extends Object
implements IDataProviderDao<PrivateMessageFolder>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPrivateMessageFolder
(String folderName, Long userId) long
count()
Count the number of instances ofIDataProviderDao
long
Count the number of instances ofIDataProviderDao
void
delete
(PrivateMessageFolder folder, Long userId) Delete an instance ofIDataProviderDao
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> order) Get a list of instances ofIDataProviderDao
update
(PrivateMessageFolder folder, Long userId) 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.IDataProviderDao
get
-
Constructor Details
-
PrivateMessageFolderDao
public PrivateMessageFolderDao()
-
-
Method Details
-
addPrivateMessageFolder
-
addPrivateMessageFolderObj
-
get
Description copied from interface:IDataProviderDao
Get an instance of anIDataProviderDao
- Specified by:
get
in interfaceIDataProviderDao<PrivateMessageFolder>
- Parameters:
id
- - id of instance to retrieve- Returns:
- instance with the id gived
-
getByUser
-
get
Description copied from interface:IDataProviderDao
Get a list of instances ofIDataProviderDao
- Specified by:
get
in interfaceIDataProviderDao<PrivateMessageFolder>
- Parameters:
start
- - the start to range to retrievecount
- - maximum instance count to retrieve- Returns:
- list of instances in the range specified
-
update
Description copied from interface:IDataProviderDao
Update an instance ofIDataProviderDao
- Specified by:
update
in interfaceIDataProviderDao<PrivateMessageFolder>
- Parameters:
folder
- - 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<PrivateMessageFolder>
- Parameters:
folder
- - entity to be deleteduserId
- - user performed delete
-
get
public List<PrivateMessageFolder> get(String search, long start, long count, org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> order) Description copied from interface:IDataProviderDao
Get a list of instances ofIDataProviderDao
- Specified by:
get
in interfaceIDataProviderDao<PrivateMessageFolder>
- Parameters:
search
- - string search criteria to filter entitiesstart
- - the start to range to retrievecount
- - maximum instance count to retrieveorder
- - column and sort order- Returns:
- list of instances in the range specified
-
count
public long count()Description copied from interface:IDataProviderDao
Count the number of instances ofIDataProviderDao
- Specified by:
count
in interfaceIDataProviderDao<PrivateMessageFolder>
- Returns:
- count of instances
-
count
Description copied from interface:IDataProviderDao
Count the number of instances ofIDataProviderDao
- Specified by:
count
in interfaceIDataProviderDao<PrivateMessageFolder>
- Parameters:
search
- - string search criteria to filter entities- Returns:
- count of instances satisfying given search criteria
-