@ProviderType public class EmailAddressLocalServiceWrapper extends Object implements EmailAddressLocalService, ServiceWrapper<EmailAddressLocalService>
EmailAddressLocalService.EmailAddressLocalService| Constructor and Description |
|---|
EmailAddressLocalServiceWrapper(EmailAddressLocalService emailAddressLocalService) |
| Modifier and Type | Method and Description |
|---|---|
EmailAddress |
addEmailAddress(EmailAddress emailAddress)
Adds the email address to the database.
|
EmailAddress |
addEmailAddress(long userId,
String className,
long classPK,
String address,
long typeId,
boolean primary,
ServiceContext serviceContext) |
EmailAddress |
createEmailAddress(long emailAddressId)
Creates a new email address with the primary key.
|
EmailAddress |
deleteEmailAddress(EmailAddress emailAddress)
Deletes the email address from the database.
|
EmailAddress |
deleteEmailAddress(long emailAddressId)
Deletes the email address with the primary key from the database.
|
void |
deleteEmailAddresses(long companyId,
String className,
long classPK) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
EmailAddress |
fetchEmailAddress(long emailAddressId) |
EmailAddress |
fetchEmailAddressByUuidAndCompanyId(String uuid,
long companyId)
Returns the email address with the matching UUID and company.
|
ActionableDynamicQuery |
getActionableDynamicQuery() |
EmailAddress |
getEmailAddress(long emailAddressId)
Returns the email address with the primary key.
|
EmailAddress |
getEmailAddressByUuidAndCompanyId(String uuid,
long companyId)
Returns the email address with the matching UUID and company.
|
List<EmailAddress> |
getEmailAddresses() |
List<EmailAddress> |
getEmailAddresses(int start,
int end)
Returns a range of all the email addresses.
|
List<EmailAddress> |
getEmailAddresses(long companyId,
String className,
long classPK) |
int |
getEmailAddressesCount()
Returns the number of email addresses.
|
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
EmailAddressLocalService |
getWrappedService() |
void |
setWrappedService(EmailAddressLocalService emailAddressLocalService) |
EmailAddress |
updateEmailAddress(EmailAddress emailAddress)
Updates the email address in the database or adds it if it does not yet exist.
|
EmailAddress |
updateEmailAddress(long emailAddressId,
String address,
long typeId,
boolean primary) |
public EmailAddressLocalServiceWrapper(EmailAddressLocalService emailAddressLocalService)
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface EmailAddressLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface EmailAddressLocalServicepublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface EmailAddressLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface EmailAddressLocalServicepublic EmailAddress addEmailAddress(EmailAddress emailAddress)
addEmailAddress in interface EmailAddressLocalServiceemailAddress - the email addresspublic EmailAddress addEmailAddress(long userId, String className, long classPK, String address, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
addEmailAddress in interface EmailAddressLocalServicePortalExceptionpublic EmailAddress createEmailAddress(long emailAddressId)
createEmailAddress in interface EmailAddressLocalServiceemailAddressId - the primary key for the new email addresspublic EmailAddress deleteEmailAddress(EmailAddress emailAddress)
deleteEmailAddress in interface EmailAddressLocalServiceemailAddress - the email addresspublic EmailAddress deleteEmailAddress(long emailAddressId) throws PortalException
deleteEmailAddress in interface EmailAddressLocalServiceemailAddressId - the primary key of the email addressPortalException - if a email address with the primary key could not be foundpublic EmailAddress fetchEmailAddress(long emailAddressId)
fetchEmailAddress in interface EmailAddressLocalServicepublic EmailAddress fetchEmailAddressByUuidAndCompanyId(String uuid, long companyId)
fetchEmailAddressByUuidAndCompanyId in interface EmailAddressLocalServiceuuid - the email address's UUIDcompanyId - the primary key of the companynull if a matching email address could not be foundpublic EmailAddress getEmailAddress(long emailAddressId) throws PortalException
getEmailAddress in interface EmailAddressLocalServiceemailAddressId - the primary key of the email addressPortalException - if a email address with the primary key could not be foundpublic EmailAddress getEmailAddressByUuidAndCompanyId(String uuid, long companyId) throws PortalException
getEmailAddressByUuidAndCompanyId in interface EmailAddressLocalServiceuuid - the email address's UUIDcompanyId - the primary key of the companyPortalException - if a matching email address could not be foundpublic EmailAddress updateEmailAddress(EmailAddress emailAddress)
updateEmailAddress in interface EmailAddressLocalServiceemailAddress - the email addresspublic EmailAddress updateEmailAddress(long emailAddressId, String address, long typeId, boolean primary) throws PortalException
updateEmailAddress in interface EmailAddressLocalServicePortalExceptionpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface EmailAddressLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface EmailAddressLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic int getEmailAddressesCount()
getEmailAddressesCount in interface EmailAddressLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface EmailAddressLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface EmailAddressLocalServicedynamicQuery - the dynamic querypublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.EmailAddressModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface EmailAddressLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.EmailAddressModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface EmailAddressLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<EmailAddress> getEmailAddresses()
getEmailAddresses in interface EmailAddressLocalServicepublic List<EmailAddress> getEmailAddresses(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.EmailAddressModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getEmailAddresses in interface EmailAddressLocalServicestart - the lower bound of the range of email addressesend - the upper bound of the range of email addresses (not inclusive)public List<EmailAddress> getEmailAddresses(long companyId, String className, long classPK)
getEmailAddresses in interface EmailAddressLocalServicepublic long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface EmailAddressLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface EmailAddressLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic void deleteEmailAddresses(long companyId,
String className,
long classPK)
deleteEmailAddresses in interface EmailAddressLocalServicepublic EmailAddressLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<EmailAddressLocalService>public void setWrappedService(EmailAddressLocalService emailAddressLocalService)
setWrappedService in interface ServiceWrapper<EmailAddressLocalService>