CountryService.java
Home
/
sm-core /
src /
main /
java /
com /
salesmanager /
core /
business /
services /
reference /
country /
CountryService.java
package com.salesmanager.core.business.services.reference.country;
import java.util.List;
import java.util.Map;
import com.salesmanager.core.business.exception.ServiceException;
import com.salesmanager.core.business.services.common.generic.SalesManagerEntityService;
import com.salesmanager.core.model.reference.country.Country;
import com.salesmanager.core.model.reference.country.CountryDescription;
import com.salesmanager.core.model.reference.language.Language;
public interface CountryService extends SalesManagerEntityService<Integer, Country> {
public Country getByCode(String code) throws ServiceException;
public void addCountryDescription(Country country, CountryDescription description) throws ServiceException;
public List<Country> getCountries(Language language) throws ServiceException;
Map<String, Country> getCountriesMap(Language language)
throws ServiceException;
List<Country> getCountries(List<String> isoCodes, Language language)
throws ServiceException;
}