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

📄 facademapping.java

📁 java实现的可配置的工作流引擎,采用jsp+javabean实现
💻 JAVA
字号:
/*
 * Created on 2004-10-18
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.hongsoft.agile.worklist;
import org.hibernate.HibernateException;
import org.hibernate.Session;

import com.hongsoft.agile.AgileException;
import com.hongsoft.agile.pojo.StaticMapping;
import com.hongsoft.agile.pojo.StaticMappingTable;
/**
 * @author hongsoft.com
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class FacadeMapping {
        public static void staicMapping(Session session,String participantId,String activityDefId) throws HibernateException,AgileException
		{
        	StaticMapping s=new StaticMapping();
        	s.setActivityDefId(activityDefId);
        	s.setParticipantId(participantId);
        	StaticMappingTable sm=new StaticMappingTable();
        	sm.setStaticMapping(s);
        	(new HibernateStaticMapping()).insert(session,sm);
		}
}

⌨️ 快捷键说明

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