public class CountryLocalServiceImpl extends CountryLocalServiceBaseImpl
CountryLocalServiceBaseImpl
counterLocalService, countryLocalizationPersistence, countryLocalService, countryPersistence, persistedModelLocalServiceRegistry
Constructor and Description |
---|
CountryLocalServiceImpl() |
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) |
void |
deleteCompanyCountries(long companyId) |
com.liferay.portal.kernel.model.Country |
deleteCountry(com.liferay.portal.kernel.model.Country country)
Deletes the country from the database.
|
com.liferay.portal.kernel.model.Country |
deleteCountry(long countryId)
Deletes the country with the primary key from the database.
|
com.liferay.portal.kernel.model.Country |
fetchCountryByA2(long companyId,
String a2) |
com.liferay.portal.kernel.model.Country |
fetchCountryByA3(long companyId,
String a3) |
com.liferay.portal.kernel.model.Country |
fetchCountryByName(long companyId,
String name) |
com.liferay.portal.kernel.model.Country |
fetchCountryByNumber(long companyId,
String number) |
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) |
com.liferay.portal.kernel.model.Country |
getCountryByA2(long companyId,
String a2) |
com.liferay.portal.kernel.model.Country |
getCountryByA3(long companyId,
String a3) |
com.liferay.portal.kernel.model.Country |
getCountryByName(long companyId,
String name) |
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) |
List<com.liferay.portal.kernel.model.CountryLocalization> |
updateCountryLocalizations(com.liferay.portal.kernel.model.Country country,
Map<String,String> titleMap) |
com.liferay.portal.kernel.model.Country |
updateGroupFilterEnabled(long countryId,
boolean groupFilterEnabled) |
addCountry, afterPropertiesSet, createCountry, createPersistedModel, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchCountry, fetchCountryByUuidAndCompanyId, fetchCountryLocalization, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCountries, getCountriesCount, getCountry, getCountryByUuidAndCompanyId, getCountryLocalization, getCountryLocalizationPersistence, getCountryLocalizations, getCountryLocalService, getCountryPersistence, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setCounterLocalService, setCountryLocalizationPersistence, setCountryLocalService, setCountryPersistence, updateCountry, updateCountryLocalization
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
public void deleteCompanyCountries(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@SystemEvent(type=1) public com.liferay.portal.kernel.model.Country deleteCountry(com.liferay.portal.kernel.model.Country country) throws com.liferay.portal.kernel.exception.PortalException
CountryLocalServiceBaseImpl
Important: Inspect CountryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteCountry
in interface com.liferay.portal.kernel.service.CountryLocalService
deleteCountry
in class CountryLocalServiceBaseImpl
country
- the countrycom.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Country deleteCountry(long countryId) throws com.liferay.portal.kernel.exception.PortalException
CountryLocalServiceBaseImpl
Important: Inspect CountryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteCountry
in interface com.liferay.portal.kernel.service.CountryLocalService
deleteCountry
in class CountryLocalServiceBaseImpl
countryId
- the primary key of the countrycom.liferay.portal.kernel.exception.PortalException
- if a country with the primary key could not be foundpublic com.liferay.portal.kernel.model.Country fetchCountryByA2(long companyId, String a2)
public com.liferay.portal.kernel.model.Country fetchCountryByA3(long companyId, String a3)
public com.liferay.portal.kernel.model.Country fetchCountryByName(long companyId, String name)
public com.liferay.portal.kernel.model.Country fetchCountryByNumber(long companyId, String number)
public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId)
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)
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
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
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
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
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 List<com.liferay.portal.kernel.model.CountryLocalization> updateCountryLocalizations(com.liferay.portal.kernel.model.Country country, Map<String,String> titleMap) throws com.liferay.portal.kernel.exception.PortalException
updateCountryLocalizations
in interface com.liferay.portal.kernel.service.CountryLocalService
updateCountryLocalizations
in class CountryLocalServiceBaseImpl
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