com.liferay.portlet.mail.util.multiaccount
Interface AccountFinder
- All Known Implementing Classes:
- EmailAddressAccountFinder, FuseMailAccountFinder, ScreenNameAccountFinder, SingleAccountFinder, UserIdAccountFinder
- public interface AccountFinder
View Source
AccountFinder represents a class that can find account information.
- Author:
- Jorge Ferrer
getDefaultAccountName
public java.lang.String getDefaultAccountName()
getMailUserId
public java.lang.String getMailUserId(com.liferay.portal.model.User user)
findAccount
public MailAccount findAccount(com.liferay.portal.model.User user,
java.lang.String password,
java.lang.String accountName)
throws MailAccountsException,
AccountNotFoundException
- Throws:
MailAccountsException
AccountNotFoundException
findAllAccounts
public java.util.Collection findAllAccounts(com.liferay.portal.model.User user,
java.lang.String password)
throws MailAccountsException
- Throws:
MailAccountsException