com.liferay.portal.service.impl
Class EmailAddressServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portal.service.base.EmailAddressServiceBaseImpl
com.liferay.portal.service.impl.EmailAddressServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseService, EmailAddressService
public class EmailAddressServiceImpl
- extends EmailAddressServiceBaseImpl
| Fields inherited from class com.liferay.portal.service.base.EmailAddressServiceBaseImpl |
classNameLocalService, classNamePersistence, classNameService, counterLocalService, emailAddressLocalService, emailAddressPersistence, emailAddressService, listTypeLocalService, listTypePersistence, listTypeService, userFinder, userLocalService, userPersistence, userService |
| Methods inherited from class com.liferay.portal.service.base.EmailAddressServiceBaseImpl |
afterPropertiesSet, destroy, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getListTypeLocalService, getListTypePersistence, getListTypeService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setEmailAddressLocalService, setEmailAddressPersistence, setEmailAddressService, setListTypeLocalService, setListTypePersistence, setListTypeService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmailAddressServiceImpl
public EmailAddressServiceImpl()
addEmailAddress
public EmailAddress addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteEmailAddress
public void deleteEmailAddress(long emailAddressId)
throws PortalException
- Throws:
PortalException
fetchEmailAddress
public EmailAddress fetchEmailAddress(long emailAddressId)
throws PortalException
- Returns the email address with the primary key.
- Parameters:
emailAddressId - the primary key of the email address
- Returns:
- the email address with the primary key, or
null if
an email address with the primary key could not be found or if
the user did not have permission to view the email address
- Throws:
PortalException
getEmailAddress
public EmailAddress getEmailAddress(long emailAddressId)
throws PortalException
- Throws:
PortalException
getEmailAddresses
public List<EmailAddress> getEmailAddresses(String className,
long classPK)
throws PortalException
- Throws:
PortalException
updateEmailAddress
public EmailAddress updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary)
throws PortalException
- Throws:
PortalException