Class CountryServiceWrapper
Object
com.liferay.portal.kernel.service.CountryServiceWrapper
- All Implemented Interfaces:
BaseService,CountryService,ServiceWrapper<CountryService>
public class CountryServiceWrapper
extends Object
implements CountryService, ServiceWrapper<CountryService>
Provides a wrapper for
CountryService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCountry(String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT, boolean zipRequired, ServiceContext serviceContext) Deprecated.As of Cavanaugh (7.4.x)voiddeleteCountry(long countryId) fetchCountry(long countryId) fetchCountryByA2(long companyId, String a2) Deprecated.As of Cavanaugh (7.4.x)fetchCountryByA3(long companyId, String a3) Deprecated.As of Cavanaugh (7.4.x)getCompanyCountries(long companyId) getCompanyCountries(long companyId, boolean active) getCompanyCountries(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator) getCompanyCountries(long companyId, int start, int end, OrderByComparator<Country> orderByComparator) intgetCompanyCountriesCount(long companyId) intgetCompanyCountriesCount(long companyId, boolean active) Deprecated.As of Cavanaugh (7.4.x)getCountries(boolean active) Deprecated.As of Cavanaugh (7.4.x)getCountry(long countryId) getCountryByA2(long companyId, String a2) getCountryByA2(String a2) Deprecated.As of Cavanaugh (7.4.x)getCountryByA3(long companyId, String a3) getCountryByA3(String a3) Deprecated.As of Cavanaugh (7.4.x)getCountryByName(long companyId, String name) getCountryByName(String name) Deprecated.As of Cavanaugh (7.4.x)getCountryByNumber(long companyId, String number) Returns the OSGi service identifier.searchCountries(long companyId, Boolean active, String keywords, int start, int end, OrderByComparator<Country> orderByComparator) voidsetWrappedService(CountryService countryService) updateActive(long countryId, boolean active) updateCountry(long countryId, String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT) updateGroupFilterEnabled(long countryId, boolean groupFilterEnabled)
-
Constructor Details
-
CountryServiceWrapper
public CountryServiceWrapper() -
CountryServiceWrapper
-
-
Method Details
-
addCountry
public Country addCountry(String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT, boolean zipRequired, ServiceContext serviceContext) throws PortalException - Specified by:
addCountryin interfaceCountryService- Throws:
PortalException
-
addCountry
@Deprecated public Country addCountry(String name, String a2, String a3, String number, String idd, boolean active) throws PortalException Deprecated.As of Cavanaugh (7.4.x)- Specified by:
addCountryin interfaceCountryService- Throws:
PortalException
-
deleteCountry
- Specified by:
deleteCountryin interfaceCountryService- Throws:
PortalException
-
fetchCountry
- Specified by:
fetchCountryin interfaceCountryService
-
fetchCountryByA2
- Specified by:
fetchCountryByA2in interfaceCountryService
-
fetchCountryByA2
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
fetchCountryByA2in interfaceCountryService
-
fetchCountryByA3
- Specified by:
fetchCountryByA3in interfaceCountryService
-
fetchCountryByA3
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
fetchCountryByA3in interfaceCountryService
-
getCompanyCountries
- Specified by:
getCompanyCountriesin interfaceCountryService
-
getCompanyCountries
- Specified by:
getCompanyCountriesin interfaceCountryService
-
getCompanyCountries
public List<Country> getCompanyCountries(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator) - Specified by:
getCompanyCountriesin interfaceCountryService
-
getCompanyCountries
public List<Country> getCompanyCountries(long companyId, int start, int end, OrderByComparator<Country> orderByComparator) - Specified by:
getCompanyCountriesin interfaceCountryService
-
getCompanyCountriesCount
public int getCompanyCountriesCount(long companyId) - Specified by:
getCompanyCountriesCountin interfaceCountryService
-
getCompanyCountriesCount
public int getCompanyCountriesCount(long companyId, boolean active) - Specified by:
getCompanyCountriesCountin interfaceCountryService
-
getCountries
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCountriesin interfaceCountryService
-
getCountries
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCountriesin interfaceCountryService
-
getCountry
- Specified by:
getCountryin interfaceCountryService- Throws:
PortalException
-
getCountryByA2
- Specified by:
getCountryByA2in interfaceCountryService- Throws:
PortalException
-
getCountryByA2
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCountryByA2in interfaceCountryService- Throws:
PortalException
-
getCountryByA3
- Specified by:
getCountryByA3in interfaceCountryService- Throws:
PortalException
-
getCountryByA3
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCountryByA3in interfaceCountryService- Throws:
PortalException
-
getCountryByName
- Specified by:
getCountryByNamein interfaceCountryService- Throws:
PortalException
-
getCountryByName
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCountryByNamein interfaceCountryService- Throws:
PortalException
-
getCountryByNumber
- Specified by:
getCountryByNumberin interfaceCountryService- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceCountryService- Returns:
- the OSGi service identifier
-
searchCountries
public BaseModelSearchResult<Country> searchCountries(long companyId, Boolean active, String keywords, int start, int end, OrderByComparator<Country> orderByComparator) throws PortalException - Specified by:
searchCountriesin interfaceCountryService- Throws:
PortalException
-
updateActive
- Specified by:
updateActivein interfaceCountryService- Throws:
PortalException
-
updateCountry
public 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 PortalException - Specified by:
updateCountryin interfaceCountryService- Throws:
PortalException
-
updateGroupFilterEnabled
public Country updateGroupFilterEnabled(long countryId, boolean groupFilterEnabled) throws PortalException - Specified by:
updateGroupFilterEnabledin interfaceCountryService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<CountryService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<CountryService>
-