@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,
com.liferay.commerce.service.base.CommerceCountryServiceBaseImpl,
com.liferay.commerce.service.impl.CommerceCountryServiceImpl| 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) |
java.util.List<CommerceCountry> |
getBillingCommerceCountries(long groupId,
boolean billingAllowed,
boolean active) |
java.util.List<CommerceCountry> |
getCommerceCountries(long groupId,
boolean active) |
java.util.List<CommerceCountry> |
getCommerceCountries(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) |
java.util.List<CommerceCountry> |
getCommerceCountries(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) |
int |
getCommerceCountriesCount(long groupId) |
int |
getCommerceCountriesCount(long groupId,
boolean active) |
CommerceCountry |
getCommerceCountry(long commerceCountryId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
java.util.List<CommerceCountry> |
getShippingCommerceCountries(long groupId,
boolean shippingAllowed,
boolean active) |
java.util.List<CommerceCountry> |
getWarehouseCommerceCountries(long groupId,
boolean all) |
com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceCountry> |
searchCommerceCountries(long groupId,
com.liferay.portal.kernel.search.SearchContext searchContext) |
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 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)
java.util.List<CommerceCountry> getBillingCommerceCountries(long groupId,
boolean billingAllowed,
boolean active)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getCommerceCountries(long groupId,
boolean active)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getCommerceCountries(long groupId,
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 groupId,
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 groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCommerceCountriesCount(long groupId,
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.PortalExceptionjava.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getShippingCommerceCountries(long groupId,
boolean shippingAllowed,
boolean active)
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<CommerceCountry> getWarehouseCommerceCountries(long groupId,
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 groupId,
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.PortalException