Package com.liferay.commerce.service
Class CommerceAddressLocalServiceUtil
java.lang.Object
com.liferay.commerce.service.CommerceAddressLocalServiceUtil
Deprecated.
As of Cavanaugh (7.4.x)
Provides the local service utility for CommerceAddress. This utility wraps
com.liferay.commerce.service.impl.CommerceAddressLocalServiceImpl
and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.- 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) Deprecated.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) Deprecated.static CommerceAddress
copyCommerceAddress
(long sourceCommerceAddressId, String className, long classPK, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.static CommerceAddress
createCommerceAddress
(long commerceAddressId) Deprecated.static CommerceAddress
deleteCommerceAddress
(CommerceAddress commerceAddress) Deprecated.static void
deleteCommerceAddresses
(String className, long classPK) Deprecated.static void
deleteCountryCommerceAddresses
(long countryId) Deprecated.static void
deleteRegionCommerceAddresses
(long regionId) Deprecated.static CommerceAddress
fetchCommerceAddress
(long commerceAddressId) Deprecated.static CommerceAddress
fetchCommerceAddressByExternalReferenceCode
(String externalReferenceCode, long companyId) Deprecated.static CommerceAddress
geolocateCommerceAddress
(long commerceAddressId) Deprecated.static List<CommerceAddress>
getBillingAndShippingCommerceAddresses
(long companyId, String className, long classPK) Deprecated.static List<CommerceAddress>
getBillingCommerceAddresses
(long companyId, String className, long classPK) Deprecated.static List<CommerceAddress>
getBillingCommerceAddresses
(long channelId, String className, long classPK, int start, int end) Deprecated.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) Deprecated.static int
getBillingCommerceAddressesCount
(long channelId, String className, long classPK, int start, int end) Deprecated.static int
getBillingCommerceAddressesCount
(long companyId, String className, long classPK, long commerceChannelId, String keywords) Deprecated.static CommerceAddress
getCommerceAddress
(long commerceAddressId) Deprecated.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) Deprecated.static List<CommerceAddress>
getCommerceAddressesByCompanyId
(long companyId, String className, long classPK) Deprecated.static List<CommerceAddress>
getCommerceAddressesByCompanyId
(long companyId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) Deprecated.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) Deprecated.static int
getCommerceAddressesCountByCompanyId
(long companyId, String className, long classPK) Deprecated.static String
Deprecated.Returns the OSGi service identifier.static CommerceAddressLocalService
Deprecated.static List<CommerceAddress>
getShippingCommerceAddresses
(long companyId, String className, long classPK) Deprecated.static List<CommerceAddress>
getShippingCommerceAddresses
(long channelId, String className, long classPK, int start, int end) Deprecated.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) Deprecated.static int
getShippingCommerceAddressesCount
(long companyId, String className, long classPK, long commerceChannelId, String keywords) Deprecated.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) Deprecated.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) Deprecated.
-
Constructor Details
-
CommerceAddressLocalServiceUtil
public CommerceAddressLocalServiceUtil()Deprecated.
-
-
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 Deprecated.- 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 Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyCommerceAddress
public static CommerceAddress copyCommerceAddress(long sourceCommerceAddressId, String className, long classPK, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCommerceAddress
Deprecated. -
deleteCommerceAddress
public static CommerceAddress deleteCommerceAddress(CommerceAddress commerceAddress) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceAddresses
public static void deleteCommerceAddresses(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCountryCommerceAddresses
public static void deleteCountryCommerceAddresses(long countryId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteRegionCommerceAddresses
public static void deleteRegionCommerceAddresses(long regionId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceAddress
Deprecated. -
fetchCommerceAddressByExternalReferenceCode
public static CommerceAddress fetchCommerceAddressByExternalReferenceCode(String externalReferenceCode, long companyId) Deprecated. -
geolocateCommerceAddress
public static CommerceAddress geolocateCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingAndShippingCommerceAddresses
public static List<CommerceAddress> getBillingAndShippingCommerceAddresses(long companyId, String className, long classPK) Deprecated. -
getBillingCommerceAddresses
public static List<CommerceAddress> getBillingCommerceAddresses(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddresses
public static List<CommerceAddress> getBillingCommerceAddresses(long channelId, String className, long classPK, int start, int end) Deprecated. -
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 Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddressesCount
public static int getBillingCommerceAddressesCount(long channelId, String className, long classPK, int start, int end) Deprecated. -
getBillingCommerceAddressesCount
public static int getBillingCommerceAddressesCount(long companyId, String className, long classPK, long commerceChannelId, String keywords) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddress
public static CommerceAddress getCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddresses
@Deprecated public static List<CommerceAddress> getCommerceAddresses(long groupId, String className, long classPK) Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId -
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) Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId -
getCommerceAddresses
public static List<CommerceAddress> getCommerceAddresses(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) Deprecated. -
getCommerceAddressesByCompanyId
public static List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK) Deprecated. -
getCommerceAddressesByCompanyId
public static List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) Deprecated. -
getCommerceAddressesCount
@Deprecated public static int getCommerceAddressesCount(long groupId, String className, long classPK) Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId -
getCommerceAddressesCount
Deprecated. -
getCommerceAddressesCountByCompanyId
public static int getCommerceAddressesCountByCompanyId(long companyId, String className, long classPK) Deprecated. -
getOSGiServiceIdentifier
Deprecated.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 Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingCommerceAddresses
public static List<CommerceAddress> getShippingCommerceAddresses(long channelId, String className, long classPK, int start, int end) Deprecated. -
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 Deprecated.- 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 Deprecated.- 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 Deprecated.- 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 Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
Deprecated.
-