Interface ProjectInvitationsManagement


  • public interface ProjectInvitationsManagement
    Internal engine API for project invitations management
    Author:
    P.Piernik
    • Method Detail

      • addInvitation

        java.lang.String addInvitation​(ProjectInvitationParam param)
                                throws pl.edu.icm.unity.exceptions.EngineException
        Ads invitation
        Parameters:
        param -
        Returns:
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • getInvitations

        java.util.List<ProjectInvitation> getInvitations​(java.lang.String projectPath)
                                                  throws pl.edu.icm.unity.exceptions.EngineException
        Gets all project invitations
        Parameters:
        projectPath -
        Returns:
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • removeInvitation

        void removeInvitation​(java.lang.String projectPath,
                              java.lang.String code)
                       throws pl.edu.icm.unity.exceptions.EngineException
        Removes a single invitation
        Parameters:
        code -
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • sendInvitation

        void sendInvitation​(java.lang.String projectPath,
                            java.lang.String code)
                     throws pl.edu.icm.unity.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.exceptions.EngineException