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)void
deleteCountry
(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) int
getCompanyCountriesCount
(long companyId) int
getCompanyCountriesCount
(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) void
setWrappedService
(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:
addCountry
in 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:
addCountry
in interfaceCountryService
- Throws:
PortalException
-
deleteCountry
- Specified by:
deleteCountry
in interfaceCountryService
- Throws:
PortalException
-
fetchCountry
- Specified by:
fetchCountry
in interfaceCountryService
-
fetchCountryByA2
- Specified by:
fetchCountryByA2
in interfaceCountryService
-
fetchCountryByA2
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
fetchCountryByA2
in interfaceCountryService
-
fetchCountryByA3
- Specified by:
fetchCountryByA3
in interfaceCountryService
-
fetchCountryByA3
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
fetchCountryByA3
in interfaceCountryService
-
getCompanyCountries
- Specified by:
getCompanyCountries
in interfaceCountryService
-
getCompanyCountries
- Specified by:
getCompanyCountries
in interfaceCountryService
-
getCompanyCountries
public List<Country> getCompanyCountries(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator) - Specified by:
getCompanyCountries
in interfaceCountryService
-
getCompanyCountries
public List<Country> getCompanyCountries(long companyId, int start, int end, OrderByComparator<Country> orderByComparator) - Specified by:
getCompanyCountries
in interfaceCountryService
-
getCompanyCountriesCount
public int getCompanyCountriesCount(long companyId) - Specified by:
getCompanyCountriesCount
in interfaceCountryService
-
getCompanyCountriesCount
public int getCompanyCountriesCount(long companyId, boolean active) - Specified by:
getCompanyCountriesCount
in interfaceCountryService
-
getCountries
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCountries
in interfaceCountryService
-
getCountries
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCountries
in interfaceCountryService
-
getCountry
- Specified by:
getCountry
in interfaceCountryService
- Throws:
PortalException
-
getCountryByA2
- Specified by:
getCountryByA2
in interfaceCountryService
- Throws:
PortalException
-
getCountryByA2
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCountryByA2
in interfaceCountryService
- Throws:
PortalException
-
getCountryByA3
- Specified by:
getCountryByA3
in interfaceCountryService
- Throws:
PortalException
-
getCountryByA3
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCountryByA3
in interfaceCountryService
- Throws:
PortalException
-
getCountryByName
- Specified by:
getCountryByName
in interfaceCountryService
- Throws:
PortalException
-
getCountryByName
Deprecated.As of Cavanaugh (7.4.x)- Specified by:
getCountryByName
in interfaceCountryService
- Throws:
PortalException
-
getCountryByNumber
- Specified by:
getCountryByNumber
in interfaceCountryService
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in 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:
searchCountries
in interfaceCountryService
- Throws:
PortalException
-
updateActive
- Specified by:
updateActive
in 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:
updateCountry
in interfaceCountryService
- Throws:
PortalException
-
updateGroupFilterEnabled
public Country updateGroupFilterEnabled(long countryId, boolean groupFilterEnabled) throws PortalException - Specified by:
updateGroupFilterEnabled
in interfaceCountryService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<CountryService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<CountryService>
-