📄 projectlocalhome.java
字号:
package com.wiley.compBooks.EJwithUML.TimeCardDomain;
import java.util.*;
import javax.ejb.*;
/**
* The Project bean holds descriptive information about a project.
* ProjectLocalHome is the local interface through which local clients find and
* create the underlying entity beans.
*/
public interface ProjectLocalHome extends EJBLocalHome
{
/** Answers a Collection that contains references to all Projects associated
with the specified client. */
public Collection findByClientId(long clientId) throws FinderException;
/** Answers a Collection that contains references to all Project beans
that have the specified name. Should be unique. */
public Collection findProject(long clientId, String name) throws FinderException;
/** Answer a local reference to the Project if it exists. */
public ProjectLocal findByPrimaryKey(ProjectPK key) throws FinderException;
/** Answer a local reference to the newly created Project. */
public ProjectLocal create(long id, String name, String description,
ClientLocal client) throws CreateException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -