@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface EmailAddressService extends BaseService
EmailAddressServiceUtil
,
EmailAddressServiceBaseImpl
,
EmailAddressServiceImpl
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.
|
EmailAddress |
updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary) |
EmailAddress addEmailAddress(String className, long classPK, String address, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
PortalException
void 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 getEmailAddress(long emailAddressId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<EmailAddress> getEmailAddresses(String className, long classPK) throws PortalException
PortalException
String getOSGiServiceIdentifier()
EmailAddress updateEmailAddress(long emailAddressId, String address, long typeId, boolean primary) throws PortalException
PortalException