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:
- IdentifiableBean, 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 |
|
Method Summary |
EmailAddress |
addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary)
Deprecated. As of 6.2.0, replaced by #addEmailAddress(String,
long, String, int, boolean, ServiceContext) |
EmailAddress |
addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary,
ServiceContext serviceContext)
|
void |
deleteEmailAddress(long emailAddressId)
|
EmailAddress |
fetchEmailAddress(long emailAddressId)
Returns the email address with the primary key. |
EmailAddress |
getEmailAddress(long emailAddressId)
|
List<EmailAddress> |
getEmailAddresses(String className,
long classPK)
|
EmailAddress |
updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary)
|
| Methods inherited from class com.liferay.portal.service.base.EmailAddressServiceBaseImpl |
afterPropertiesSet, destroy, getBeanIdentifier, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getListTypeLocalService, getListTypePersistence, getListTypeService, getModelClass, getModelClassName, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, 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
@Deprecated
public EmailAddress addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary)
throws PortalException
- Deprecated. As of 6.2.0, replaced by
#addEmailAddress(String,
long, String, int, boolean, ServiceContext)
- Throws:
PortalException
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 - if a portal exception occurred
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