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

📄 gangsterhome.java

📁 server-config-guide.rar,jboss 4.3配置及测试源码
💻 JAVA
字号:
package org.jboss.cmp2.crimeportal;

import java.util.Collection;
import java.util.Set;
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

public interface GangsterHome 
    extends EJBLocalHome
{
    Gangster create(Integer id, String name, String nickName)
        throws CreateException;
    Gangster create(Integer id, 
                    String name, 
                    String nickName, 
                    int badness, 
                    Organization org) 
        throws CreateException;

    Gangster findByPrimaryKey(Integer id) throws FinderException;
    
    Collection findAll() throws FinderException;
    Collection findAll_none() throws FinderException;
    Collection findAll_onfind() throws FinderException;
    Collection findAll_onload() throws FinderException;
    
    Collection findBadDudes_ejbql(int badness) throws FinderException;
    Collection findBadDudes_jbossql(int badness) throws FinderException;
    Collection findBadDudes_declaredsql(int badness) throws FinderException;
    
    Set selectBoss_ejbql(String name) throws FinderException;
    Set selectBoss_declaredsql(String name) throws FinderException;
    
    Set selectInStates(Set states) throws FinderException;
    
    /** Finds just four gangsters. Used in read ahead tests. */
    Collection findFour() throws FinderException;
}

⌨️ 快捷键说明

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