📄 recordinghome.java
字号:
package ejb.recording;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import javax.ejb.EJBHome;
import java.util.Collection;
public interface RecordingHome extends EJBHome {
/**
* Create a new Recording with the given data
*/
public Recording create(Integer key, String catalogNumber,
Double listPrice, String recordingArtist,
String recordingTitle) throws RemoteException,
CreateException;
// Both of these find methods are implemented by the container at runtime.
// If we used BMP we have to implement these in the bean class...
/**
* Find a Recording matching the target primary key
*/
public Recording findByPrimaryKey(Integer target)
throws RemoteException, FinderException;
/**
* Find Recordings with recordingArtist field same as the artist parameter
*/
public Collection findByArtist(String artist) throws RemoteException,
FinderException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -