com.liferay.portal.service
Interface EmailAddressLocalService


public interface EmailAddressLocalService

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.EmailAddressLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

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

Method Summary
 EmailAddress addEmailAddress(EmailAddress model)
           
 EmailAddress addEmailAddress(long userId, java.lang.String className, long classPK, java.lang.String address, int typeId, boolean primary)
           
 void deleteEmailAddress(long emailAddressId)
           
 void deleteEmailAddresses(long companyId, java.lang.String className, long classPK)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 EmailAddress getEmailAddress(long emailAddressId)
           
 java.util.List getEmailAddresses()
           
 java.util.List getEmailAddresses(long companyId, java.lang.String className, long classPK)
           
 EmailAddress updateEmailAddress(EmailAddress model)
           
 EmailAddress updateEmailAddress(long emailAddressId, java.lang.String address, int typeId, boolean primary)
           
 

Method Detail

addEmailAddress

public EmailAddress addEmailAddress(EmailAddress model)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateEmailAddress

public EmailAddress updateEmailAddress(EmailAddress model)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addEmailAddress

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

deleteEmailAddress

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

deleteEmailAddresses

public void deleteEmailAddresses(long companyId,
                                 java.lang.String className,
                                 long classPK)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEmailAddress

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

getEmailAddresses

public java.util.List getEmailAddresses()
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEmailAddresses

public java.util.List getEmailAddresses(long companyId,
                                        java.lang.String className,
                                        long classPK)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateEmailAddress

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