Class InvitationDao
- java.lang.Object
-
- org.apache.openmeetings.db.dao.room.InvitationDao
-
- All Implemented Interfaces:
IDataProviderDao<Invitation>
@Repository @Transactional public class InvitationDao extends Object implements IDataProviderDao<Invitation>
-
-
Constructor Summary
Constructors Constructor Description InvitationDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount()Count the number of instances ofIDataProviderDaolongcount(String search)Count the number of instances ofIDataProviderDaolongcountGroup(String search, Long userId)longcountUser(String search, Long userId)voiddelete(Invitation entity, Long userId)Delete an instance ofIDataProviderDaoList<Invitation>get(long start, long count)Get a list of instances ofIDataProviderDaoInvitationget(Long invId)Get an instance of anIDataProviderDaoList<Invitation>get(String search, long start, long count, String order)Get a list of instances ofIDataProviderDaoInvitationgetByHash(String hash, boolean hidePass)List<Invitation>getGroup(String search, long start, long count, Long userId, String order)List<Invitation>getUser(String search, long start, long count, Long userId, String order)voidmarkUsed(Invitation i)Invitationupdate(Invitation invitation)Invitationupdate(Invitation entity, 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
-
-
-
-
Method Detail
-
get
public Invitation get(Long invId)
Description copied from interface:IDataProviderDaoGet an instance of anIDataProviderDao- Specified by:
getin interfaceIDataProviderDao<Invitation>- Parameters:
invId- - id of instance to retrieve- Returns:
- instance with the id gived
-
get
public List<Invitation> get(long start, long count)
Description copied from interface:IDataProviderDaoGet a list of instances ofIDataProviderDao- Specified by:
getin interfaceIDataProviderDao<Invitation>- Parameters:
start- - the start to range to retrievecount- - maximum instance count to retrieve- Returns:
- list of instances in the range specified
-
get
public List<Invitation> get(String search, long start, long count, String order)
Description copied from interface:IDataProviderDaoGet a list of instances ofIDataProviderDao- Specified by:
getin interfaceIDataProviderDao<Invitation>- 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:IDataProviderDaoCount the number of instances ofIDataProviderDao- Specified by:
countin interfaceIDataProviderDao<Invitation>- Returns:
- count of instances
-
count
public long count(String search)
Description copied from interface:IDataProviderDaoCount the number of instances ofIDataProviderDao- Specified by:
countin interfaceIDataProviderDao<Invitation>- Parameters:
search- - string search criteria to filter entities- Returns:
- count of instances satisfying given search criteria
-
getGroup
public List<Invitation> getGroup(String search, long start, long count, Long userId, String order)
-
getUser
public List<Invitation> getUser(String search, long start, long count, Long userId, String order)
-
update
public Invitation update(Invitation invitation)
-
update
public Invitation update(Invitation entity, Long userId)
Description copied from interface:IDataProviderDaoUpdate an instance ofIDataProviderDao- Specified by:
updatein interfaceIDataProviderDao<Invitation>- Parameters:
entity- - entity to be updateduserId- - user performed update- Returns:
- - updated entity
-
delete
public void delete(Invitation entity, Long userId)
Description copied from interface:IDataProviderDaoDelete an instance ofIDataProviderDao- Specified by:
deletein interfaceIDataProviderDao<Invitation>- Parameters:
entity- - entity to be deleteduserId- - user performed delete
-
markUsed
public void markUsed(Invitation i)
-
getByHash
public Invitation getByHash(String hash, boolean hidePass)
-
-