@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CommerceCountryService
extends com.liferay.portal.kernel.service.BaseService
CommerceCountryServiceUtil| Modifier and Type | Method and Description |
|---|---|
CommerceCountry |
addCommerceCountry(java.util.Map<java.util.Locale,java.lang.String> nameMap,
boolean billingAllowed,
boolean shippingAllowed,
java.lang.String twoLettersISOCode,
java.lang.String threeLettersISOCode,
int numericISOCode,
boolean subjectToVAT,
double priority,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteCommerceCountry(long commerceCountryId) |
CommerceCountry |
fetchCommerceCountry(long companyId,
java.lang.String twoLettersISOCode) |
java.util.List<CommerceCountry> |
getBillingCommerceCountries(long companyId,
boolean billingAllowed,
boolean active) |
java.util.List<CommerceCountry> |
getBillingCommerceCountriesByChannelId(long commerceChannelId,
int start,
int end) |
java.util.List<CommerceCountry> |
getCommerceCountries(long companyId,
boolean active) |
java.util.List<CommerceCountry> |
getCommerceCountries(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) |
java.util.List<CommerceCountry> |
getCommerceCountries(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) |
int |
getCommerceCountriesCount(long companyId) |
int |
getCommerceCountriesCount(long companyId,
boolean active) |
CommerceCountry |
getCommerceCountry(long commerceCountryId) |
CommerceCountry |
getCommerceCountry(long companyId,
java.lang.String twoLettersISOCode) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
java.util.List<CommerceCountry> |
getShippingCommerceCountries(long companyId,
boolean shippingAllowed,
boolean active) |
java.util.List<CommerceCountry> |
getShippingCommerceCountriesByChannelId(long commerceChannelId,
int start,
int end) |
java.util.List<CommerceCountry> |
getWarehouseCommerceCountries(long companyId,
boolean all) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceCountry> |
searchCommerceCountries(long companyId,
java.lang.Boolean active,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceCountry> |
searchCommerceCountries(com.liferay.portal.kernel.search.SearchContext searchContext)
Deprecated.
As of Athanasius (7.3.x)
|
CommerceCountry |
setActive(long commerceCountryId,
boolean active) |
CommerceCountry |
updateCommerceCountry(long commerceCountryId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
boolean billingAllowed,
boolean shippingAllowed,
java.lang.String twoLettersISOCode,
java.lang.String threeLettersISOCode,
int numericISOCode,
boolean subjectToVAT,
double priority,
boolean active,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceCountry |
updateCommerceCountryChannelFilter(long commerceCountryId,
boolean enable) |
CommerceCountry addCommerceCountry(java.util.Map<java.util.Locale,java.lang.String> nameMap, boolean billingAllowed, boolean shippingAllowed, java.lang.String twoLettersISOCode, java.lang.String threeLettersISOCode, int numericISOCode, boolean subjectToVAT, double priority, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid deleteCommerceCountry(long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
CommerceCountry fetchCommerceCountry(long companyId,
java.lang.String twoLettersISOCode)
throws com.liferay.portal.kernel.security.auth.PrincipalException
com.liferay.portal.kernel.security.auth.PrincipalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getBillingCommerceCountries(long companyId,
boolean billingAllowed,
boolean active)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getBillingCommerceCountriesByChannelId(long commerceChannelId,
int start,
int end)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getCommerceCountries(long companyId,
boolean active)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getCommerceCountries(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getCommerceCountries(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceCountriesCount(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceCountriesCount(long companyId,
boolean active)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
CommerceCountry getCommerceCountry(long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
CommerceCountry getCommerceCountry(long companyId,
java.lang.String twoLettersISOCode)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getShippingCommerceCountries(long companyId,
boolean shippingAllowed,
boolean active)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getShippingCommerceCountriesByChannelId(long commerceChannelId,
int start,
int end)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getWarehouseCommerceCountries(long companyId,
boolean all)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceCountry> searchCommerceCountries(long companyId,
java.lang.Boolean active,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Deprecated
@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceCountry> searchCommerceCountries(com.liferay.portal.kernel.search.SearchContext searchContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceCountry setActive(long commerceCountryId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceCountry updateCommerceCountry(long commerceCountryId, java.util.Map<java.util.Locale,java.lang.String> nameMap, boolean billingAllowed, boolean shippingAllowed, java.lang.String twoLettersISOCode, java.lang.String threeLettersISOCode, int numericISOCode, boolean subjectToVAT, double priority, boolean active, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionCommerceCountry updateCommerceCountryChannelFilter(long commerceCountryId, boolean enable) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException