@AccessControlled @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 className,
long classPK,
String address,
long typeId,
boolean primary,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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
EmailAddressServiceUtil to access the email address remote service. Add custom service methods to com.liferay.portal.service.impl.EmailAddressServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.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 getEmailAddress(long emailAddressId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) List<EmailAddress> getEmailAddresses(String className, long classPK) throws PortalException
PortalExceptionString getOSGiServiceIdentifier()
EmailAddress updateEmailAddress(long emailAddressId, String address, long typeId, boolean primary) throws PortalException
PortalException