projectlocalhome.java

来自「考勤管理系统源码」· Java 代码 · 共 30 行

JAVA
30
字号
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 + =
减小字号Ctrl + -
显示快捷键?