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

📄 ejscmprunning_numberhomebean_4095c903.java

📁 j2ee源码
💻 JAVA
字号:
package com.leeman.wkexs.common.dao;import com.ibm.ejs.container.*;/** * EJSCMPRunning_NumberHomeBean_4095c903 */public class EJSCMPRunning_NumberHomeBean_4095c903 extends EJSHome {	/**	 * EJSCMPRunning_NumberHomeBean_4095c903	 */	public EJSCMPRunning_NumberHomeBean_4095c903() throws java.rmi.RemoteException {		super();	}	/**	 * create	 */	public com.leeman.wkexs.common.dao.Running_Number create(java.lang.String company_id, java.lang.String running_type, java.lang.String running_year) throws javax.ejb.CreateException, java.rmi.RemoteException {		BeanO beanO = null;		com.leeman.wkexs.common.dao.Running_Number result = null;		boolean createFailed = false;		boolean preCreateFlag = false;		try {			beanO = super.createBeanO();			com.leeman.wkexs.common.dao.Running_NumberBean bean = (com.leeman.wkexs.common.dao.Running_NumberBean) beanO.getEnterpriseBean();			preCreateFlag = super.preEjbCreate(beanO);			bean.ejbCreate(company_id, running_type, running_year);			Object ejsKey = keyFromBean(bean);			result = (com.leeman.wkexs.common.dao.Running_Number) super.postCreate(beanO, ejsKey, true);			bean.ejbPostCreate(company_id, running_type, running_year);			super.afterPostCreate(beanO, ejsKey);		}		catch (javax.ejb.CreateException ex) {			createFailed = true;			throw ex;		} catch (java.rmi.RemoteException ex) {			createFailed = true;			throw ex;		} catch (Throwable ex) {			createFailed = true;			throw new CreateFailureException(ex);		} finally {			if(preCreateFlag && !createFailed)				super.afterPostCreateCompletion(beanO);			if (createFailed) {				super.createFailure(beanO);			}		}		return result;	}	/**	 * findByPrimaryKey	 */	public com.leeman.wkexs.common.dao.Running_Number findByPrimaryKey(com.leeman.wkexs.common.dao.Running_NumberKey primaryKey) throws javax.ejb.FinderException, java.rmi.RemoteException {		return (com.leeman.wkexs.common.dao.Running_Number)super.activateBean(primaryKey);	}	/**	 * create_Local	 */	public com.leeman.wkexs.common.dao.Running_NumberLocal create_Local(java.lang.String company_id, java.lang.String running_type, java.lang.String running_year) throws javax.ejb.CreateException, java.rmi.RemoteException {		BeanO beanO = null;		com.leeman.wkexs.common.dao.Running_NumberLocal result = null;		boolean createFailed = false;		boolean preCreateFlag = false;		try {			beanO = super.createBeanO();			com.leeman.wkexs.common.dao.Running_NumberBean bean = (com.leeman.wkexs.common.dao.Running_NumberBean) beanO.getEnterpriseBean();			preCreateFlag = super.preEjbCreate(beanO);			bean.ejbCreate(company_id, running_type, running_year);			Object ejsKey = keyFromBean(bean);			result = (com.leeman.wkexs.common.dao.Running_NumberLocal) super.postCreate_Local(beanO, ejsKey, true);			bean.ejbPostCreate(company_id, running_type, running_year);			super.afterPostCreate(beanO, ejsKey);		}		catch (javax.ejb.CreateException ex) {			createFailed = true;			throw ex;		} catch (java.rmi.RemoteException ex) {			createFailed = true;			throw ex;		} catch (Throwable ex) {			createFailed = true;			throw new CreateFailureException(ex);		} finally {			if(preCreateFlag && !createFailed)				super.afterPostCreateCompletion(beanO);			if (createFailed) {				super.createFailure(beanO);			}		}		return result;	}	/**	 * findByPrimaryKey_Local	 */	public com.leeman.wkexs.common.dao.Running_NumberLocal findByPrimaryKey_Local(com.leeman.wkexs.common.dao.Running_NumberKey primaryKey) throws javax.ejb.FinderException, java.rmi.RemoteException {		return (com.leeman.wkexs.common.dao.Running_NumberLocal)super.activateBean_Local(primaryKey);	}	/**	 * keyFromBean	 */	public Object keyFromBean(javax.ejb.EntityBean generalEJB) {		com.leeman.wkexs.common.dao.ConcreteRunning_Number_4095c903 tmpEJB = (com.leeman.wkexs.common.dao.ConcreteRunning_Number_4095c903) generalEJB;		com.leeman.wkexs.common.dao.Running_NumberKey keyClass = new com.leeman.wkexs.common.dao.Running_NumberKey();		keyClass.company_id = tmpEJB.getCompany_id();		keyClass.running_type = tmpEJB.getRunning_type();		keyClass.running_year = tmpEJB.getRunning_year();		return keyClass;	}	/**	 * keyFromFields	 */	public com.leeman.wkexs.common.dao.Running_NumberKey keyFromFields(java.lang.String f0, java.lang.String f1, java.lang.String f2) {		com.leeman.wkexs.common.dao.Running_NumberKey keyClass = new com.leeman.wkexs.common.dao.Running_NumberKey();		keyClass.company_id = f0;		keyClass.running_type = f1;		keyClass.running_year = f2;		return keyClass;	}}

⌨️ 快捷键说明

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