Class EmailAddressServiceWrapper
Object
com.liferay.portal.kernel.service.EmailAddressServiceWrapper
- All Implemented Interfaces:
BaseService,EmailAddressService,ServiceWrapper<EmailAddressService>
public class EmailAddressServiceWrapper
extends Object
implements EmailAddressService, ServiceWrapper<EmailAddressService>
Provides a wrapper for
EmailAddressService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEmailAddress(String externalReferenceCode, String className, long classPK, String address, long typeId, boolean primary, ServiceContext serviceContext) voiddeleteEmailAddress(long emailAddressId) fetchEmailAddress(long emailAddressId) Returns the email address with the primary key.fetchEmailAddressByExternalReferenceCode(String externalReferenceCode, long companyId) getEmailAddress(long emailAddressId) getEmailAddresses(String className, long classPK) Returns the OSGi service identifier.voidsetWrappedService(EmailAddressService emailAddressService) updateEmailAddress(String externalReferenceCode, long emailAddressId, String address, long typeId, boolean primary)
-
Constructor Details
-
EmailAddressServiceWrapper
public EmailAddressServiceWrapper() -
EmailAddressServiceWrapper
-
-
Method Details
-
addEmailAddress
public EmailAddress addEmailAddress(String externalReferenceCode, String className, long classPK, String address, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException - Specified by:
addEmailAddressin interfaceEmailAddressService- Throws:
PortalException
-
deleteEmailAddress
- Specified by:
deleteEmailAddressin interfaceEmailAddressService- Throws:
PortalException
-
fetchEmailAddress
Returns the email address with the primary key.- Specified by:
fetchEmailAddressin interfaceEmailAddressService- Parameters:
emailAddressId- the primary key of the email address- Returns:
- the email address with the primary key, or
nullif 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
-
fetchEmailAddressByExternalReferenceCode
public EmailAddress fetchEmailAddressByExternalReferenceCode(String externalReferenceCode, long companyId) throws PortalException - Specified by:
fetchEmailAddressByExternalReferenceCodein interfaceEmailAddressService- Throws:
PortalException
-
getEmailAddress
- Specified by:
getEmailAddressin interfaceEmailAddressService- Throws:
PortalException
-
getEmailAddresses
- Specified by:
getEmailAddressesin interfaceEmailAddressService- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceEmailAddressService- Returns:
- the OSGi service identifier
-
updateEmailAddress
public EmailAddress updateEmailAddress(String externalReferenceCode, long emailAddressId, String address, long typeId, boolean primary) throws PortalException - Specified by:
updateEmailAddressin interfaceEmailAddressService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<EmailAddressService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<EmailAddressService>
-