public class CommerceAddressLocalServiceWrapper extends java.lang.Object implements CommerceAddressLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressLocalService>
CommerceAddressLocalService.CommerceAddressLocalService| Constructor and Description |
|---|
CommerceAddressLocalServiceWrapper(CommerceAddressLocalService commerceAddressLocalService) |
| Modifier and Type | Method and Description |
|---|---|
CommerceAddress |
addCommerceAddress(CommerceAddress commerceAddress)
Adds the commerce address to the database.
|
CommerceAddress |
addCommerceAddress(java.lang.String className,
long classPK,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
boolean defaultBilling,
boolean defaultShipping,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity. Pass type.
|
CommerceAddress |
addCommerceAddress(java.lang.String className,
long classPK,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAddress |
copyCommerceAddress(long commerceAddressId,
java.lang.String className,
long classPK,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceAddress |
createCommerceAddress(long commerceAddressId)
Creates a new commerce address with the primary key.
|
CommerceAddress |
deleteCommerceAddress(CommerceAddress commerceAddress)
Deletes the commerce address from the database.
|
CommerceAddress |
deleteCommerceAddress(long commerceAddressId)
Deletes the commerce address with the primary key from the database.
|
void |
deleteCommerceAddresses(java.lang.String className,
long classPK) |
void |
deleteCountryCommerceAddresses(long commerceCountryId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteRegionCommerceAddresses(long commerceRegionId) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
CommerceAddress |
fetchCommerceAddress(long commerceAddressId) |
CommerceAddress |
geolocateCommerceAddress(long commerceAddressId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<CommerceAddress> |
getBillingAndShippingCommerceAddresses(long companyId,
java.lang.String className,
long classPK) |
java.util.List<CommerceAddress> |
getBillingCommerceAddresses(long companyId,
java.lang.String className,
long classPK) |
CommerceAddress |
getCommerceAddress(long commerceAddressId)
Returns the commerce address with the primary key.
|
java.util.List<CommerceAddress> |
getCommerceAddresses(int start,
int end)
Returns a range of all the commerce addresses.
|
java.util.List<CommerceAddress> |
getCommerceAddresses(long groupId,
java.lang.String className,
long classPK)
Deprecated.
As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
|
java.util.List<CommerceAddress> |
getCommerceAddresses(long groupId,
java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
Deprecated.
As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
|
java.util.List<CommerceAddress> |
getCommerceAddresses(java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) |
java.util.List<CommerceAddress> |
getCommerceAddressesByCompanyId(long companyId,
java.lang.String className,
long classPK) |
java.util.List<CommerceAddress> |
getCommerceAddressesByCompanyId(long companyId,
java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) |
int |
getCommerceAddressesCount()
Returns the number of commerce addresses.
|
int |
getCommerceAddressesCount(long groupId,
java.lang.String className,
long classPK)
Deprecated.
As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
|
int |
getCommerceAddressesCount(java.lang.String className,
long classPK) |
int |
getCommerceAddressesCountByCompanyId(long companyId,
java.lang.String className,
long classPK) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<CommerceAddress> |
getShippingCommerceAddresses(long companyId,
java.lang.String className,
long classPK) |
CommerceAddressLocalService |
getWrappedService() |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> |
searchCommerceAddresses(long companyId,
long groupId,
java.lang.String className,
long classPK,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort)
Deprecated.
As of Mueller (7.2.x), commerceAddress is scoped to Company. Don't need to pass groupId
|
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> |
searchCommerceAddresses(long companyId,
java.lang.String className,
long classPK,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
void |
setWrappedService(CommerceAddressLocalService commerceAddressLocalService) |
CommerceAddress |
updateCommerceAddress(CommerceAddress commerceAddress)
Updates the commerce address in the database or adds it if it does not yet exist.
|
CommerceAddress |
updateCommerceAddress(long commerceAddressId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
boolean defaultBilling,
boolean defaultShipping,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity. Pass type.
|
CommerceAddress |
updateCommerceAddress(long commerceAddressId,
java.lang.String name,
java.lang.String description,
java.lang.String street1,
java.lang.String street2,
java.lang.String street3,
java.lang.String city,
java.lang.String zip,
long commerceRegionId,
long commerceCountryId,
java.lang.String phoneNumber,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public CommerceAddressLocalServiceWrapper(CommerceAddressLocalService commerceAddressLocalService)
public CommerceAddress addCommerceAddress(CommerceAddress commerceAddress)
addCommerceAddress in interface CommerceAddressLocalServicecommerceAddress - the commerce address@Deprecated public CommerceAddress addCommerceAddress(java.lang.String className, long classPK, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, boolean defaultBilling, boolean defaultShipping, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress addCommerceAddress(java.lang.String className, long classPK, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress copyCommerceAddress(long commerceAddressId, java.lang.String className, long classPK, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
copyCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress createCommerceAddress(long commerceAddressId)
createCommerceAddress in interface CommerceAddressLocalServicecommerceAddressId - the primary key for the new commerce addresspublic CommerceAddress deleteCommerceAddress(CommerceAddress commerceAddress) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAddress in interface CommerceAddressLocalServicecommerceAddress - the commerce addressPortalExceptionpublic CommerceAddress deleteCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAddress in interface CommerceAddressLocalServicecommerceAddressId - the primary key of the commerce addressPortalException - if a commerce address with the primary key could not be foundpublic void deleteCommerceAddresses(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCountryCommerceAddresses(long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException
deleteCountryCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceAddressLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteRegionCommerceAddresses(long commerceRegionId)
throws com.liferay.portal.kernel.exception.PortalException
deleteRegionCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceAddressLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceAddressLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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 and pagination is required (start and end are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceAddressModelImpl. 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 CommerceAddressLocalServicedynamicQuery - 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> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.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 and pagination is required (start and end are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceAddressModelImpl. 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 CommerceAddressLocalServicedynamicQuery - 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount in interface CommerceAddressLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceAddressLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceAddress fetchCommerceAddress(long commerceAddressId)
fetchCommerceAddress in interface CommerceAddressLocalServicepublic CommerceAddress geolocateCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
geolocateCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceAddressLocalServicepublic java.util.List<CommerceAddress> getBillingAndShippingCommerceAddresses(long companyId, java.lang.String className, long classPK)
getBillingAndShippingCommerceAddresses in interface CommerceAddressLocalServicepublic java.util.List<CommerceAddress> getBillingCommerceAddresses(long companyId, java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
getBillingCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress getCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceAddress in interface CommerceAddressLocalServicecommerceAddressId - the primary key of the commerce addressPortalException - if a commerce address with the primary key could not be foundpublic java.util.List<CommerceAddress> getCommerceAddresses(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 and pagination is required (start and end are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceAddressModelImpl. 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.
getCommerceAddresses in interface CommerceAddressLocalServicestart - the lower bound of the range of commerce addressesend - the upper bound of the range of commerce addresses (not inclusive)@Deprecated public java.util.List<CommerceAddress> getCommerceAddresses(long groupId, java.lang.String className, long classPK)
getCommerceAddresses in interface CommerceAddressLocalService@Deprecated public java.util.List<CommerceAddress> getCommerceAddresses(long groupId, java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
getCommerceAddresses in interface CommerceAddressLocalServicepublic java.util.List<CommerceAddress> getCommerceAddresses(java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
getCommerceAddresses in interface CommerceAddressLocalServicepublic java.util.List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, java.lang.String className, long classPK)
getCommerceAddressesByCompanyId in interface CommerceAddressLocalServicepublic java.util.List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
getCommerceAddressesByCompanyId in interface CommerceAddressLocalServicepublic int getCommerceAddressesCount()
getCommerceAddressesCount in interface CommerceAddressLocalService@Deprecated
public int getCommerceAddressesCount(long groupId,
java.lang.String className,
long classPK)
getCommerceAddressesCount in interface CommerceAddressLocalServicepublic int getCommerceAddressesCount(java.lang.String className,
long classPK)
getCommerceAddressesCount in interface CommerceAddressLocalServicepublic int getCommerceAddressesCountByCompanyId(long companyId,
java.lang.String className,
long classPK)
getCommerceAddressesCountByCompanyId in interface CommerceAddressLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceAddressLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceAddressLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceAddressLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<CommerceAddress> getShippingCommerceAddresses(long companyId, java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
getShippingCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalException@Deprecated public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> searchCommerceAddresses(long companyId, long groupId, java.lang.String className, long classPK, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> searchCommerceAddresses(long companyId, java.lang.String className, long classPK, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
searchCommerceAddresses in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress updateCommerceAddress(CommerceAddress commerceAddress)
updateCommerceAddress in interface CommerceAddressLocalServicecommerceAddress - the commerce address@Deprecated public CommerceAddress updateCommerceAddress(long commerceAddressId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, boolean defaultBilling, boolean defaultShipping, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddress updateCommerceAddress(long commerceAddressId, java.lang.String name, java.lang.String description, java.lang.String street1, java.lang.String street2, java.lang.String street3, java.lang.String city, java.lang.String zip, long commerceRegionId, long commerceCountryId, java.lang.String phoneNumber, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceAddress in interface CommerceAddressLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceAddressLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressLocalService>public void setWrappedService(CommerceAddressLocalService commerceAddressLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressLocalService>