public interface TeamInviteService extends nl.surfnet.coin.shared.service.GenericService<Invitation>
Invitation's| Modifier and Type | Method and Description |
|---|---|
void |
cleanupExpiredInvitations()
Cleans up expired
Invitation's |
Invitation |
findAllInvitationById(String invitationId)
Searches for an
Invitation by its generated hash
(which is sent to the invitee). |
List<Invitation> |
findAllInvitationsForTeam(Team team)
Searches for
Invitation's for a Team. |
Invitation |
findInvitation(String email,
Team team)
Searches for an
Invitation by email address and team. |
Invitation |
findInvitationByInviteId(String invitationId)
Searches for an
Invitation by its generated hash
(which is sent to the invitee). |
List<Invitation> |
findInvitationsForTeamExcludeAccepted(Team team)
Searches for
Invitation's for a Team. |
List<Invitation> |
findPendingInvitationsByEmail(String email)
Searches for pending
Invitation's by email address |
Invitation findInvitation(String email, Team team)
Invitation by email address and team.
May check for expiration.email - address to send invitation toteam - TeamInvitation or nullInvitation findInvitationByInviteId(String invitationId)
Invitation by its generated hash
(which is sent to the invitee). May check for expiration.invitationId - String that was sent to the inviteeInvitation if found, otherwise nullInvitation findAllInvitationById(String invitationId)
Invitation by its generated hash
(which is sent to the invitee). irrespective of their expiration date.invitationId - String that was sent to the inviteeInvitation if found, otherwise nullList<Invitation> findAllInvitationsForTeam(Team team)
Invitation's for a Team.team - TeamList<Invitation> findInvitationsForTeamExcludeAccepted(Team team)
Invitation's for a Team.team - TeamList<Invitation> findPendingInvitationsByEmail(String email)
Invitation's by email addressemail - Stringvoid cleanupExpiredInvitations()
Invitation'sCopyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.