|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EmpLocalHome
The Home Interface for the Emp CMP Sample.
Method Summary | |
---|---|
EmpLocal |
create(java.lang.Integer empid)
This Home Interface Method is responsible for the creation of a skeleton Emp. |
EmpLocal |
create(java.lang.Integer empid,
java.lang.String name,
double salary,
double bonus,
java.sql.Date hireDate,
java.sql.Time hireTime,
java.sql.Timestamp hireTimestamp,
boolean isManager)
This Home Interface Method is responsible for the creation of an Emp. |
EmpLocal |
findByPrimaryKey(EmpKey primaryKey)
This Home Interface Method is used to find a Emp by its primary key. |
Methods inherited from interface javax.ejb.EJBLocalHome |
---|
remove |
Method Detail |
---|
EmpLocal create(java.lang.Integer empid) throws javax.ejb.CreateException
empid
- java.lang.Integer
javax.ejb.CreateException.
- This exception is thrown to
indicate a failure to create the entity EJB.
javax.ejb.CreateException
EmpLocal create(java.lang.Integer empid, java.lang.String name, double salary, double bonus, java.sql.Date hireDate, java.sql.Time hireTime, java.sql.Timestamp hireTimestamp, boolean isManager) throws javax.ejb.CreateException
empid
- java.lang.Integername
- java.lang.Stringsalary
- doublebonus
- doublehireDate
- java.sql.DatehireTime
- java.sql.TimehireTimestamp
- java.sql.TimestampisManager
- boolean
javax.ejb.CreateException.
- This exception is thrown to
indicate a failure to create the entity EJB.
javax.ejb.CreateException
EmpLocal findByPrimaryKey(EmpKey primaryKey) throws javax.ejb.FinderException
primaryKey
- EmpKey
javax.ejb.FinderException.
- This exception is thrown to
indicate a failure to find the entity EJB.
javax.ejb.FinderException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |