public interface InvitationManagement
Modifier and Type | Method and Description |
---|---|
String |
addInvitation(pl.edu.icm.unity.types.registration.invite.InvitationParam invitation)
Associates a new invitation with a form.
|
pl.edu.icm.unity.types.registration.invite.InvitationWithCode |
getInvitation(String code)
Retrieves an invitation by code
|
List<pl.edu.icm.unity.types.registration.invite.InvitationWithCode> |
getInvitations() |
void |
removeInvitation(String code)
Removes a single invitation
|
void |
sendInvitation(String code)
Sends an invitation message to the invitation specified by the code.
|
void |
updateInvitation(String code,
pl.edu.icm.unity.types.registration.invite.InvitationParam invitation)
Updates existing invitation.
|
String addInvitation(pl.edu.icm.unity.types.registration.invite.InvitationParam invitation) throws pl.edu.icm.unity.exceptions.EngineException
invitation
- invitation to be addedpl.edu.icm.unity.exceptions.EngineException
void updateInvitation(String code, pl.edu.icm.unity.types.registration.invite.InvitationParam invitation) throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineException
void sendInvitation(String code) throws pl.edu.icm.unity.exceptions.EngineException
code
- pl.edu.icm.unity.exceptions.EngineException
void removeInvitation(String code) throws pl.edu.icm.unity.exceptions.EngineException
code
- pl.edu.icm.unity.exceptions.EngineException
List<pl.edu.icm.unity.types.registration.invite.InvitationWithCode> getInvitations() throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.types.registration.invite.InvitationWithCode getInvitation(String code) throws pl.edu.icm.unity.exceptions.EngineException
code
- invitation codepl.edu.icm.unity.exceptions.EngineException
- More specifically WrongArgumentException
is thrown when
there is no invitation with such code.Copyright © 2018 Unity. All rights reserved.