Interface ProjectInvitationsManagement
-
public interface ProjectInvitationsManagementInternal engine API for project invitations management- Author:
- P.Piernik
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProjectInvitationsManagement.AlreadyMemberExceptionstatic classProjectInvitationsManagement.IllegalInvitationExceptionstatic classProjectInvitationsManagement.NotProjectInvitationstatic classProjectInvitationsManagement.ProjectMisconfiguredException
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringaddInvitation(ProjectInvitationParam param)Ads invitationList<ProjectInvitation>getInvitations(String projectPath)Gets all project invitationsvoidremoveInvitation(String projectPath, String code)Removes a single invitationvoidsendInvitation(String projectPath, String code)Sends an invitation message to the invitation specified by the code.
-
-
-
Method Detail
-
addInvitation
String addInvitation(ProjectInvitationParam param) throws EngineException
Ads invitation- Parameters:
param-- Returns:
- Throws:
EngineException
-
getInvitations
List<ProjectInvitation> getInvitations(String projectPath) throws EngineException
Gets all project invitations- Parameters:
projectPath-- Returns:
- Throws:
EngineException
-
removeInvitation
void removeInvitation(String projectPath, String code) throws EngineException
Removes a single invitation- Parameters:
code-- Throws:
EngineException
-
sendInvitation
void sendInvitation(String projectPath, String code) throws 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:
EngineException
-
-