com.liferay.portal.service
Interface EmailAddressLocalService

All Known Implementing Classes:
EmailAddressLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(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 SystemException
Throws:
SystemException

createEmailAddress

EmailAddress createEmailAddress(long emailAddressId)

deleteEmailAddress

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

deleteEmailAddress

void deleteEmailAddress(EmailAddress emailAddress)
                        throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getEmailAddress

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

getEmailAddresses

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

getEmailAddressesCount

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

updateEmailAddress

EmailAddress updateEmailAddress(EmailAddress emailAddress)
                                throws SystemException
Throws:
SystemException

updateEmailAddress

EmailAddress updateEmailAddress(EmailAddress emailAddress,
                                boolean merge)
                                throws SystemException
Throws:
SystemException

addEmailAddress

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

deleteEmailAddresses

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

getEmailAddresses

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

getEmailAddresses

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

updateEmailAddress

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