Liferay 6.0.5

com.liferay.portal.service
Interface EmailAddressService

All Known Implementing Classes:
EmailAddressServiceBaseImpl, EmailAddressServiceImpl, EmailAddressServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface EmailAddressService

The interface for the email address remote service.

Never modify or reference this interface directly. Always use EmailAddressServiceUtil to access the email address remote service. Add custom service methods to EmailAddressServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
EmailAddressServiceUtil, EmailAddressServiceBaseImpl, EmailAddressServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 EmailAddress addEmailAddress(String className, long classPK, String address, int typeId, boolean primary)
           
 void deleteEmailAddress(long emailAddressId)
           
 EmailAddress getEmailAddress(long emailAddressId)
           
 List<EmailAddress> getEmailAddresses(String className, long classPK)
           
 EmailAddress updateEmailAddress(long emailAddressId, String address, int typeId, boolean primary)
           
 

Method Detail

addEmailAddress

EmailAddress addEmailAddress(String className,
                             long classPK,
                             String address,
                             int typeId,
                             boolean primary)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

deleteEmailAddress

void deleteEmailAddress(long emailAddressId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getEmailAddress

@Transactional(propagation=SUPPORTS,
               readOnly=true)
EmailAddress getEmailAddress(long emailAddressId)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getEmailAddresses

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<EmailAddress> getEmailAddresses(String className,
                                                                              long classPK)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

updateEmailAddress

EmailAddress updateEmailAddress(long emailAddressId,
                                String address,
                                int typeId,
                                boolean primary)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5