Interface ProjectInvitationsManagement
public interface ProjectInvitationsManagement
Internal engine API for project invitations management
- Author:
- P.Piernik
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
static class
-
Method Summary
Modifier and TypeMethodDescriptionaddInvitations
(Set<ProjectInvitationParam> param) Ads invitationsgetInvitations
(String projectPath) Gets all project invitationsvoid
removeInvitation
(String projectPath, String code) Removes a single invitationvoid
sendInvitation
(String projectPath, String code) Sends an invitation message to the invitation specified by the code.
-
Method Details
-
addInvitations
ProjectAddInvitationResult addInvitations(Set<ProjectInvitationParam> param) throws pl.edu.icm.unity.base.exceptions.EngineException Ads invitations- Parameters:
param
-- Returns:
- Throws:
pl.edu.icm.unity.base.exceptions.EngineException
-
getInvitations
List<ProjectInvitation> getInvitations(String projectPath) throws pl.edu.icm.unity.base.exceptions.EngineException Gets all project invitations- Parameters:
projectPath
-- Returns:
- Throws:
pl.edu.icm.unity.base.exceptions.EngineException
-
removeInvitation
void removeInvitation(String projectPath, String code) throws pl.edu.icm.unity.base.exceptions.EngineException Removes a single invitation- Parameters:
code
-- Throws:
pl.edu.icm.unity.base.exceptions.EngineException
-
sendInvitation
void sendInvitation(String projectPath, String code) throws pl.edu.icm.unity.base.exceptions.EngineException Sends an invitation message to the invitation specified by the code. In case when there is no such invitation, it has missing or invalid contact address or when the associated form has no message template for invitation this method throws exception.- Parameters:
code
-- Throws:
pl.edu.icm.unity.base.exceptions.EngineException
-