📄 timecardlocalhome.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -