@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface CountryService extends BaseService
CountryServiceUtil
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.
|
BaseModelSearchResult<Country> |
searchCountries(long companyId,
Boolean active,
String keywords,
int start,
int end,
OrderByComparator<Country> orderByComparator) |
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) |
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
PortalException
@Deprecated Country addCountry(String name, String a2, String a3, String number, String idd, boolean active) throws PortalException
PortalException
void deleteCountry(long countryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Country fetchCountry(long countryId)
@Transactional(propagation=SUPPORTS, readOnly=true) Country fetchCountryByA2(long companyId, String a2)
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) Country fetchCountryByA2(String a2)
@Transactional(propagation=SUPPORTS, readOnly=true) Country fetchCountryByA3(long companyId, String a3)
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) Country fetchCountryByA3(String a3)
@Transactional(propagation=SUPPORTS, readOnly=true) List<Country> getCompanyCountries(long companyId)
@AccessControlled(guestAccessEnabled=true) @Transactional(propagation=SUPPORTS, readOnly=true) List<Country> getCompanyCountries(long companyId, boolean active)
@Transactional(propagation=SUPPORTS, readOnly=true) List<Country> getCompanyCountries(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) List<Country> getCompanyCountries(long companyId, int start, int end, OrderByComparator<Country> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyCountriesCount(long companyId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyCountriesCount(long companyId, boolean active)
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) List<Country> getCountries()
@AccessControlled(guestAccessEnabled=true) @Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) List<Country> getCountries(boolean active)
@Transactional(propagation=SUPPORTS, readOnly=true) Country getCountry(long countryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Country getCountryByA2(long companyId, String a2) throws PortalException
PortalException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) Country getCountryByA2(String a2) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Country getCountryByA3(long companyId, String a3) throws PortalException
PortalException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) Country getCountryByA3(String a3) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Country getCountryByName(long companyId, String name) throws PortalException
PortalException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) Country getCountryByName(String name) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Country getCountryByNumber(long companyId, String number) throws PortalException
PortalException
String getOSGiServiceIdentifier()
@JSONWebService(mode=IGNORE) @Transactional(propagation=SUPPORTS, readOnly=true) BaseModelSearchResult<Country> searchCountries(long companyId, Boolean active, String keywords, int start, int end, OrderByComparator<Country> orderByComparator) throws PortalException
PortalException
Country updateActive(long countryId, boolean active) throws PortalException
PortalException
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
PortalException
Country updateGroupFilterEnabled(long countryId, boolean groupFilterEnabled) throws PortalException
PortalException