timecardlocalhome.java

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

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

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

/**
 * The Timecard bean holds time entries for a date range.
 * TimecardLocalHome is the local interface through which clients find and create
 * the underlying entity beans.
 */
public interface TimecardLocalHome extends EJBLocalHome
{
  /** Answers a local reference to the newly created Timecard bean. */
  public TimecardLocal create(String userId, Date start, Date end,
                              boolean isCurrent, UserLocal user) throws CreateException;

  /**
   * Answers a Collection that contains references to all Timecards for the
   * specified Use.
   */
  public Collection findAllForUser(String userId) throws FinderException;

  /**
   * Answers the current Timecard.
   */
  public Collection findCurrentTimecardForUser(String userId) throws FinderException;

  /**
   * Answers a Collection of Timecards that matchs the user and has a start date
   * that fallsw within the date range, inclusive.
   */
  public Collection findTimecard(String userId, long start, long end) throws FinderException;

  /** Answers a local reference to the specified Timecard, if it exists. */
  public TimecardLocal findByPrimaryKey(TimecardPK key) throws FinderException;
}

⌨️ 快捷键说明

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