public class EmailAddressLocalServiceWrapper extends Object implements EmailAddressLocalService, ServiceWrapper<EmailAddressLocalService>
EmailAddressLocalService.EmailAddressLocalService| Constructor and Description |
|---|
EmailAddressLocalServiceWrapper() |
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.
|
PersistedModel |
createPersistedModel(Serializable primaryKeyObj) |
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) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic EmailAddressLocalServiceWrapper()
public EmailAddressLocalServiceWrapper(EmailAddressLocalService emailAddressLocalService)
public EmailAddress addEmailAddress(EmailAddress emailAddress)
Important: Inspect EmailAddressLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
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 PersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface EmailAddressLocalServicecreatePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic EmailAddress deleteEmailAddress(EmailAddress emailAddress)
Important: Inspect EmailAddressLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteEmailAddress in interface EmailAddressLocalServiceemailAddress - the email addresspublic EmailAddress deleteEmailAddress(long emailAddressId) throws PortalException
Important: Inspect EmailAddressLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteEmailAddress in interface EmailAddressLocalServiceemailAddressId - the primary key of the email addressPortalException - if a email address with the primary key could not be foundpublic void deleteEmailAddresses(long companyId,
String className,
long classPK)
deleteEmailAddresses in interface EmailAddressLocalServicepublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface EmailAddressLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface EmailAddressLocalServicedslQuery in interface PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface EmailAddressLocalServicedslQueryCount in interface PersistedModelLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.EmailAddressModelImpl.
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.EmailAddressModelImpl.
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 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 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 ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface EmailAddressLocalServicepublic 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 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.EmailAddressModelImpl.
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 int getEmailAddressesCount()
getEmailAddressesCount in interface EmailAddressLocalServicepublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface EmailAddressLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface EmailAddressLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface EmailAddressLocalServicepublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface EmailAddressLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic EmailAddress updateEmailAddress(EmailAddress emailAddress)
Important: Inspect EmailAddressLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateEmailAddress in interface EmailAddressLocalServiceemailAddress - the email addresspublic EmailAddress updateEmailAddress(long emailAddressId, String address, long typeId, boolean primary) throws PortalException
updateEmailAddress in interface EmailAddressLocalServicePortalExceptionpublic EmailAddressLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<EmailAddressLocalService>public void setWrappedService(EmailAddressLocalService emailAddressLocalService)
setWrappedService in interface ServiceWrapper<EmailAddressLocalService>