|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.EmailAddressLocalServiceWrapper
@ProviderType public class EmailAddressLocalServiceWrapper
Provides a wrapper for EmailAddressLocalService.
EmailAddressLocalService| Constructor Summary | |
|---|---|
EmailAddressLocalServiceWrapper(EmailAddressLocalService emailAddressLocalService)
|
|
| Method Summary | ||
|---|---|---|
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()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
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)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmailAddressLocalServiceWrapper(EmailAddressLocalService emailAddressLocalService)
| Method Detail |
|---|
public EmailAddress addEmailAddress(EmailAddress emailAddress)
addEmailAddress in interface EmailAddressLocalServiceemailAddress - the email address
public 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 address
public EmailAddress deleteEmailAddress(EmailAddress emailAddress)
deleteEmailAddress in interface EmailAddressLocalServiceemailAddress - the email address
public EmailAddress deleteEmailAddress(long emailAddressId)
throws PortalException
deleteEmailAddress in interface EmailAddressLocalServiceemailAddressId - the primary key of the email address
PortalException - if a email address with the primary key could not be found
public void deleteEmailAddresses(long companyId,
String className,
long classPK)
deleteEmailAddresses in interface EmailAddressLocalService
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface EmailAddressLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic DynamicQuery dynamicQuery()
dynamicQuery in interface EmailAddressLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface EmailAddressLocalServicedynamicQuery - the dynamic query
public <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 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 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 long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface EmailAddressLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface EmailAddressLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public EmailAddress fetchEmailAddress(long emailAddressId)
fetchEmailAddress in interface EmailAddressLocalService
public EmailAddress fetchEmailAddressByUuidAndCompanyId(String uuid,
long companyId)
fetchEmailAddressByUuidAndCompanyId in interface EmailAddressLocalServiceuuid - the email address's UUIDcompanyId - the primary key of the company
null if a matching email address could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface EmailAddressLocalService
public EmailAddress getEmailAddress(long emailAddressId)
throws PortalException
getEmailAddress in interface EmailAddressLocalServiceemailAddressId - the primary key of the email address
PortalException - if a email address with the primary key could not be found
public EmailAddress getEmailAddressByUuidAndCompanyId(String uuid,
long companyId)
throws PortalException
getEmailAddressByUuidAndCompanyId in interface EmailAddressLocalServiceuuid - the email address's UUIDcompanyId - the primary key of the company
PortalException - if a matching email address could not be foundpublic List<EmailAddress> getEmailAddresses()
getEmailAddresses in interface EmailAddressLocalService
public List<EmailAddress> getEmailAddresses(long companyId,
String className,
long classPK)
getEmailAddresses in interface EmailAddressLocalService
public 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 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 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 EmailAddressLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface EmailAddressLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic EmailAddress updateEmailAddress(EmailAddress emailAddress)
updateEmailAddress in interface EmailAddressLocalServiceemailAddress - the email address
public 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>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||