|
Liferay 7.0-ce-a2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface EmailAddressServiceProvides the remote service interface for EmailAddress. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
EmailAddressServiceUtil,
EmailAddressServiceBaseImpl,
com.liferay.portal.service.impl.EmailAddressServiceImpl| Method Summary | |
|---|---|
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) |
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. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
EmailAddress |
getEmailAddress(long emailAddressId)
|
List<EmailAddress> |
getEmailAddresses(String className,
long classPK)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
EmailAddress |
updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary)
|
| Method Detail |
|---|
@Deprecated
EmailAddress addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary)
throws PortalException
#addEmailAddress(String,
long, String, int, boolean, ServiceContext)
PortalException
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 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 - if a portal exception occurredString getBeanIdentifier()
@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
PortalExceptionvoid setBeanIdentifier(String beanIdentifier)
beanIdentifier - the Spring bean ID for this bean
EmailAddress updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary)
throws PortalException
PortalException
|
Liferay 7.0-ce-a2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||