com.liferay.portal.service
Interface EmailAddressLocalService

All Known Implementing Classes:
EmailAddressLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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:
EmailAddressLocalServiceUtil
Generated:

Method Summary
 EmailAddress addEmailAddress(EmailAddress emailAddress)
           
 EmailAddress addEmailAddress(long userId, java.lang.String className, long classPK, java.lang.String address, int typeId, boolean primary)
           
 EmailAddress createEmailAddress(long emailAddressId)
           
 void deleteEmailAddress(EmailAddress emailAddress)
           
 void deleteEmailAddress(long emailAddressId)
           
 void deleteEmailAddresses(long companyId, java.lang.String className, long classPK)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 EmailAddress getEmailAddress(long emailAddressId)
           
 java.util.List<EmailAddress> getEmailAddresses()
           
 java.util.List<EmailAddress> getEmailAddresses(int start, int end)
           
 java.util.List<EmailAddress> getEmailAddresses(long companyId, java.lang.String className, long classPK)
           
 int getEmailAddressesCount()
           
 EmailAddress updateEmailAddress(EmailAddress emailAddress)
           
 EmailAddress updateEmailAddress(EmailAddress emailAddress, boolean merge)
           
 EmailAddress updateEmailAddress(long emailAddressId, java.lang.String address, int typeId, boolean primary)
           
 

Method Detail

addEmailAddress

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

createEmailAddress

EmailAddress createEmailAddress(long emailAddressId)

deleteEmailAddress

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

deleteEmailAddress

void deleteEmailAddress(EmailAddress emailAddress)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEmailAddress

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

getEmailAddresses

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<EmailAddress> getEmailAddresses(int start,
                                                             int end)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEmailAddressesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEmailAddressesCount()
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateEmailAddress

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

updateEmailAddress

EmailAddress updateEmailAddress(EmailAddress emailAddress,
                                boolean merge)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addEmailAddress

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

deleteEmailAddresses

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

getEmailAddresses

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<EmailAddress> getEmailAddresses()
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEmailAddresses

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<EmailAddress> getEmailAddresses(long companyId,
                                                             java.lang.String className,
                                                             long classPK)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateEmailAddress

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