public class CountryServiceImpl extends CountryServiceBaseImpl
counterLocalService, countryLocalizationPersistence, countryLocalService, countryPersistence, countryService
Constructor and Description |
---|
CountryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.Country |
addCountry(String a2,
String a3,
boolean active,
boolean billingAllowed,
String idd,
String name,
String number,
double position,
boolean shippingAllowed,
boolean subjectToVAT,
boolean zipRequired,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.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) |
com.liferay.portal.kernel.model.Country |
fetchCountry(long countryId) |
com.liferay.portal.kernel.model.Country |
fetchCountryByA2(long companyId,
String a2) |
com.liferay.portal.kernel.model.Country |
fetchCountryByA2(String a2)
Deprecated.
As of Cavanaugh (7.4.x)
|
com.liferay.portal.kernel.model.Country |
fetchCountryByA3(long companyId,
String a3) |
com.liferay.portal.kernel.model.Country |
fetchCountryByA3(String a3)
Deprecated.
As of Cavanaugh (7.4.x)
|
List<com.liferay.portal.kernel.model.Country> |
getCompanyCountries(long companyId) |
List<com.liferay.portal.kernel.model.Country> |
getCompanyCountries(long companyId,
boolean active) |
List<com.liferay.portal.kernel.model.Country> |
getCompanyCountries(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) |
List<com.liferay.portal.kernel.model.Country> |
getCompanyCountries(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) |
int |
getCompanyCountriesCount(long companyId) |
int |
getCompanyCountriesCount(long companyId,
boolean active) |
List<com.liferay.portal.kernel.model.Country> |
getCountries()
Deprecated.
As of Cavanaugh (7.4.x)
|
List<com.liferay.portal.kernel.model.Country> |
getCountries(boolean active)
Deprecated.
As of Cavanaugh (7.4.x)
|
com.liferay.portal.kernel.model.Country |
getCountry(long countryId) |
com.liferay.portal.kernel.model.Country |
getCountryByA2(long companyId,
String a2) |
com.liferay.portal.kernel.model.Country |
getCountryByA2(String a2)
Deprecated.
As of Cavanaugh (7.4.x)
|
com.liferay.portal.kernel.model.Country |
getCountryByA3(long companyId,
String a3) |
com.liferay.portal.kernel.model.Country |
getCountryByA3(String a3)
Deprecated.
As of Cavanaugh (7.4.x)
|
com.liferay.portal.kernel.model.Country |
getCountryByName(long companyId,
String name) |
com.liferay.portal.kernel.model.Country |
getCountryByName(String name)
Deprecated.
As of Cavanaugh (7.4.x)
|
com.liferay.portal.kernel.model.Country |
getCountryByNumber(long companyId,
String number) |
com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portal.kernel.model.Country> |
searchCountries(long companyId,
Boolean active,
String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) |
com.liferay.portal.kernel.model.Country |
updateActive(long countryId,
boolean active) |
com.liferay.portal.kernel.model.Country |
updateCountry(long countryId,
String a2,
String a3,
boolean active,
boolean billingAllowed,
String idd,
String name,
String number,
double position,
boolean shippingAllowed,
boolean subjectToVAT) |
com.liferay.portal.kernel.model.Country |
updateGroupFilterEnabled(long countryId,
boolean groupFilterEnabled) |
afterPropertiesSet, destroy, getCounterLocalService, getCountryLocalizationPersistence, getCountryLocalService, getCountryPersistence, getCountryService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setCounterLocalService, setCountryLocalizationPersistence, setCountryLocalService, setCountryPersistence, setCountryService
public com.liferay.portal.kernel.model.Country addCountry(String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT, boolean zipRequired, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.portal.kernel.model.Country addCountry(String name, String a2, String a3, String number, String idd, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteCountry(long countryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Country fetchCountry(long countryId)
public com.liferay.portal.kernel.model.Country fetchCountryByA2(long companyId, String a2)
@Deprecated public com.liferay.portal.kernel.model.Country fetchCountryByA2(String a2)
public com.liferay.portal.kernel.model.Country fetchCountryByA3(long companyId, String a3)
@Deprecated public com.liferay.portal.kernel.model.Country fetchCountryByA3(String a3)
public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId)
@AccessControlled(guestAccessEnabled=true) public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId, boolean active)
public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
public int getCompanyCountriesCount(long companyId)
public int getCompanyCountriesCount(long companyId, boolean active)
@Deprecated public List<com.liferay.portal.kernel.model.Country> getCountries()
@AccessControlled(guestAccessEnabled=true) @Deprecated public List<com.liferay.portal.kernel.model.Country> getCountries(boolean active)
public com.liferay.portal.kernel.model.Country getCountry(long countryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Country getCountryByA2(long companyId, String a2) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.portal.kernel.model.Country getCountryByA2(String a2) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Country getCountryByA3(long companyId, String a3) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.portal.kernel.model.Country getCountryByA3(String a3) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Country getCountryByName(long companyId, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.portal.kernel.model.Country getCountryByName(String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Country getCountryByNumber(long companyId, String number) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@JSONWebService(mode=IGNORE) public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portal.kernel.model.Country> searchCountries(long companyId, Boolean active, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Country updateActive(long countryId, boolean active) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.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 com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Country updateGroupFilterEnabled(long countryId, boolean groupFilterEnabled) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException