Liferay 7.0-ce-b4

com.liferay.portal.service.impl
Class EmailAddressServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portal.service.base.EmailAddressServiceBaseImpl
          extended by com.liferay.portal.service.impl.EmailAddressServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseService, EmailAddressService

public class EmailAddressServiceImpl
extends EmailAddressServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portal.service.base.EmailAddressServiceBaseImpl
classNameLocalService, classNamePersistence, classNameService, counterLocalService, emailAddressLocalService, emailAddressPersistence, emailAddressService, listTypeLocalService, listTypePersistence, listTypeService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
EmailAddressServiceImpl()
           
 
Method Summary
 EmailAddress addEmailAddress(String className, long classPK, String address, long typeId, boolean primary, ServiceContext serviceContext)
           
 void deleteEmailAddress(long emailAddressId)
           
 EmailAddress fetchEmailAddress(long emailAddressId)
          Returns the email address with the primary key.
 EmailAddress getEmailAddress(long emailAddressId)
           
 List<EmailAddress> getEmailAddresses(String className, long classPK)
           
 EmailAddress updateEmailAddress(long emailAddressId, String address, long typeId, boolean primary)
           
 
Methods inherited from class com.liferay.portal.service.base.EmailAddressServiceBaseImpl
afterPropertiesSet, destroy, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getListTypeLocalService, getListTypePersistence, getListTypeService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setEmailAddressLocalService, setEmailAddressPersistence, setEmailAddressService, setListTypeLocalService, setListTypePersistence, setListTypeService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailAddressServiceImpl

public EmailAddressServiceImpl()
Method Detail

addEmailAddress

public EmailAddress addEmailAddress(String className,
                                    long classPK,
                                    String address,
                                    long typeId,
                                    boolean primary,
                                    ServiceContext serviceContext)
                             throws PortalException
Throws:
PortalException

deleteEmailAddress

public void deleteEmailAddress(long emailAddressId)
                        throws PortalException
Throws:
PortalException

fetchEmailAddress

public EmailAddress fetchEmailAddress(long emailAddressId)
                               throws PortalException
Returns the email address with the primary key.

Parameters:
emailAddressId - the primary key of the email address
Returns:
the email address with the primary key, or null if an email address with the primary key could not be found or if the user did not have permission to view the email address
Throws:
PortalException

getEmailAddress

public EmailAddress getEmailAddress(long emailAddressId)
                             throws PortalException
Throws:
PortalException

getEmailAddresses

public List<EmailAddress> getEmailAddresses(String className,
                                            long classPK)
                                     throws PortalException
Throws:
PortalException

updateEmailAddress

public EmailAddress updateEmailAddress(long emailAddressId,
                                       String address,
                                       long typeId,
                                       boolean primary)
                                throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4