@Component(value="inviteService") public class InviteServiceHibernateImpl extends nl.surfnet.coin.shared.service.GenericServiceHibernateImpl<Invite> implements InviteService
SharedGadget
and SharedTab.| Modifier and Type | Field and Description |
|---|---|
static long |
RECENT_MS
The amount of miliseconds that count as recent (30 days).
|
| Constructor and Description |
|---|
InviteServiceHibernateImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<Invite> |
findRecentByInvitee(String inviteeId,
InviteStatus status)
Find the recent invites by invitee Identifier
|
int |
getCountRecentByInvitee(String ownerId,
InviteStatus status) |
createCriteria, delete, detachFromSession, findAll, findByCriteria, findByCriteriaOrdered, findByExample, findByExample, findById, getCount, getPersistentClass, getSession, saveOrUpdate, saveOrUpdatepublic static final long RECENT_MS
public List<Invite> findRecentByInvitee(String inviteeId, InviteStatus status)
InviteServicefindRecentByInvitee in interface InviteServiceinviteeId - String the unique identifier of an inviteestatus - the InviteStatusList containing the Invitespublic int getCountRecentByInvitee(String ownerId, InviteStatus status)
getCountRecentByInvitee in interface InviteServiceCopyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.