@ProviderType public class EmailAddressServiceWrapper extends Object implements EmailAddressService, ServiceWrapper<EmailAddressService>
EmailAddressService.EmailAddressService| Constructor and Description |
|---|
EmailAddressServiceWrapper(EmailAddressService emailAddressService) |
| Modifier and Type | Method and Description |
|---|---|
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) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
EmailAddressService |
getWrappedService() |
void |
setWrappedService(EmailAddressService emailAddressService) |
EmailAddress |
updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary) |
public EmailAddressServiceWrapper(EmailAddressService emailAddressService)
public EmailAddress addEmailAddress(String className, long classPK, String address, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
addEmailAddress in interface EmailAddressServicePortalExceptionpublic EmailAddress fetchEmailAddress(long emailAddressId) throws PortalException
fetchEmailAddress in interface EmailAddressServiceemailAddressId - 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 addressPortalExceptionpublic EmailAddress getEmailAddress(long emailAddressId) throws PortalException
getEmailAddress in interface EmailAddressServicePortalExceptionpublic EmailAddress updateEmailAddress(long emailAddressId, String address, long typeId, boolean primary) throws PortalException
updateEmailAddress in interface EmailAddressServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface EmailAddressServicepublic List<EmailAddress> getEmailAddresses(String className, long classPK) throws PortalException
getEmailAddresses in interface EmailAddressServicePortalExceptionpublic void deleteEmailAddress(long emailAddressId)
throws PortalException
deleteEmailAddress in interface EmailAddressServicePortalExceptionpublic EmailAddressService getWrappedService()
getWrappedService in interface ServiceWrapper<EmailAddressService>public void setWrappedService(EmailAddressService emailAddressService)
setWrappedService in interface ServiceWrapper<EmailAddressService>