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 CountryService
PortalException
@Deprecated public Country addCountry(String name, String a2, String a3, String number, String idd, boolean active) throws PortalException
addCountry
in interface CountryService
PortalException
public void deleteCountry(long countryId) throws PortalException
deleteCountry
in interface CountryService
PortalException
public Country fetchCountry(long countryId)
fetchCountry
in interface CountryService
public Country fetchCountryByA2(long companyId, String a2)
fetchCountryByA2
in interface CountryService
@Deprecated public Country fetchCountryByA2(String a2)
fetchCountryByA2
in interface CountryService
public Country fetchCountryByA3(long companyId, String a3)
fetchCountryByA3
in interface CountryService
@Deprecated public Country fetchCountryByA3(String a3)
fetchCountryByA3
in interface CountryService
public List<Country> getCompanyCountries(long companyId)
getCompanyCountries
in interface CountryService
public List<Country> getCompanyCountries(long companyId, boolean active)
getCompanyCountries
in interface CountryService
public List<Country> getCompanyCountries(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator)
getCompanyCountries
in interface CountryService
public List<Country> getCompanyCountries(long companyId, int start, int end, OrderByComparator<Country> orderByComparator)
getCompanyCountries
in interface CountryService
public int getCompanyCountriesCount(long companyId)
getCompanyCountriesCount
in interface CountryService
public 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 CountryService
public Country getCountry(long countryId) throws PortalException
getCountry
in interface CountryService
PortalException
public Country getCountryByA2(long companyId, String a2) throws PortalException
getCountryByA2
in interface CountryService
PortalException
@Deprecated public Country getCountryByA2(String a2) throws PortalException
getCountryByA2
in interface CountryService
PortalException
public Country getCountryByA3(long companyId, String a3) throws PortalException
getCountryByA3
in interface CountryService
PortalException
@Deprecated public Country getCountryByA3(String a3) throws PortalException
getCountryByA3
in interface CountryService
PortalException
public Country getCountryByName(long companyId, String name) throws PortalException
getCountryByName
in interface CountryService
PortalException
@Deprecated public Country getCountryByName(String name) throws PortalException
getCountryByName
in interface CountryService
PortalException
public Country getCountryByNumber(long companyId, String number) throws PortalException
getCountryByNumber
in interface CountryService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CountryService
public BaseModelSearchResult<Country> searchCountries(long companyId, Boolean active, String keywords, int start, int end, OrderByComparator<Country> orderByComparator) throws PortalException
searchCountries
in interface CountryService
PortalException
public Country updateActive(long countryId, boolean active) throws PortalException
updateActive
in interface CountryService
PortalException
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
updateCountry
in interface CountryService
PortalException
public Country updateGroupFilterEnabled(long countryId, boolean groupFilterEnabled) throws PortalException
updateGroupFilterEnabled
in interface CountryService
PortalException
public CountryService getWrappedService()
getWrappedService
in interface ServiceWrapper<CountryService>
public void setWrappedService(CountryService countryService)
setWrappedService
in interface ServiceWrapper<CountryService>