|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InvitationLocal
| Method Summary | |
|---|---|
Invitation |
createInvitation(java.lang.String principal,
InvitationDetail detail)
Create a new invitation using the supplied details directed to the specified user |
void |
executeInvitation(Invitation invitation,
java.util.Date now)
Execute an invitation and if the invitation is chained, carry out all chained invitations as well. |
void |
executeInvitation(long invitationId,
java.util.Date now)
Execute an invitation and if the invitation is chained, carry out all chained invitations as well. |
ActivateInvitation |
extractActivationDetails(Invitation invitation)
Given an invitation, return the activation details contained within, if any, otherwise return null. |
java.util.List<AdministrativeDetail> |
extractDetails(Invitation invitation)
Extract the details as a list of object trees from the invitation XML |
Invitation |
findInvitation(long invitationId)
Get a Invitation by its internal ID |
java.util.List<Invitation> |
findOpenInvitations(TolvenUser user,
java.util.Date now)
Find open invitations for this user, regardless of account. |
void |
followup(Invitation invitation)
If the userID isn't registered within an hour, cancel the activation |
void |
invitationQueueTest(int count)
|
void |
queueInvitation(Invitation invitation)
Send an invitation based on it's contents. |
void |
sendInvitation(Invitation invitation)
Send an invitation based on it's contents. |
void |
sendNotifyMessage(java.lang.String subject,
javax.mail.internet.InternetAddress addressee,
java.lang.String message,
java.lang.String emailFormat)
Send an invitation to someone |
void |
sendTestMessage(java.lang.String addressee,
java.lang.String emailFormat)
Send a test message to the specified address. |
| Method Detail |
|---|
void sendTestMessage(java.lang.String addressee,
java.lang.String emailFormat)
throws java.lang.Exception
addressee - e-mail address of where to send test message.
java.lang.Exception
void sendNotifyMessage(java.lang.String subject,
javax.mail.internet.InternetAddress addressee,
java.lang.String message,
java.lang.String emailFormat)
throws java.lang.Exception
addressee - id - message - contextPath -
java.lang.Exception
void queueInvitation(Invitation invitation)
throws java.lang.Exception
invitation -
java.lang.Exception
void invitationQueueTest(int count)
throws javax.jms.JMSException
javax.jms.JMSException
void sendInvitation(Invitation invitation)
throws java.lang.Exception
invitation -
java.lang.ExceptionqueueInvitation(org.tolven.doc.entity.Invitation)Invitation findInvitation(long invitationId)
invitationId - the id of the Invitation
java.util.List<AdministrativeDetail> extractDetails(Invitation invitation)
throws javax.xml.bind.JAXBException
invitation -
javax.xml.bind.JAXBException
ActivateInvitation extractActivationDetails(Invitation invitation)
throws javax.xml.bind.JAXBException
invitation -
javax.xml.bind.JAXBException
Invitation createInvitation(java.lang.String principal,
InvitationDetail detail)
throws javax.xml.bind.JAXBException,
java.io.IOException
java.io.IOException
javax.xml.bind.JAXBException
java.util.List<Invitation> findOpenInvitations(TolvenUser user,
java.util.Date now)
user - now -
void executeInvitation(Invitation invitation,
java.util.Date now)
throws InvitationException,
javax.xml.bind.JAXBException,
java.io.IOException,
javax.naming.NamingException
InvitationException
javax.xml.bind.JAXBException
java.io.IOException
javax.naming.NamingException
void executeInvitation(long invitationId,
java.util.Date now)
throws InvitationException,
javax.xml.bind.JAXBException,
java.io.IOException,
javax.naming.NamingException
InvitationException
javax.xml.bind.JAXBException
java.io.IOException
javax.naming.NamingExceptionvoid followup(Invitation invitation)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||