studentlocalhome.java
来自「< J2EE应用开发详解>>一书全部的源代码. 本书基于J」· Java 代码 · 共 54 行
JAVA
54 行
package com.j2ee14.ch17;
import javax.ejb.*;
public interface StudentLocalHome extends EJBLocalHome
{
/**
* @J2EE_METHOD -- findByPrimaryKey
*/
public StudentLocal findByPrimaryKey (String primaryKey)
throws FinderException;
/**
* @J2EE_METHOD -- create
*/
public StudentLocal create (String id)
throws CreateException;
/**
* @J2EE_METHOD -- findByName
*/
public java.util.Collection findByName (String studentName)
throws FinderException;
/**
* @J2EE_METHOD -- findByCourseName
*/
public java.util.Collection findByCourseName (String name)
throws FinderException;
/**
* @J2EE_METHOD -- findByCity
*/
public java.util.Collection findByCity (String city)
throws FinderException;
/**
* @J2EE_METHOD -- findClassesStudents
*/
public java.util.Collection findClassesStudents (String id)
throws FinderException;
/**
*Home方法
*/
public java.util.Collection queryCities()throws FinderException;
public java.util.Collection getStudentByAge(Integer age)throws FinderException;
public java.util.Collection getElderStudent()throws FinderException;
public java.util.Collection getYoungestStudent()throws FinderException;
public Integer getAmountOfStudentsFromSomeCity(String city)throws FinderException;
public Double getStudentAvgAge()throws FinderException;
public Integer getStudentAges()throws FinderException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?