Interface ProjectInvitationsManagement
-
public interface ProjectInvitationsManagement
Internal engine API for project invitations management- Author:
- P.Piernik
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ProjectInvitationsManagement.AlreadyMemberException
static class
ProjectInvitationsManagement.IllegalInvitationException
static class
ProjectInvitationsManagement.NotProjectInvitation
static class
ProjectInvitationsManagement.ProjectMisconfiguredException
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
addInvitation(ProjectInvitationParam param)
Ads invitationList<ProjectInvitation>
getInvitations(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 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
-
-