Interface InvitationManager

    • Method Detail

      • findById

        Invitation findById​(int id)
        Find an invitation from its id
        Returns:
        the invitation object
      • startInvitation

        void startInvitation​(Invitation invitation,
                             InvitationCallback callBack)
        Start a new invitation
        Parameters:
        invitation - the invitation object
        callBack - the response handler
      • suppressInvitation

        void suppressInvitation​(Invitation invitation)
        Stop an invitation that is running
        Parameters:
        invitation - the invitation
      • getMaxInvitationsPerUser

        int getMaxInvitationsPerUser()
        Returns:
        the max amount of invitations a User can run simultaneously
      • setMaxInvitationsPerUser

        void setMaxInvitationsPerUser​(int value)
        Parameters:
        value - the max amount of invitations a User can run simultaneously