com.liferay.portal.service.impl
Class EmailAddressServiceImpl
java.lang.Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.EmailAddressServiceBaseImpl
com.liferay.portal.service.impl.EmailAddressServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.EmailAddressService
public class EmailAddressServiceImpl
- extends EmailAddressServiceBaseImpl
| 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.kernel.service.BaseServiceImpl |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
|
Method Summary |
com.liferay.portal.kernel.model.EmailAddress |
addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
void |
deleteEmailAddress(long emailAddressId)
|
com.liferay.portal.kernel.model.EmailAddress |
fetchEmailAddress(long emailAddressId)
Returns the email address with the primary key. |
com.liferay.portal.kernel.model.EmailAddress |
getEmailAddress(long emailAddressId)
|
List<com.liferay.portal.kernel.model.EmailAddress> |
getEmailAddresses(String className,
long classPK)
|
com.liferay.portal.kernel.model.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.kernel.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 |
EmailAddressServiceImpl
public EmailAddressServiceImpl()
addEmailAddress
public com.liferay.portal.kernel.model.EmailAddress addEmailAddress(String className,
long classPK,
String address,
long typeId,
boolean primary,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteEmailAddress
public void deleteEmailAddress(long emailAddressId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
fetchEmailAddress
public com.liferay.portal.kernel.model.EmailAddress fetchEmailAddress(long emailAddressId)
throws com.liferay.portal.kernel.exception.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:
com.liferay.portal.kernel.exception.PortalException
getEmailAddress
public com.liferay.portal.kernel.model.EmailAddress getEmailAddress(long emailAddressId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getEmailAddresses
public List<com.liferay.portal.kernel.model.EmailAddress> getEmailAddresses(String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateEmailAddress
public com.liferay.portal.kernel.model.EmailAddress updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException