@ProviderType
public class CommerceCountryServiceUtil
extends java.lang.Object
com.liferay.commerce.service.impl.CommerceCountryServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.CommerceCountryService,
com.liferay.commerce.service.base.CommerceCountryServiceBaseImpl,
com.liferay.commerce.service.impl.CommerceCountryServiceImpl| Constructor and Description |
|---|
CommerceCountryServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static 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) |
static void |
deleteCommerceCountry(long commerceCountryId) |
static java.util.List<CommerceCountry> |
getBillingCommerceCountries(long groupId,
boolean billingAllowed,
boolean active) |
static java.util.List<CommerceCountry> |
getCommerceCountries(long groupId,
boolean active) |
static java.util.List<CommerceCountry> |
getCommerceCountries(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) |
static java.util.List<CommerceCountry> |
getCommerceCountries(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) |
static int |
getCommerceCountriesCount(long groupId) |
static int |
getCommerceCountriesCount(long groupId,
boolean active) |
static CommerceCountry |
getCommerceCountry(long commerceCountryId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceCountryService |
getService() |
static java.util.List<CommerceCountry> |
getShippingCommerceCountries(long groupId,
boolean shippingAllowed,
boolean active) |
static java.util.List<CommerceCountry> |
getWarehouseCommerceCountries(long groupId,
boolean all) |
static com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceCountry> |
searchCommerceCountries(long groupId,
com.liferay.portal.kernel.search.SearchContext searchContext) |
static CommerceCountry |
setActive(long commerceCountryId,
boolean active) |
static 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) |
public static 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.PortalExceptionpublic static void deleteCommerceCountry(long commerceCountryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<CommerceCountry> getBillingCommerceCountries(long groupId, boolean billingAllowed, boolean active)
public static java.util.List<CommerceCountry> getCommerceCountries(long groupId, boolean active)
public static 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.PortalExceptionpublic static 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.PortalExceptionpublic static int getCommerceCountriesCount(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCommerceCountriesCount(long groupId,
boolean active)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceCountry getCommerceCountry(long commerceCountryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<CommerceCountry> getShippingCommerceCountries(long groupId, boolean shippingAllowed, boolean active)
public static java.util.List<CommerceCountry> getWarehouseCommerceCountries(long groupId, boolean all) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static 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.PortalExceptionpublic static CommerceCountry setActive(long commerceCountryId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static 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) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceCountryService getService()