com.liferay.portal.service
Interface EmailAddressLocalService
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:
EmailAddressLocalServiceFactory
,
EmailAddressLocalServiceUtil
Method Summary |
EmailAddress |
addEmailAddress(EmailAddress emailAddress)
|
EmailAddress |
addEmailAddress(long userId,
java.lang.String className,
long classPK,
java.lang.String address,
int typeId,
boolean primary)
|
void |
deleteEmailAddress(EmailAddress emailAddress)
|
void |
deleteEmailAddress(long emailAddressId)
|
void |
deleteEmailAddresses(long companyId,
java.lang.String className,
long classPK)
|
java.util.List<EmailAddress> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<EmailAddress> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
EmailAddress |
getEmailAddress(long emailAddressId)
|
java.util.List<EmailAddress> |
getEmailAddresses()
|
java.util.List<EmailAddress> |
getEmailAddresses(long companyId,
java.lang.String className,
long classPK)
|
EmailAddress |
updateEmailAddress(EmailAddress emailAddress)
|
EmailAddress |
updateEmailAddress(long emailAddressId,
java.lang.String address,
int typeId,
boolean primary)
|
addEmailAddress
EmailAddress addEmailAddress(EmailAddress emailAddress)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteEmailAddress
void deleteEmailAddress(long emailAddressId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteEmailAddress
void deleteEmailAddress(EmailAddress emailAddress)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
dynamicQuery
java.util.List<EmailAddress> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<EmailAddress> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
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
addEmailAddress
EmailAddress addEmailAddress(long userId,
java.lang.String className,
long classPK,
java.lang.String address,
int typeId,
boolean primary)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteEmailAddresses
void deleteEmailAddresses(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEmailAddress
EmailAddress getEmailAddress(long emailAddressId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getEmailAddresses
java.util.List<EmailAddress> getEmailAddresses()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEmailAddresses
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException