|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeptHome
The Home Interface for the Dept CMP Sample.
Method Summary | |
---|---|
Dept |
create(java.lang.Integer deptno)
This Home Interface Method is responsible for the creation of a skeleton Dept. |
Dept |
create(java.lang.Integer deptno,
java.lang.String name,
double budget)
This Home Interface Method is responsible for the creation of a Dept. |
Dept |
findByPrimaryKey(DeptKey primaryKey)
This Home Interface Method is used to find a Dept by its primary key. |
Methods inherited from interface javax.ejb.EJBHome |
---|
getEJBMetaData, getHomeHandle, remove, remove |
Method Detail |
---|
Dept create(java.lang.Integer deptno) throws javax.ejb.CreateException, java.rmi.RemoteException
deptno
- java.lang.Integer
javax.ejb.CreateException.
- This exception is thrown to
indicate a failure to create the entity EJB.
java.rmi.RemoteException
- Signals that a Remote exception of
some sort has occurred.
javax.ejb.CreateException
Dept create(java.lang.Integer deptno, java.lang.String name, double budget) throws javax.ejb.CreateException, java.rmi.RemoteException
deptno
- java.lang.Integername
- java.lang.Stringbudget
- double
javax.ejb.CreateException.
- This exception is thrown to
indicate a failure to create the entity EJB.
java.rmi.RemoteException
- Signals that a Remote exception of
some sort has occurred.
javax.ejb.CreateException
Dept findByPrimaryKey(DeptKey primaryKey) throws javax.ejb.FinderException, java.rmi.RemoteException
primaryKey
- DeptKey
java.rmi.RemoteException.
- This exception is thrown to
indicate some sort of remote exception occurred.
javax.ejb.FinderException.
- This exception is thrown to
indicate a failure to find the entity EJB.
javax.ejb.FinderException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |