📄 findallrole.java
字号:
package org.artemis.right.command;import java.util.Map;import org.artemis.right.dao.RoleDao;import com.gsta.eshore.framework.daoutil.CriteriaQuery;import com.gsta.eshore.framework.daoutil.PageSupport;import com.gsta.eshore.framework.jcf.Command;import com.gsta.eshore.framework.jcf.JCFException;/** * @author He-WenQiang. Create in 2007-05-03 16:25:55. * */public class FindAllRole extends Command{ private RoleDao dao; public void setDao(RoleDao dao) { this.dao = dao; } public void execute(Map params, Map response) throws Exception { response.put("PageSupport", (PageSupport)dao.find((CriteriaQuery) params.get("CriteriaQuery"),true)); } public void fini() throws JCFException { } public void init(String arg0) throws JCFException { }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -