@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 EmailAddressService
PortalException
public void deleteEmailAddress(long emailAddressId) throws PortalException
deleteEmailAddress
in interface EmailAddressService
PortalException
public EmailAddress fetchEmailAddress(long emailAddressId) throws PortalException
fetchEmailAddress
in interface EmailAddressService
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 addressPortalException
public EmailAddress getEmailAddress(long emailAddressId) throws PortalException
getEmailAddress
in interface EmailAddressService
PortalException
public List<EmailAddress> getEmailAddresses(String className, long classPK) throws PortalException
getEmailAddresses
in interface EmailAddressService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface EmailAddressService
public EmailAddress updateEmailAddress(long emailAddressId, String address, long typeId, boolean primary) throws PortalException
updateEmailAddress
in interface EmailAddressService
PortalException
public EmailAddressService getWrappedService()
getWrappedService
in interface ServiceWrapper<EmailAddressService>
public void setWrappedService(EmailAddressService emailAddressService)
setWrappedService
in interface ServiceWrapper<EmailAddressService>