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) voiddeleteCommerceAddress(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) intgetBillingCommerceAddressesCount(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) intgetCommerceAddressesCount(long groupId, String className, long classPK) Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyIdintgetCommerceAddressesCount(String className, long classPK) intgetCommerceAddressesCountByCompanyId(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) intgetShippingCommerceAddressesCount(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) voidsetWrappedService(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:
addCommerceAddressin 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:
addCommerceAddressin 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:
addCommerceAddressin interfaceCommerceAddressService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceAddress
public void deleteCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceAddressin interfaceCommerceAddressService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceAddress
public CommerceAddress fetchCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchCommerceAddressin 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:
fetchCommerceAddressByExternalReferenceCodein 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:
getBillingCommerceAddressesin 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:
getBillingCommerceAddressesin 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:
getBillingCommerceAddressesin 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:
getBillingCommerceAddressesCountin 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:
getBillingCommerceAddressesCountin interfaceCommerceAddressService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddress
public CommerceAddress getCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceAddressin 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:
getCommerceAddressesin 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:
getCommerceAddressesin 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:
getCommerceAddressesin 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:
getCommerceAddressesByCompanyIdin 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:
getCommerceAddressesByCompanyIdin 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:
getCommerceAddressesCountin 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:
getCommerceAddressesCountin 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:
getCommerceAddressesCountByCompanyIdin interfaceCommerceAddressService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getShippingCommerceAddressesin 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:
getShippingCommerceAddressesin 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:
getShippingCommerceAddressesin 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:
getShippingCommerceAddressesCountin 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:
getShippingCommerceAddressesCountin 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:
searchCommerceAddressesin 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:
searchCommerceAddressesin 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:
updateCommerceAddressin 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:
updateCommerceAddressin interfaceCommerceAddressService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressService>
-