public class CommerceCountryServiceUtil
extends java.lang.Object
com.liferay.commerce.service.impl.CommerceCountryServiceImpl and is an
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| 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 CommerceCountry |
fetchCommerceCountry(long companyId,
java.lang.String twoLettersISOCode) |
static java.util.List<CommerceCountry> |
getBillingCommerceCountries(long companyId,
boolean billingAllowed,
boolean active) |
static java.util.List<CommerceCountry> |
getBillingCommerceCountriesByChannelId(long commerceChannelId,
int start,
int end) |
static java.util.List<CommerceCountry> |
getCommerceCountries(long companyId,
boolean active) |
static java.util.List<CommerceCountry> |
getCommerceCountries(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) |
static java.util.List<CommerceCountry> |
getCommerceCountries(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceCountry> orderByComparator) |
static int |
getCommerceCountriesCount(long companyId) |
static int |
getCommerceCountriesCount(long companyId,
boolean active) |
static CommerceCountry |
getCommerceCountry(long commerceCountryId) |
static CommerceCountry |
getCommerceCountry(long companyId,
java.lang.String twoLettersISOCode) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CommerceCountryService |
getService() |
static java.util.List<CommerceCountry> |
getShippingCommerceCountries(long companyId,
boolean shippingAllowed,
boolean active) |
static java.util.List<CommerceCountry> |
getShippingCommerceCountriesByChannelId(long commerceChannelId,
int start,
int end) |
static java.util.List<CommerceCountry> |
getWarehouseCommerceCountries(long companyId,
boolean all) |
static 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) |
static com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceCountry> |
searchCommerceCountries(com.liferay.portal.kernel.search.SearchContext searchContext)
Deprecated.
As of Athanasius (7.3.x)
|
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) |
static CommerceCountry |
updateCommerceCountryChannelFilter(long commerceCountryId,
boolean enable) |
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 CommerceCountry fetchCommerceCountry(long companyId, java.lang.String twoLettersISOCode) throws com.liferay.portal.kernel.security.auth.PrincipalException
com.liferay.portal.kernel.security.auth.PrincipalExceptionpublic static java.util.List<CommerceCountry> getBillingCommerceCountries(long companyId, boolean billingAllowed, boolean active)
public static java.util.List<CommerceCountry> getBillingCommerceCountriesByChannelId(long commerceChannelId, int start, int end)
public static java.util.List<CommerceCountry> getCommerceCountries(long companyId, boolean active)
public static 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.PortalExceptionpublic static 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.PortalExceptionpublic static int getCommerceCountriesCount(long companyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCommerceCountriesCount(long companyId,
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 CommerceCountry getCommerceCountry(long companyId, java.lang.String twoLettersISOCode) 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 companyId, boolean shippingAllowed, boolean active)
public static java.util.List<CommerceCountry> getShippingCommerceCountriesByChannelId(long commerceChannelId, int start, int end)
public static java.util.List<CommerceCountry> getWarehouseCommerceCountries(long companyId, 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 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 public static 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.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 CommerceCountry updateCommerceCountryChannelFilter(long commerceCountryId, boolean enable) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static CommerceCountryService getService()