Package com.liferay.commerce.service
Class CommerceAddressServiceWrapper
java.lang.Object
com.liferay.commerce.service.CommerceAddressServiceWrapper
- All Implemented Interfaces:
CommerceAddressService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressService>
public class CommerceAddressServiceWrapper
extends Object
implements CommerceAddressService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressService>
Provides a wrapper for
CommerceAddressService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceAddressServiceWrapper
(CommerceAddressService commerceAddressService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceAddress
(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) Deprecated.As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity.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) 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) void
deleteCommerceAddress
(long commerceAddressId) fetchCommerceAddress
(long commerceAddressId) fetchCommerceAddressByExternalReferenceCode
(String externalReferenceCode, long companyId) getBillingCommerceAddresses
(long companyId, String className, long classPK) getBillingCommerceAddresses
(long channelId, String className, long classPK, int start, int end) getBillingCommerceAddresses
(long companyId, String className, long classPK, long commerceChannelId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) getBillingCommerceAddressesCount
(long channelId, String className, long classPK, int start, int end) int
getBillingCommerceAddressesCount
(long companyId, String className, long classPK, long commerceChannelId, String keywords) getCommerceAddress
(long commerceAddressId) getCommerceAddresses
(long groupId, String className, long classPK) Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyIdgetCommerceAddresses
(long groupId, 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 *ByCompanyIdgetCommerceAddresses
(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) getCommerceAddressesByCompanyId
(long companyId, String className, long classPK) getCommerceAddressesByCompanyId
(long companyId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) int
getCommerceAddressesCount
(long groupId, String className, long classPK) Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyIdint
getCommerceAddressesCount
(String className, long classPK) int
getCommerceAddressesCountByCompanyId
(long companyId, String className, long classPK) Returns the OSGi service identifier.getShippingCommerceAddresses
(long companyId, String className, long classPK) getShippingCommerceAddresses
(long channelId, String className, long classPK, int start, int end) getShippingCommerceAddresses
(long companyId, String className, long classPK, long commerceChannelId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) getShippingCommerceAddressesCount
(long channelId, String className, long classPK, int start, int end) int
getShippingCommerceAddressesCount
(long companyId, String className, long classPK, long commerceChannelId, String keywords) com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress>
searchCommerceAddresses
(long companyId, long groupId, String className, long classPK, 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.com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress>
searchCommerceAddresses
(long companyId, String className, long classPK, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) void
setWrappedService
(CommerceAddressService commerceAddressService) 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) Deprecated.As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity.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)
-
Constructor Details
-
CommerceAddressServiceWrapper
public CommerceAddressServiceWrapper() -
CommerceAddressServiceWrapper
-
-
Method Details
-
addCommerceAddress
@Deprecated public 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 Deprecated.As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity. Pass type.- Specified by:
addCommerceAddress
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceAddress
public 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 - Specified by:
addCommerceAddress
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceAddress
public 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 - Specified by:
addCommerceAddress
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceAddress
public void deleteCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceAddress
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceAddress
public CommerceAddress fetchCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceAddress
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceAddressByExternalReferenceCode
public CommerceAddress fetchCommerceAddressByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceAddressByExternalReferenceCode
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddresses
public List<CommerceAddress> getBillingCommerceAddresses(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getBillingCommerceAddresses
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddresses
public List<CommerceAddress> getBillingCommerceAddresses(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getBillingCommerceAddresses
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddresses
public List<CommerceAddress> 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 - Specified by:
getBillingCommerceAddresses
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddressesCount
public List<CommerceAddress> getBillingCommerceAddressesCount(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getBillingCommerceAddressesCount
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddressesCount
public int getBillingCommerceAddressesCount(long companyId, String className, long classPK, long commerceChannelId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getBillingCommerceAddressesCount
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddress
public CommerceAddress getCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceAddress
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddresses
@Deprecated public List<CommerceAddress> getCommerceAddresses(long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId- Specified by:
getCommerceAddresses
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddresses
@Deprecated public List<CommerceAddress> getCommerceAddresses(long groupId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId- Specified by:
getCommerceAddresses
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddresses
public List<CommerceAddress> getCommerceAddresses(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceAddresses
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesByCompanyId
public List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceAddressesByCompanyId
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesByCompanyId
public List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceAddressesByCompanyId
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesCount
@Deprecated public int getCommerceAddressesCount(long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId- Specified by:
getCommerceAddressesCount
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesCount
public int getCommerceAddressesCount(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceAddressesCount
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesCountByCompanyId
public int getCommerceAddressesCountByCompanyId(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceAddressesCountByCompanyId
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceAddressService
- Returns:
- the OSGi service identifier
-
getShippingCommerceAddresses
public List<CommerceAddress> getShippingCommerceAddresses(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getShippingCommerceAddresses
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingCommerceAddresses
public List<CommerceAddress> getShippingCommerceAddresses(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getShippingCommerceAddresses
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingCommerceAddresses
public List<CommerceAddress> 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 - Specified by:
getShippingCommerceAddresses
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingCommerceAddressesCount
public List<CommerceAddress> getShippingCommerceAddressesCount(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getShippingCommerceAddressesCount
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingCommerceAddressesCount
public int getShippingCommerceAddressesCount(long companyId, String className, long classPK, long commerceChannelId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getShippingCommerceAddressesCount
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceAddresses
@Deprecated public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> 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 Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company. Don't need to pass groupId- Specified by:
searchCommerceAddresses
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceAddresses
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> 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 - Specified by:
searchCommerceAddresses
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceAddress
@Deprecated public 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 Deprecated.As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity. Pass type.- Specified by:
updateCommerceAddress
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceAddress
public 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 - Specified by:
updateCommerceAddress
in interfaceCommerceAddressService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressService>
-