📄 simplecountrymanager.java
字号:
package demo.service;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
import demo.domain.Country;
import demo.repository.CountryDao;
import demo.ajax.SortInfo;
/**
* @version 1.0
*/
public class SimpleCountryManager implements CountryManager {
protected CountryDao countryDao = null;
/**
* Get a List of the Countries based on the SortInfo
*/
public List<Country> getCountryList(SortInfo sort) {
return countryDao.getCountryList(sort);
}
@Autowired
public void setCountryDao(CountryDao dao) {
this.countryDao = dao;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -