public class EmailAddressServiceImpl extends EmailAddressServiceBaseImpl
classNameLocalService, classNamePersistence, classNameService, counterLocalService, emailAddressLocalService, emailAddressPersistence, emailAddressService, listTypeLocalService, listTypePersistence, listTypeService, userFinder, userLocalService, userPersistence, userService
Constructor and Description |
---|
EmailAddressServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.EmailAddress |
addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteEmailAddress(long emailAddressId) |
com.liferay.portal.kernel.model.EmailAddress |
fetchEmailAddress(long emailAddressId)
Returns the email address with the primary key.
|
com.liferay.portal.kernel.model.EmailAddress |
getEmailAddress(long emailAddressId) |
List<com.liferay.portal.kernel.model.EmailAddress> |
getEmailAddresses(String className,
long classPK) |
com.liferay.portal.kernel.model.EmailAddress |
updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary) |
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
public com.liferay.portal.kernel.model.EmailAddress addEmailAddress(String className, long classPK, String address, long typeId, boolean primary, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteEmailAddress(long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.EmailAddress fetchEmailAddress(long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException
emailAddressId
- the primary key of the email addressnull
if
an email address with the primary key could not be found or if
the user did not have permission to view the email addresscom.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.EmailAddress getEmailAddress(long emailAddressId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.EmailAddress> getEmailAddresses(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.EmailAddress updateEmailAddress(long emailAddressId, String address, long typeId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException