tplresourceorgbean.java
来自「这是一个工作流管理的后端EJB实现」· Java 代码 · 共 74 行
JAVA
74 行
/*
* Created on 2005-5-9
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package com.coshare.joyteam.projectMgr.entitybean.tplResourceOrg;
import javax.ejb.CreateException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.FinderException;
import com.coshare.joyteam.projectMgr.dto.TplResourceOrgDTO;
/**
* @ejb.bean name="TplResourceOrg"
* jndi-name="TplResourceOrgBean"
* type="BMP"
**/
public class TplResourceOrgBean extends TplResourceOrgDTO implements EntityBean
{
private EntityContext context;
public void ejbActivate()
{
System.out.println("ejbActivate()");
}
public void ejbPassivate()
{
System.out.println("ejbPassivate ()");
}
public void setEntityContext(EntityContext context)
{
System.out.println("setEntityContext()");
this.context = context;
}
public void unsetEntityContext()
{
System.out.println("unsetEntityContext()");
this.context = null;
}
public void ejbLoad()
{
System.out.println("ejbLoad()");
}
public void ejbStore()
{
System.out.println("ejbStore()");
}
public void ejbRemove()
{
System.out.println("ejbRemove()");
}
public void ejbPostCreate(TplResourceOrgDTO dto)
{
System.out.println("ejbPostCreate()");
}
public TplResourceOrgPK ejbCreate(TplResourceOrgDTO dto) throws CreateException
{
System.out.println("ejbCreate()");
return null;
}
public TplResourceOrgPK ejbFindByPrimaryKey(TplResourceOrgPK key) throws FinderException
{
System.out.println("ejbFindByPrimaryKey()");
return null;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?