Package mireka.login
Class GlobalUsersMaildropDestinationMapper
- Object
-
- mireka.login.GlobalUsersMaildropDestinationMapper
-
- All Implemented Interfaces:
RecipientDestinationMapper
public class GlobalUsersMaildropDestinationMapper extends Object implements RecipientDestinationMapper
This class assigns aMaildropDestinationto aGlobalUsersuser. The name of the maildrop is the same as the user's name.
-
-
Constructor Summary
Constructors Constructor Description GlobalUsersMaildropDestinationMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaildropRepositorygetMaildropRepository()Destinationlookup(Recipient recipient)Returns the destination of mails sent to this user; or null if it does not know the recipient.voidsetMaildropRepository(MaildropRepository maildropRepository)voidsetUsers(GlobalUsers users)GETSET
-
-
-
Method Detail
-
lookup
public Destination lookup(Recipient recipient)
Description copied from interface:RecipientDestinationMapperReturns the destination of mails sent to this user; or null if it does not know the recipient.- Specified by:
lookupin interfaceRecipientDestinationMapper
-
setUsers
public void setUsers(GlobalUsers users)
GETSET
-
setMaildropRepository
public void setMaildropRepository(MaildropRepository maildropRepository)
- Category:
- GETSET
-
getMaildropRepository
public MaildropRepository getMaildropRepository()
- Category:
- GETSET
-
-