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
java.lang.String getDefaultAccountName()
getMailUserId
java.lang.String getMailUserId(com.liferay.portal.model.User user)
findAccount
MailAccount findAccount(com.liferay.portal.model.User user,
java.lang.String password,
java.lang.String accountName)
throws MailAccountsException,
AccountNotFoundException
- Throws:
MailAccountsException
AccountNotFoundException
findAllAccounts
java.util.Collection findAllAccounts(com.liferay.portal.model.User user,
java.lang.String password)
throws MailAccountsException
- Throws:
MailAccountsException