Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.liferay.commerce.service.CommerceAddressServiceWrapper Maven / Gradle / Ivy
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.commerce.service;
import com.liferay.portal.kernel.service.ServiceWrapper;
/**
* Provides a wrapper for {@link CommerceAddressService}.
*
* @author Alessio Antonio Rendina
* @see CommerceAddressService
* @generated
*/
public class CommerceAddressServiceWrapper
implements CommerceAddressService, ServiceWrapper {
public CommerceAddressServiceWrapper() {
this(null);
}
public CommerceAddressServiceWrapper(
CommerceAddressService commerceAddressService) {
_commerceAddressService = commerceAddressService;
}
/**
* @deprecated As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity. Pass type.
*/
@Deprecated
@Override
public com.liferay.commerce.model.CommerceAddress addCommerceAddress(
String className, long classPK, String name, String description,
String street1, String street2, String street3, String city,
String zip, long regionId, long countryId, String phoneNumber,
boolean defaultBilling, boolean defaultShipping,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.addCommerceAddress(
className, classPK, name, description, street1, street2, street3,
city, zip, regionId, countryId, phoneNumber, defaultBilling,
defaultShipping, serviceContext);
}
@Override
public com.liferay.commerce.model.CommerceAddress addCommerceAddress(
String className, long classPK, String name, String description,
String street1, String street2, String street3, String city,
String zip, long regionId, long countryId, String phoneNumber,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.addCommerceAddress(
className, classPK, name, description, street1, street2, street3,
city, zip, regionId, countryId, phoneNumber, type, serviceContext);
}
@Override
public com.liferay.commerce.model.CommerceAddress addCommerceAddress(
String externalReferenceCode, String className, long classPK,
String name, String description, String street1, String street2,
String street3, String city, String zip, long regionId,
long countryId, String phoneNumber, int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.addCommerceAddress(
externalReferenceCode, className, classPK, name, description,
street1, street2, street3, city, zip, regionId, countryId,
phoneNumber, type, serviceContext);
}
@Override
public void deleteCommerceAddress(long commerceAddressId)
throws com.liferay.portal.kernel.exception.PortalException {
_commerceAddressService.deleteCommerceAddress(commerceAddressId);
}
@Override
public com.liferay.commerce.model.CommerceAddress fetchCommerceAddress(
long commerceAddressId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.fetchCommerceAddress(commerceAddressId);
}
@Override
public com.liferay.commerce.model.CommerceAddress
fetchCommerceAddressByExternalReferenceCode(
String externalReferenceCode, long companyId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.
fetchCommerceAddressByExternalReferenceCode(
externalReferenceCode, companyId);
}
@Override
public java.util.List
getBillingCommerceAddresses(
long companyId, String className, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getBillingCommerceAddresses(
companyId, className, classPK);
}
@Override
public java.util.List
getBillingCommerceAddresses(
long channelId, String className, long classPK, int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getBillingCommerceAddresses(
channelId, className, classPK, start, end);
}
@Override
public java.util.List
getBillingCommerceAddresses(
long companyId, String className, long classPK,
long commerceChannelId, String keywords, int start, int end,
com.liferay.portal.kernel.search.Sort sort)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getBillingCommerceAddresses(
companyId, className, classPK, commerceChannelId, keywords, start,
end, sort);
}
@Override
public java.util.List
getBillingCommerceAddressesCount(
long channelId, String className, long classPK, int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getBillingCommerceAddressesCount(
channelId, className, classPK, start, end);
}
@Override
public int getBillingCommerceAddressesCount(
long companyId, String className, long classPK,
long commerceChannelId, String keywords)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getBillingCommerceAddressesCount(
companyId, className, classPK, commerceChannelId, keywords);
}
@Override
public com.liferay.commerce.model.CommerceAddress getCommerceAddress(
long commerceAddressId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getCommerceAddress(commerceAddressId);
}
/**
* @deprecated As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
*/
@Deprecated
@Override
public java.util.List
getCommerceAddresses(long groupId, String className, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getCommerceAddresses(
groupId, className, classPK);
}
/**
* @deprecated As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
*/
@Deprecated
@Override
public java.util.List
getCommerceAddresses(
long groupId, String className, long classPK, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getCommerceAddresses(
groupId, className, classPK, start, end, orderByComparator);
}
@Override
public java.util.List
getCommerceAddresses(
String className, long classPK, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getCommerceAddresses(
className, classPK, start, end, orderByComparator);
}
@Override
public java.util.List
getCommerceAddressesByCompanyId(
long companyId, String className, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getCommerceAddressesByCompanyId(
companyId, className, classPK);
}
@Override
public java.util.List
getCommerceAddressesByCompanyId(
long companyId, String className, long classPK, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getCommerceAddressesByCompanyId(
companyId, className, classPK, start, end, orderByComparator);
}
/**
* @deprecated As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
*/
@Deprecated
@Override
public int getCommerceAddressesCount(
long groupId, String className, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getCommerceAddressesCount(
groupId, className, classPK);
}
@Override
public int getCommerceAddressesCount(String className, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getCommerceAddressesCount(
className, classPK);
}
@Override
public int getCommerceAddressesCountByCompanyId(
long companyId, String className, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getCommerceAddressesCountByCompanyId(
companyId, className, classPK);
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return _commerceAddressService.getOSGiServiceIdentifier();
}
@Override
public java.util.List
getShippingCommerceAddresses(
long companyId, String className, long classPK)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getShippingCommerceAddresses(
companyId, className, classPK);
}
@Override
public java.util.List
getShippingCommerceAddresses(
long channelId, String className, long classPK, int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getShippingCommerceAddresses(
channelId, className, classPK, start, end);
}
@Override
public java.util.List
getShippingCommerceAddresses(
long companyId, String className, long classPK,
long commerceChannelId, String keywords, int start, int end,
com.liferay.portal.kernel.search.Sort sort)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getShippingCommerceAddresses(
companyId, className, classPK, commerceChannelId, keywords, start,
end, sort);
}
@Override
public java.util.List
getShippingCommerceAddressesCount(
long channelId, String className, long classPK, int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getShippingCommerceAddressesCount(
channelId, className, classPK, start, end);
}
@Override
public int getShippingCommerceAddressesCount(
long companyId, String className, long classPK,
long commerceChannelId, String keywords)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.getShippingCommerceAddressesCount(
companyId, className, classPK, commerceChannelId, keywords);
}
/**
* @deprecated As of Mueller (7.2.x), commerceAddress is scoped to Company. Don't need to pass groupId
*/
@Deprecated
@Override
public com.liferay.portal.kernel.search.BaseModelSearchResult
searchCommerceAddresses(
long companyId, long groupId, String className, long classPK,
String keywords, int start, int end,
com.liferay.portal.kernel.search.Sort sort)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.searchCommerceAddresses(
companyId, groupId, className, classPK, keywords, start, end, sort);
}
@Override
public com.liferay.portal.kernel.search.BaseModelSearchResult
searchCommerceAddresses(
long companyId, String className, long classPK, String keywords,
int start, int end, com.liferay.portal.kernel.search.Sort sort)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.searchCommerceAddresses(
companyId, className, classPK, keywords, start, end, sort);
}
/**
* @deprecated As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity. Pass type.
*/
@Deprecated
@Override
public com.liferay.commerce.model.CommerceAddress updateCommerceAddress(
long commerceAddressId, String name, String description,
String street1, String street2, String street3, String city,
String zip, long regionId, long countryId, String phoneNumber,
boolean defaultBilling, boolean defaultShipping,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.updateCommerceAddress(
commerceAddressId, name, description, street1, street2, street3,
city, zip, regionId, countryId, phoneNumber, defaultBilling,
defaultShipping, serviceContext);
}
@Override
public com.liferay.commerce.model.CommerceAddress updateCommerceAddress(
long commerceAddressId, String name, String description,
String street1, String street2, String street3, String city,
String zip, long regionId, long countryId, String phoneNumber,
int type,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAddressService.updateCommerceAddress(
commerceAddressId, name, description, street1, street2, street3,
city, zip, regionId, countryId, phoneNumber, type, serviceContext);
}
@Override
public CommerceAddressService getWrappedService() {
return _commerceAddressService;
}
@Override
public void setWrappedService(
CommerceAddressService commerceAddressService) {
_commerceAddressService = commerceAddressService;
}
private CommerceAddressService _commerceAddressService;
}