Package com.liferay.commerce.service
Interface CommerceAddressLocalService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseLocalService
- All Known Implementing Classes:
CommerceAddressLocalServiceWrapper
@Deprecated
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceAddressLocalService
extends com.liferay.portal.kernel.service.BaseLocalService
Deprecated.
As of Cavanaugh (7.4.x)
Provides the local service interface for CommerceAddress. 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:
-
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) Deprecated.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.copyCommerceAddress
(long sourceCommerceAddressId, String className, long classPK, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.createCommerceAddress
(long commerceAddressId) Deprecated.deleteCommerceAddress
(CommerceAddress commerceAddress) Deprecated.void
deleteCommerceAddresses
(String className, long classPK) Deprecated.void
deleteCountryCommerceAddresses
(long countryId) Deprecated.void
deleteRegionCommerceAddresses
(long regionId) Deprecated.fetchCommerceAddress
(long commerceAddressId) Deprecated.fetchCommerceAddressByExternalReferenceCode
(String externalReferenceCode, long companyId) Deprecated.geolocateCommerceAddress
(long commerceAddressId) Deprecated.getBillingAndShippingCommerceAddresses
(long companyId, String className, long classPK) Deprecated.getBillingCommerceAddresses
(long companyId, String className, long classPK) Deprecated.getBillingCommerceAddresses
(long channelId, String className, long classPK, int start, int end) Deprecated.getBillingCommerceAddresses
(long companyId, String className, long classPK, long commerceChannelId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) Deprecated.int
getBillingCommerceAddressesCount
(long channelId, String className, long classPK, int start, int end) Deprecated.int
getBillingCommerceAddressesCount
(long companyId, String className, long classPK, long commerceChannelId, String keywords) Deprecated.getCommerceAddress
(long commerceAddressId) Deprecated.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) Deprecated.getCommerceAddressesByCompanyId
(long companyId, String className, long classPK) Deprecated.getCommerceAddressesByCompanyId
(long companyId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) Deprecated.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) Deprecated.int
getCommerceAddressesCountByCompanyId
(long companyId, String className, long classPK) Deprecated.Deprecated.Returns the OSGi service identifier.getShippingCommerceAddresses
(long companyId, String className, long classPK) Deprecated.getShippingCommerceAddresses
(long channelId, String className, long classPK, int start, int end) Deprecated.getShippingCommerceAddresses
(long companyId, String className, long classPK, long commerceChannelId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) Deprecated.int
getShippingCommerceAddressesCount
(long companyId, String className, long classPK, long commerceChannelId, String keywords) Deprecated.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) Deprecated.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) Deprecated.
-
Method Details
-
addCommerceAddress
@Deprecated 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
@Indexable(type=REINDEX) 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
@Indexable(type=REINDEX) 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
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
@Indexable(type=DELETE) CommerceAddress deleteCommerceAddress(CommerceAddress commerceAddress) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceAddresses
void deleteCommerceAddresses(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCountryCommerceAddresses
void deleteCountryCommerceAddresses(long countryId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteRegionCommerceAddresses
void deleteRegionCommerceAddresses(long regionId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceAddress
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceAddress fetchCommerceAddress(long commerceAddressId) Deprecated. -
fetchCommerceAddressByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceAddress fetchCommerceAddressByExternalReferenceCode(String externalReferenceCode, long companyId) Deprecated. -
geolocateCommerceAddress
@Indexable(type=REINDEX) CommerceAddress geolocateCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingAndShippingCommerceAddresses
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceAddress> getBillingAndShippingCommerceAddresses(long companyId, String className, long classPK) Deprecated. -
getBillingCommerceAddresses
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceAddress> getBillingCommerceAddresses(long channelId, String className, long classPK, int start, int end) Deprecated. -
getBillingCommerceAddresses
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getBillingCommerceAddressesCount(long channelId, String className, long classPK, int start, int end) Deprecated. -
getBillingCommerceAddressesCount
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceAddress getCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException Deprecated.- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddresses
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) 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 @Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceAddress> getCommerceAddresses(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) Deprecated. -
getCommerceAddressesByCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK) Deprecated. -
getCommerceAddressesByCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) Deprecated. -
getCommerceAddressesCount
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceAddressesCount(long groupId, String className, long classPK) Deprecated.As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId -
getCommerceAddressesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceAddressesCount(String className, long classPK) Deprecated. -
getCommerceAddressesCountByCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceAddressesCountByCompanyId(long companyId, String className, long classPK) Deprecated. -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Deprecated.Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getShippingCommerceAddresses
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceAddress> getShippingCommerceAddresses(long channelId, String className, long classPK, int start, int end) Deprecated. -
getShippingCommerceAddresses
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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 @Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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 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
@Indexable(type=REINDEX) 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
-