Class CountryServiceImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.CountryServiceBaseImpl
com.liferay.portal.service.impl.CountryServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.CountryService

public class CountryServiceImpl extends CountryServiceBaseImpl
Author:
Brian Wing Shun Chan
  • Constructor Details

    • CountryServiceImpl

      public CountryServiceImpl()
  • Method Details

    • addCountry

      public com.liferay.portal.kernel.model.Country addCountry(String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT, boolean zipRequired, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCountry

      @Deprecated public com.liferay.portal.kernel.model.Country addCountry(String name, String a2, String a3, String number, String idd, boolean active) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Cavanaugh (7.4.x)
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCountry

      public void deleteCountry(long countryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCountry

      public com.liferay.portal.kernel.model.Country fetchCountry(long countryId)
    • fetchCountryByA2

      public com.liferay.portal.kernel.model.Country fetchCountryByA2(long companyId, String a2)
    • fetchCountryByA2

      @Deprecated public com.liferay.portal.kernel.model.Country fetchCountryByA2(String a2)
      Deprecated.
      As of Cavanaugh (7.4.x)
    • fetchCountryByA3

      public com.liferay.portal.kernel.model.Country fetchCountryByA3(long companyId, String a3)
    • fetchCountryByA3

      @Deprecated public com.liferay.portal.kernel.model.Country fetchCountryByA3(String a3)
      Deprecated.
      As of Cavanaugh (7.4.x)
    • getCompanyCountries

      public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId)
    • getCompanyCountries

      @AccessControlled(guestAccessEnabled=true) public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId, boolean active)
    • getCompanyCountries

      public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
    • getCompanyCountries

      public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
    • getCompanyCountriesCount

      public int getCompanyCountriesCount(long companyId)
    • getCompanyCountriesCount

      public int getCompanyCountriesCount(long companyId, boolean active)
    • getCountries

      @Deprecated public List<com.liferay.portal.kernel.model.Country> getCountries()
      Deprecated.
      As of Cavanaugh (7.4.x)
    • getCountries

      @AccessControlled(guestAccessEnabled=true) @Deprecated public List<com.liferay.portal.kernel.model.Country> getCountries(boolean active)
      Deprecated.
      As of Cavanaugh (7.4.x)
    • getCountry

      public com.liferay.portal.kernel.model.Country getCountry(long countryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCountryByA2

      public com.liferay.portal.kernel.model.Country getCountryByA2(long companyId, String a2) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCountryByA2

      @Deprecated public com.liferay.portal.kernel.model.Country getCountryByA2(String a2) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Cavanaugh (7.4.x)
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCountryByA3

      public com.liferay.portal.kernel.model.Country getCountryByA3(long companyId, String a3) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCountryByA3

      @Deprecated public com.liferay.portal.kernel.model.Country getCountryByA3(String a3) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Cavanaugh (7.4.x)
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCountryByName

      public com.liferay.portal.kernel.model.Country getCountryByName(long companyId, String name) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCountryByName

      @Deprecated public com.liferay.portal.kernel.model.Country getCountryByName(String name) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Cavanaugh (7.4.x)
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCountryByNumber

      public com.liferay.portal.kernel.model.Country getCountryByNumber(long companyId, String number) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCountries

      @JSONWebService(mode=IGNORE) public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portal.kernel.model.Country> searchCountries(long companyId, Boolean active, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateActive

      public com.liferay.portal.kernel.model.Country updateActive(long countryId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCountry

      public com.liferay.portal.kernel.model.Country updateCountry(long countryId, String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateGroupFilterEnabled

      public com.liferay.portal.kernel.model.Country updateGroupFilterEnabled(long countryId, boolean groupFilterEnabled) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException