Package com.liferay.commerce.service
Interface CommerceAddressService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CommerceAddressServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceAddressService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommerceAddress. 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:
-
Method Summary
Modifier and TypeMethodDescriptionaddCommerceAddress
(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) void
deleteCommerceAddress
(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) int
getBillingCommerceAddressesCount
(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) 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) int
getCommerceAddressesCountByCompanyId
(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) int
getShippingCommerceAddressesCount
(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) 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)
-
Method Details
-
addCommerceAddress
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceAddress
void deleteCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceAddress
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceAddress fetchCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCommerceAddressByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceAddress fetchCommerceAddressByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddresses
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceAddress> getBillingCommerceAddresses(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - 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) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBillingCommerceAddressesCount
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) CommerceAddress getCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddresses
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) 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 @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) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
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) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesCount
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceAddressesCount(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceAddressesCountByCompanyId
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceAddressesCountByCompanyId(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()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 - 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) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getShippingCommerceAddressesCount
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) 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 @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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceAddress
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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-