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 CommerceAddressaddCommerceAddress(String externalReferenceCode, String className, long classPK, long countryId, long regionId, String city, String description, String name, String phoneNumber, String street1, String street2, String street3, String subtype, int type, String zip, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.static CommerceAddresscopyCommerceAddress(long sourceCommerceAddressId, String className, long classPK, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.static CommerceAddresscreateCommerceAddress(long commerceAddressId) Deprecated.static CommerceAddressdeleteCommerceAddress(CommerceAddress commerceAddress) Deprecated.static voiddeleteCommerceAddresses(String className, long classPK) Deprecated.static voiddeleteCountryCommerceAddresses(long countryId) Deprecated.static voiddeleteRegionCommerceAddresses(long regionId) Deprecated.static CommerceAddressfetchCommerceAddress(long commerceAddressId) Deprecated.static CommerceAddressfetchCommerceAddressByExternalReferenceCode(String externalReferenceCode, long companyId) Deprecated.static CommerceAddressgeolocateCommerceAddress(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 intgetBillingCommerceAddressesCount(long channelId, String className, long classPK, int start, int end) Deprecated.static intgetBillingCommerceAddressesCount(long companyId, String className, long classPK, long commerceChannelId, String keywords) Deprecated.static CommerceAddressgetCommerceAddress(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 intgetCommerceAddressesCount(long groupId, String className, long classPK) Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyIdstatic intgetCommerceAddressesCount(String className, long classPK) Deprecated.static intgetCommerceAddressesCountByCompanyId(long companyId, String className, long classPK) Deprecated.static StringDeprecated.Returns the OSGi service identifier.static CommerceAddressLocalServiceDeprecated.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 intgetShippingCommerceAddressesCount(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 CommerceAddressupdateCommerceAddress(String externalReferenceCode, long commerceAddressId, long countryId, long regionId, String city, String description, String name, String phoneNumber, String street1, String street2, String street3, String subtype, int type, String zip, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.
-
Constructor Details
-
CommerceAddressLocalServiceUtil
public CommerceAddressLocalServiceUtil()Deprecated.
-
-
Method Details
-
addCommerceAddress
public static CommerceAddress addCommerceAddress(String externalReferenceCode, String className, long classPK, long countryId, long regionId, String city, String description, String name, String phoneNumber, String street1, String street2, String street3, String subtype, int type, String zip, 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
public static CommerceAddress updateCommerceAddress(String externalReferenceCode, long commerceAddressId, long countryId, long regionId, String city, String description, String name, String phoneNumber, String street1, String street2, String street3, String subtype, int type, String zip, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
Deprecated.
-