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:
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<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
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(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
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
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(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEmailAddressesCount
int getEmailAddressesCount()
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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEmailAddresses
void deleteEmailAddresses(long companyId,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException