com.liferay.portal.service
Interface EmailAddressService


public interface EmailAddressService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portal.service.impl.EmailAddressServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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.

Author:
Brian Wing Shun Chan
See Also:
EmailAddressServiceFactory, EmailAddressServiceUtil

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

Method Detail

addEmailAddress

EmailAddress addEmailAddress(java.lang.String className,
                             long classPK,
                             java.lang.String address,
                             int typeId,
                             boolean primary)
                             throws java.rmi.RemoteException,
                                    com.liferay.portal.SystemException,
                                    com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteEmailAddress

void deleteEmailAddress(long emailAddressId)
                        throws java.rmi.RemoteException,
                               com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getEmailAddress

EmailAddress getEmailAddress(long emailAddressId)
                             throws java.rmi.RemoteException,
                                    com.liferay.portal.SystemException,
                                    com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getEmailAddresses

java.util.List<EmailAddress> getEmailAddresses(java.lang.String className,
                                               long classPK)
                                               throws java.rmi.RemoteException,
                                                      com.liferay.portal.SystemException,
                                                      com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateEmailAddress

EmailAddress updateEmailAddress(long emailAddressId,
                                java.lang.String address,
                                int typeId,
                                boolean primary)
                                throws java.rmi.RemoteException,
                                       com.liferay.portal.SystemException,
                                       com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException