nl.surfnet.coin.portal.service.impl
Class InviteServiceHibernateImpl

java.lang.Object
  extended by nl.surfnet.coin.shared.service.GenericServiceHibernateImpl<Invite>
      extended by nl.surfnet.coin.portal.service.impl.InviteServiceHibernateImpl
All Implemented Interfaces:
InviteService, nl.surfnet.coin.shared.service.GenericService<Invite>

@Component(value="inviteService")
public class InviteServiceHibernateImpl
extends nl.surfnet.coin.shared.service.GenericServiceHibernateImpl<Invite>
implements InviteService

Common shared code for SharedGadget and SharedTab.


Field Summary
static long RECENT_MS
          The amount of miliseconds that count as recent (30 days).
 
Constructor Summary
InviteServiceHibernateImpl()
           
 
Method Summary
 List<Invite> findRecentByInvitee(String inviteeId, InviteStatus status)
          Find the recent invites by invitee Identifier
 int getCountRecentByInvitee(String ownerId, InviteStatus status)
           
 
Methods inherited from class nl.surfnet.coin.shared.service.GenericServiceHibernateImpl
createCriteria, delete, detachFromSession, findAll, findByCriteria, findByCriteriaOrdered, findByExample, findByExample, findById, getCount, getPersistentClass, getSession, saveOrUpdate, saveOrUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nl.surfnet.coin.shared.service.GenericService
createCriteria, delete, detachFromSession, findAll, findByExample, findByExample, findById, getCount, getPersistentClass, saveOrUpdate, saveOrUpdate
 

Field Detail

RECENT_MS

public static final long RECENT_MS
The amount of miliseconds that count as recent (30 days).

See Also:
Constant Field Values
Constructor Detail

InviteServiceHibernateImpl

public InviteServiceHibernateImpl()
Method Detail

findRecentByInvitee

public List<Invite> findRecentByInvitee(String inviteeId,
                                        InviteStatus status)
Description copied from interface: InviteService
Find the recent invites by invitee Identifier

Specified by:
findRecentByInvitee in interface InviteService
Parameters:
inviteeId - String the unique identifier of an invitee
status - the InviteStatus
Returns:
List containing the Invites

getCountRecentByInvitee

public int getCountRecentByInvitee(String ownerId,
                                   InviteStatus status)
Specified by:
getCountRecentByInvitee in interface InviteService


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.