@ProviderType
public class EmailAddressServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.EmailAddressServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.EmailAddressService,
EmailAddressServiceBaseImpl,
com.liferay.portal.service.impl.EmailAddressServiceImpl| Constructor and Description |
|---|
EmailAddressServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static EmailAddress |
addEmailAddress(java.lang.String className,
long classPK,
java.lang.String address,
int typeId,
boolean primary)
Deprecated.
As of 6.2.0, replaced by
addEmailAddress( String,
long, String, int, boolean, ServiceContext) |
static EmailAddress |
addEmailAddress(java.lang.String className,
long classPK,
java.lang.String address,
int typeId,
boolean primary,
ServiceContext serviceContext) |
static void |
deleteEmailAddress(long emailAddressId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static EmailAddress |
getEmailAddress(long emailAddressId) |
static java.util.List<EmailAddress> |
getEmailAddresses(java.lang.String className,
long classPK) |
static EmailAddressService |
getService() |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(EmailAddressService service)
Deprecated.
As of 6.2.0
|
static EmailAddress |
updateEmailAddress(long emailAddressId,
java.lang.String address,
int typeId,
boolean primary) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static EmailAddress addEmailAddress(java.lang.String className, long classPK, java.lang.String address, int typeId, boolean primary) throws PortalException, SystemException
addEmailAddress( String,
long, String, int, boolean, ServiceContext)PortalExceptionSystemExceptionpublic static EmailAddress addEmailAddress(java.lang.String className, long classPK, java.lang.String address, int typeId, boolean primary, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteEmailAddress(long emailAddressId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static EmailAddress getEmailAddress(long emailAddressId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<EmailAddress> getEmailAddresses(java.lang.String className, long classPK) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static EmailAddress updateEmailAddress(long emailAddressId, java.lang.String address, int typeId, boolean primary) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static EmailAddressService getService()
public void setService(EmailAddressService service)