actionserviceimpl.java

来自「一个java权限系统.主要使用j2ee框架实现.」· Java 代码 · 共 47 行

JAVA
47
字号
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 + =
减小字号Ctrl + -
显示快捷键?