public class CountryServiceWrapper extends Object implements CountryService, ServiceWrapper<CountryService>
CountryService.CountryService| Constructor and Description |
|---|
CountryServiceWrapper() |
CountryServiceWrapper(CountryService countryService) |
| Modifier and Type | Method and Description |
|---|---|
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) |
Country |
addCountry(String name,
String a2,
String a3,
String number,
String idd,
boolean active)
Deprecated.
As of Cavanaugh (7.4.x)
|
void |
deleteCountry(long countryId) |
Country |
fetchCountry(long countryId) |
Country |
fetchCountryByA2(long companyId,
String a2) |
Country |
fetchCountryByA2(String a2)
Deprecated.
As of Cavanaugh (7.4.x)
|
Country |
fetchCountryByA3(long companyId,
String a3) |
Country |
fetchCountryByA3(String a3)
Deprecated.
As of Cavanaugh (7.4.x)
|
List<Country> |
getCompanyCountries(long companyId) |
List<Country> |
getCompanyCountries(long companyId,
boolean active) |
List<Country> |
getCompanyCountries(long companyId,
boolean active,
int start,
int end,
OrderByComparator<Country> orderByComparator) |
List<Country> |
getCompanyCountries(long companyId,
int start,
int end,
OrderByComparator<Country> orderByComparator) |
int |
getCompanyCountriesCount(long companyId) |
int |
getCompanyCountriesCount(long companyId,
boolean active) |
List<Country> |
getCountries()
Deprecated.
As of Cavanaugh (7.4.x)
|
List<Country> |
getCountries(boolean active)
Deprecated.
As of Cavanaugh (7.4.x)
|
Country |
getCountry(long countryId) |
Country |
getCountryByA2(long companyId,
String a2) |
Country |
getCountryByA2(String a2)
Deprecated.
As of Cavanaugh (7.4.x)
|
Country |
getCountryByA3(long companyId,
String a3) |
Country |
getCountryByA3(String a3)
Deprecated.
As of Cavanaugh (7.4.x)
|
Country |
getCountryByName(long companyId,
String name) |
Country |
getCountryByName(String name)
Deprecated.
As of Cavanaugh (7.4.x)
|
Country |
getCountryByNumber(long companyId,
String number) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CountryService |
getWrappedService() |
BaseModelSearchResult<Country> |
searchCountries(long companyId,
Boolean active,
String keywords,
int start,
int end,
OrderByComparator<Country> orderByComparator) |
void |
setWrappedService(CountryService countryService) |
Country |
updateActive(long countryId,
boolean active) |
Country |
updateCountry(long countryId,
String a2,
String a3,
boolean active,
boolean billingAllowed,
String idd,
String name,
String number,
double position,
boolean shippingAllowed,
boolean subjectToVAT) |
Country |
updateGroupFilterEnabled(long countryId,
boolean groupFilterEnabled) |
public CountryServiceWrapper()
public CountryServiceWrapper(CountryService countryService)
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
addCountry in interface CountryServicePortalException@Deprecated public Country addCountry(String name, String a2, String a3, String number, String idd, boolean active) throws PortalException
addCountry in interface CountryServicePortalExceptionpublic void deleteCountry(long countryId)
throws PortalException
deleteCountry in interface CountryServicePortalExceptionpublic Country fetchCountry(long countryId)
fetchCountry in interface CountryServicepublic Country fetchCountryByA2(long companyId, String a2)
fetchCountryByA2 in interface CountryService@Deprecated public Country fetchCountryByA2(String a2)
fetchCountryByA2 in interface CountryServicepublic Country fetchCountryByA3(long companyId, String a3)
fetchCountryByA3 in interface CountryService@Deprecated public Country fetchCountryByA3(String a3)
fetchCountryByA3 in interface CountryServicepublic List<Country> getCompanyCountries(long companyId)
getCompanyCountries in interface CountryServicepublic List<Country> getCompanyCountries(long companyId, boolean active)
getCompanyCountries in interface CountryServicepublic List<Country> getCompanyCountries(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator)
getCompanyCountries in interface CountryServicepublic List<Country> getCompanyCountries(long companyId, int start, int end, OrderByComparator<Country> orderByComparator)
getCompanyCountries in interface CountryServicepublic int getCompanyCountriesCount(long companyId)
getCompanyCountriesCount in interface CountryServicepublic int getCompanyCountriesCount(long companyId,
boolean active)
getCompanyCountriesCount in interface CountryService@Deprecated public List<Country> getCountries()
getCountries in interface CountryService@Deprecated public List<Country> getCountries(boolean active)
getCountries in interface CountryServicepublic Country getCountry(long countryId) throws PortalException
getCountry in interface CountryServicePortalExceptionpublic Country getCountryByA2(long companyId, String a2) throws PortalException
getCountryByA2 in interface CountryServicePortalException@Deprecated public Country getCountryByA2(String a2) throws PortalException
getCountryByA2 in interface CountryServicePortalExceptionpublic Country getCountryByA3(long companyId, String a3) throws PortalException
getCountryByA3 in interface CountryServicePortalException@Deprecated public Country getCountryByA3(String a3) throws PortalException
getCountryByA3 in interface CountryServicePortalExceptionpublic Country getCountryByName(long companyId, String name) throws PortalException
getCountryByName in interface CountryServicePortalException@Deprecated public Country getCountryByName(String name) throws PortalException
getCountryByName in interface CountryServicePortalExceptionpublic Country getCountryByNumber(long companyId, String number) throws PortalException
getCountryByNumber in interface CountryServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CountryServicepublic BaseModelSearchResult<Country> searchCountries(long companyId, Boolean active, String keywords, int start, int end, OrderByComparator<Country> orderByComparator) throws PortalException
searchCountries in interface CountryServicePortalExceptionpublic Country updateActive(long countryId, boolean active) throws PortalException
updateActive in interface CountryServicePortalExceptionpublic 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
updateCountry in interface CountryServicePortalExceptionpublic Country updateGroupFilterEnabled(long countryId, boolean groupFilterEnabled) throws PortalException
updateGroupFilterEnabled in interface CountryServicePortalExceptionpublic CountryService getWrappedService()
getWrappedService in interface ServiceWrapper<CountryService>public void setWrappedService(CountryService countryService)
setWrappedService in interface ServiceWrapper<CountryService>