com.liferay.portlet.mail.util.multiaccount
Class SingleAccountFinder
java.lang.Object
com.liferay.portlet.mail.util.multiaccount.SingleAccountFinder
- All Implemented Interfaces:
- AccountFinder
- Direct Known Subclasses:
- EmailAddressAccountFinder, FuseMailAccountFinder, ScreenNameAccountFinder, UserIdAccountFinder
public class SingleAccountFinder
- extends java.lang.Object
- implements AccountFinder
View Source
- Author:
- Jorge Ferrer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleAccountFinder
public SingleAccountFinder()
getDefaultAccountName
public java.lang.String getDefaultAccountName()
- Specified by:
getDefaultAccountName
in interface AccountFinder
getMailUserId
public java.lang.String getMailUserId(com.liferay.portal.model.User user)
- Specified by:
getMailUserId
in interface AccountFinder
findAccount
public MailAccount findAccount(com.liferay.portal.model.User user,
java.lang.String password,
java.lang.String accountName)
throws MailAccountsException
- Specified by:
findAccount
in interface AccountFinder
- Throws:
MailAccountsException
findAllAccounts
public java.util.Collection findAllAccounts(com.liferay.portal.model.User user,
java.lang.String password)
throws MailAccountsException
- Specified by:
findAllAccounts
in interface AccountFinder
- Throws:
MailAccountsException