public class WebLetterService
extends org.youngmonkeys.ezyplatform.service.DefaultLetterService
| Constructor | Description |
|---|---|
WebLetterService(org.youngmonkeys.ezyplatform.time.ClockProxy clock,
WebLetterRepository letterRepository,
WebLetterReceiverRepository letterReceiverRepository,
WebNotificationReceiverRepository notificationReceiverRepository,
WebEntityToModelConverter entityToModelConverter,
WebModelToEntityConverter modelToEntityConverter) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
countUserUnreadLetters(long userId) |
|
void |
deleteUserLetter(long userId,
long letterId) |
|
void |
deleteUserLetter(long userId,
long letterId,
boolean throwExceptionIfNotExists) |
|
void |
deleteUserLetters(long userId,
Collection<Long> letterIds) |
|
org.youngmonkeys.ezyplatform.model.LetterModel |
getUserLetter(long userId,
long letterId) |
|
void |
updateUserLetterByRead(long userId,
long letterId) |
|
void |
updateUserLetterByRead(long userId,
long letterId,
boolean throwExceptionIfNotExists) |
|
void |
updateUserLetterByReceive(long userId,
long letterId) |
|
void |
updateUserLetterByReceive(long userId,
long letterId,
boolean throwExceptionIfNotExists) |
|
void |
updateUserLettersByRead(long userId,
Collection<Long> letterIds) |
|
void |
updateUserLettersByReceive(long userId,
Collection<Long> letterIds) |
public WebLetterService(org.youngmonkeys.ezyplatform.time.ClockProxy clock,
WebLetterRepository letterRepository,
WebLetterReceiverRepository letterReceiverRepository,
WebNotificationReceiverRepository notificationReceiverRepository,
WebEntityToModelConverter entityToModelConverter,
WebModelToEntityConverter modelToEntityConverter)
public void updateUserLetterByReceive(long userId,
long letterId)
public void updateUserLetterByReceive(long userId,
long letterId,
boolean throwExceptionIfNotExists)
public void updateUserLettersByReceive(long userId,
Collection<Long> letterIds)
public void updateUserLetterByRead(long userId,
long letterId)
public void updateUserLetterByRead(long userId,
long letterId,
boolean throwExceptionIfNotExists)
public void updateUserLettersByRead(long userId,
Collection<Long> letterIds)
public void deleteUserLetter(long userId,
long letterId)
public void deleteUserLetter(long userId,
long letterId,
boolean throwExceptionIfNotExists)
public void deleteUserLetters(long userId,
Collection<Long> letterIds)
public org.youngmonkeys.ezyplatform.model.LetterModel getUserLetter(long userId,
long letterId)
public long countUserUnreadLetters(long userId)
Copyright © 2026 Young Monkeys. All rights reserved.