-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move event attendance mail sending logic to StandaloneEventAttendance…
…Repository
- Loading branch information
1 parent
73ffe99
commit 5a58fc5
Showing
5 changed files
with
107 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
...map/extensions/src/main/java/com/linagora/tmail/james/jmap/EventAttendanceRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
package com.linagora.tmail.james.jmap; | ||
|
||
import java.util.Optional; | ||
|
||
import org.apache.james.core.Username; | ||
import org.apache.james.jmap.mail.BlobIds; | ||
import org.apache.james.mailbox.model.MessageId; | ||
import org.reactivestreams.Publisher; | ||
|
||
interface EventAttendanceRepository { | ||
import com.linagora.tmail.james.jmap.model.CalendarEventReplyResults; | ||
import com.linagora.tmail.james.jmap.model.LanguageLocation; | ||
|
||
public interface EventAttendanceRepository { | ||
Publisher<AttendanceStatus> getAttendanceStatus(Username username, MessageId messageId); | ||
|
||
Publisher<Void> setAttendanceStatus(Username username, MessageId messageId, AttendanceStatus attendanceStatus); | ||
Publisher<CalendarEventReplyResults> setAttendanceStatus(Username username, AttendanceStatus attendanceStatus, | ||
BlobIds eventBlobIds, | ||
Optional<LanguageLocation> maybePreferredLanguage); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters