@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface EmailAddressService extends BaseService
EmailAddressServiceUtil| Modifier and Type | Method and Description |
|---|---|
EmailAddress |
addEmailAddress(String externalReferenceCode,
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 |
fetchEmailAddressByExternalReferenceCode(String externalReferenceCode,
long companyId) |
EmailAddress |
getEmailAddress(long emailAddressId) |
List<EmailAddress> |
getEmailAddresses(String className,
long classPK) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
EmailAddress |
updateEmailAddress(String externalReferenceCode,
long emailAddressId,
String address,
long typeId,
boolean primary) |
EmailAddress addEmailAddress(String externalReferenceCode, String className, long classPK, String address, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
PortalExceptionvoid deleteEmailAddress(long emailAddressId)
throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) EmailAddress fetchEmailAddress(long emailAddressId) throws 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 addressPortalException@Transactional(propagation=SUPPORTS, readOnly=true) EmailAddress fetchEmailAddressByExternalReferenceCode(String externalReferenceCode, long companyId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) EmailAddress getEmailAddress(long emailAddressId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) List<EmailAddress> getEmailAddresses(String className, long classPK) throws PortalException
PortalExceptionString getOSGiServiceIdentifier()
EmailAddress updateEmailAddress(String externalReferenceCode, long emailAddressId, String address, long typeId, boolean primary) throws PortalException
PortalException