public class GlobalUsersMaildropDestinationMapper extends Object implements RecipientDestinationMapper
MaildropDestination
to a GlobalUsers
user. The name of the maildrop is the same as the user's name.Constructor and Description |
---|
GlobalUsersMaildropDestinationMapper() |
Modifier and Type | Method and Description |
---|---|
MaildropRepository |
getMaildropRepository() |
Destination |
lookup(Recipient recipient)
Returns the destination of mails sent to this user; or null if it does
not know the recipient.
|
void |
setMaildropRepository(MaildropRepository maildropRepository) |
void |
setUsers(GlobalUsers users)
GETSET
|
public GlobalUsersMaildropDestinationMapper()
public Destination lookup(Recipient recipient)
RecipientDestinationMapper
lookup
in interface RecipientDestinationMapper
public void setUsers(GlobalUsers users)
public void setMaildropRepository(MaildropRepository maildropRepository)
public MaildropRepository getMaildropRepository()