userlocalhome.java

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

JAVA
30
字号
package com.wiley.compBooks.EJwithUML.TimeCardDomain;

import java.util.*;
import javax.ejb.*;

/**
 * The User bean holds descriptive information about a User.
 * UserLocalHome is the local interface through which local clients find and
 * create the underlying entity beans.
 */

public interface UserLocalHome extends EJBLocalHome
{
  /**
   * Answers a Collection that contains references to User beans that
   * match the username. Should be unique.
   */
  public Collection findByUserName(String name) throws FinderException;

  /** Answers a Collection that contains references to all User beans. */
  public Collection findAll() throws FinderException;

  /** Answers a local reference to the User bean, if it exists. */
  public UserLocal findByPrimaryKey(UserPK key) throws FinderException;

  /** Answers a local reference to the newly created User bean. */
  public UserLocal create(String id, String name, String password,
                          boolean passwordFlag) throws CreateException;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?