⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 relationhisprocessbean.java

📁 OBPM是一个开源
💻 JAVA
字号:
package cn.myapps.core.workflow.storage.runtime.ejb;

import java.util.Collection;

import cn.myapps.base.dao.DAOFactory;
import cn.myapps.base.dao.IBaseDAO;
import cn.myapps.base.ejb.BaseProcessBean;
import cn.myapps.core.workflow.storage.runtime.dao.RelationHISDAO;

public class RelationHISProcessBean extends BaseProcessBean implements
		RelationHISProcess {

	protected IBaseDAO getDAO() throws Exception {
		return DAOFactory.getDefaultDAO(RelationHIS.class.getName());
	}

	public RelationHIS findRelHISByCondition(String docid, String startnodeid,
			String endnodeid, boolean ispassed) throws Exception {

		return ((RelationHISDAO) getDAO()).findRelHISByCondition(docid,
				startnodeid, endnodeid, ispassed);
	}

	public Collection queryRelationHIS(String docid, String flowid, String endnodeid) throws Exception {
		return ((RelationHISDAO) getDAO()).queryRelationHIS(docid, flowid, endnodeid);
	}

	public Collection doQuery(String docid, String flowid) throws Exception {
		return ((RelationHISDAO) getDAO()).query(docid, flowid);
	}

	public RelationHIS doViewLast(String docid, String flowid) throws Exception {
		return ((RelationHISDAO) getDAO()).find(docid, flowid);
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -