KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > interfaces > AccountHome


1 /*
2  * Generated by XDoclet - Do not edit!
3  */

4 package test.interfaces;
5
6 /**
7  * Home interface for Account.
8  * @xdoclet-generated at 16-04-05
9  * @copyright The XDoclet Team
10  * @author XDoclet
11  * @version 1.2.3
12  */

13 public interface AccountHome
14    extends javax.ejb.EJBHome JavaDoc
15 {
16    public static final String JavaDoc COMP_NAME="java:comp/env/ejb/Account";
17    public static final String JavaDoc JNDI_NAME="ejb/bank/Account";
18
19    public test.interfaces.Account create(test.interfaces.AccountValue data)
20       throws javax.ejb.CreateException JavaDoc,java.rmi.RemoteException JavaDoc;
21
22    public java.util.Collection JavaDoc findAll()
23       throws javax.ejb.FinderException JavaDoc,java.rmi.RemoteException JavaDoc;
24
25    public java.util.Collection JavaDoc findByOwner(test.interfaces.Customer owner)
26       throws javax.ejb.FinderException JavaDoc,java.rmi.RemoteException JavaDoc;
27
28    public java.util.Collection JavaDoc findLargeAccounts(int balance)
29       throws javax.ejb.FinderException JavaDoc,java.rmi.RemoteException JavaDoc;
30
31    public test.interfaces.Account findByPrimaryKey(test.interfaces.AccountPK pk)
32       throws javax.ejb.FinderException JavaDoc,java.rmi.RemoteException JavaDoc;
33
34    /**
35     * Transfer money
36     */

37    public void transfer(test.interfaces.Account from , test.interfaces.Account to , float amount)
38       throws java.rmi.RemoteException JavaDoc;
39
40 }
41
Popular Tags