|
Liferay 7.0-ce-b3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.EmailAddressServiceUtil
@ProviderType public class EmailAddressServiceUtil
Provides the remote service utility for EmailAddress. This utility wraps
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 Summary | |
|---|---|
EmailAddressServiceUtil()
|
|
| Method Summary | |
|---|---|
static EmailAddress |
addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary)
Deprecated. As of 6.2.0, replaced by #addEmailAddress(String,
long, String, int, boolean, ServiceContext) |
static EmailAddress |
addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary,
ServiceContext serviceContext)
|
static void |
deleteEmailAddress(long emailAddressId)
|
static EmailAddress |
fetchEmailAddress(long emailAddressId)
Returns the email address with the primary key. |
static EmailAddress |
getEmailAddress(long emailAddressId)
|
static List<EmailAddress> |
getEmailAddresses(String className,
long classPK)
|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
static EmailAddressService |
getService()
|
static EmailAddress |
updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmailAddressServiceUtil()
| Method Detail |
|---|
@Deprecated
public static EmailAddress addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary)
throws PortalException
#addEmailAddress(String,
long, String, int, boolean, ServiceContext)
PortalException
public static EmailAddress addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary,
ServiceContext serviceContext)
throws PortalException
PortalException
public static void deleteEmailAddress(long emailAddressId)
throws PortalException
PortalException
public static EmailAddress fetchEmailAddress(long emailAddressId)
throws PortalException
emailAddressId - the primary key of the email address
null if
an email address with the primary key could not be found or if
the user did not have permission to view the email address
PortalException
public static EmailAddress getEmailAddress(long emailAddressId)
throws PortalException
PortalException
public static List<EmailAddress> getEmailAddresses(String className,
long classPK)
throws PortalException
PortalExceptionpublic static String getOSGiServiceIdentifier()
public static EmailAddress updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary)
throws PortalException
PortalExceptionpublic static EmailAddressService getService()
|
Liferay 7.0-ce-b3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||