📄 actionserviceimpl.java
字号:
package com.wxd.common.popedom.service;
import java.util.*;
import com.wxd.common.popedom.domain.command.*;
import com.wxd.common.popedom.domain.command.factory.*;
import com.wxd.common.popedom.domain.command.popedom.*;
import com.wxd.common.popedom.persistence.*;
public class ActionServiceImpl implements ActionService {
private ActionDao actionDao;
private Map actions=null;
public ActionServiceImpl() {
// TODO Auto-generated constructor stub
}
/* (non-Javadoc)
* @see cn.gov.gzaic.common.popedom.service.ActionService#getAllActions(java.lang.String)
*/
public Map getAllActions() {
CommandFactory cf=new NormalCommandFactory("admin","system.action.query");
Command cmd=cf.getCommand(ActionQueryAllCmd.class, getActionDao());
cmd.execute();
return (Map)cmd.getContext().getResultObject();
}
public Map getAllActions(String operatorId){
return null;
}
private void setActions() {
}
public ActionDao getActionDao() {
return actionDao;
}
public void setActionDao(ActionDao actionDao) {
this.actionDao = actionDao;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -