Package com.liferay.commerce.service
Class CommerceAddressServiceUtil
java.lang.Object
com.liferay.commerce.service.CommerceAddressServiceUtil
Provides the remote service utility for CommerceAddress. This utility wraps
com.liferay.commerce.service.impl.CommerceAddressServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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) Deprecated.As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity.static 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) static 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) static void
deleteCommerceAddress
(long commerceAddressId) static CommerceAddress
fetchCommerceAddress
(long commerceAddressId) static CommerceAddress
fetchCommerceAddressByExternalReferenceCode
(String externalReferenceCode, long companyId) static List<CommerceAddress>
getBillingCommerceAddresses
(long companyId, String className, long classPK) static List<CommerceAddress>
getBillingCommerceAddresses
(long channelId, String className, long classPK, int start, int end) static List<CommerceAddress>
getBillingCommerceAddresses
(long companyId, String className, long classPK, long commerceChannelId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) static List<CommerceAddress>
getBillingCommerceAddressesCount
(long channelId, String className, long classPK, int start, int end) static int
getBillingCommerceAddressesCount
(long companyId, String className, long classPK, long commerceChannelId, String keywords) static CommerceAddress
getCommerceAddress
(long commerceAddressId) static List<CommerceAddress>
getCommerceAddresses
(long groupId, String className, long classPK) Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyIdstatic List<CommerceAddress>
getCommerceAddresses
(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 *ByCompanyIdstatic List<CommerceAddress>
getCommerceAddresses
(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) static List<CommerceAddress>
getCommerceAddressesByCompanyId
(long companyId, String className, long classPK) static List<CommerceAddress>
getCommerceAddressesByCompanyId
(long companyId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) static int
getCommerceAddressesCount
(long groupId, String className, long classPK) Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyIdstatic int
getCommerceAddressesCount
(String className, long classPK) static int
getCommerceAddressesCountByCompanyId
(long companyId, String className, long classPK) static String
Returns the OSGi service identifier.static CommerceAddressService
static List<CommerceAddress>
getShippingCommerceAddresses
(long companyId, String className, long classPK) static List<CommerceAddress>
getShippingCommerceAddresses
(long channelId, String className, long classPK, int start, int end) static List<CommerceAddress>
getShippingCommerceAddresses
(long companyId, String className, long classPK, long commerceChannelId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) static List<CommerceAddress>
getShippingCommerceAddressesCount
(long channelId, String className, long classPK, int start, int end) static int
getShippingCommerceAddressesCount
(long companyId, String className, long classPK, long commerceChannelId, String keywords) static 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.static 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) static 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) Deprecated.As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity.static 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)
-
Constructor Details
-
CommerceAddressServiceUtil
public CommerceAddressServiceUtil()
-
-
Method Details
-
addCommerceAddress
@Deprecated public static 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.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceAddress
public static 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceAddress
public static 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceAddress
public static void deleteCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceAddress
public static CommerceAddress fetchCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceAddressByExternalReferenceCode
public static CommerceAddress fetchCommerceAddressByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddresses
public static List<CommerceAddress> getBillingCommerceAddresses(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddresses
public static List<CommerceAddress> getBillingCommerceAddresses(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddresses
public static 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddressesCount
public static List<CommerceAddress> getBillingCommerceAddressesCount(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddressesCount
public static int getBillingCommerceAddressesCount(long companyId, String className, long classPK, long commerceChannelId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddress
public static CommerceAddress getCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddresses
@Deprecated public static 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- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddresses
@Deprecated public static 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- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddresses
public static 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesByCompanyId
public static List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesByCompanyId
public static 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesCount
@Deprecated public static 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- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesCount
public static int getCommerceAddressesCount(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesCountByCompanyId
public static int getCommerceAddressesCountByCompanyId(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getShippingCommerceAddresses
public static List<CommerceAddress> getShippingCommerceAddresses(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingCommerceAddresses
public static List<CommerceAddress> getShippingCommerceAddresses(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingCommerceAddresses
public static 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingCommerceAddressesCount
public static List<CommerceAddress> getShippingCommerceAddressesCount(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingCommerceAddressesCount
public static int getShippingCommerceAddressesCount(long companyId, String className, long classPK, long commerceChannelId, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceAddresses
@Deprecated public static 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- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceAddresses
public static 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceAddress
@Deprecated public static 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.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceAddress
public static 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-