?? lookupdaoibatis.java
字號:
package org.appfuse.dao.ibatis;
import java.util.List;
import org.appfuse.dao.LookupDAO;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
/**
* iBatis implementation of LookupDAO.
*
* <p>
* <a href="LookupDAOiBatis.java.html"><i>View Source</i></a>
* </p>
*
* @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
*/
public class LookupDAOiBatis extends SqlMapClientDaoSupport implements LookupDAO {
/**
* @see org.appfuse.dao.LookupDAO#getRoles()
*/
public List getRoles() {
if (logger.isDebugEnabled()) {
logger.debug("retrieving all role names...");
}
return getSqlMapClientTemplate().queryForList("getRoles", null);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -