📄 studentlocalhome.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -