com.liferay.portal.service.impl
Class EmailAddressLocalServiceImpl

java.lang.Object
  extended bycom.liferay.portal.service.base.EmailAddressLocalServiceBaseImpl
      extended bycom.liferay.portal.service.impl.EmailAddressLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.service.EmailAddressLocalService

public class EmailAddressLocalServiceImpl
extends EmailAddressLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan, Alexander Chow

Constructor Summary
EmailAddressLocalServiceImpl()
           
 
Method Summary
 com.liferay.portal.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)
           
 com.liferay.portal.model.EmailAddress getEmailAddress(long emailAddressId)
           
 java.util.List getEmailAddresses()
           
 java.util.List getEmailAddresses(long companyId, java.lang.String className, long classPK)
           
 com.liferay.portal.model.EmailAddress updateEmailAddress(long emailAddressId, java.lang.String address, int typeId, boolean primary)
           
protected  void validate(long emailAddressId, long companyId, long classNameId, long classPK, boolean primary)
           
protected  void validate(long emailAddressId, long companyId, long classNameId, long classPK, java.lang.String address, int typeId, boolean primary)
           
 
Methods inherited from class com.liferay.portal.service.base.EmailAddressLocalServiceBaseImpl
addEmailAddress, dynamicQuery, dynamicQuery, updateEmailAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailAddressLocalServiceImpl

public EmailAddressLocalServiceImpl()
Method Detail

addEmailAddress

public com.liferay.portal.model.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

deleteEmailAddress

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

deleteEmailAddresses

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

getEmailAddress

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

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 com.liferay.portal.model.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

validate

protected void validate(long emailAddressId,
                        long companyId,
                        long classNameId,
                        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

validate

protected void validate(long emailAddressId,
                        long companyId,
                        long classNameId,
                        long classPK,
                        boolean primary)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException