1 22 23 package org.jboss.test.hibernate.model.v1; 24 25 import org.hibernate.HibernateException; 26 32 public interface IPerson 33 extends javax.ejb.EJBObject 34 { 35 public void init( ) 36 throws java.rmi.RemoteException , HibernateException; 37 public void sessionInit( ) 38 throws java.rmi.RemoteException , HibernateException; 39 40 public Person storeUser( Person user ) 41 throws java.rmi.RemoteException , HibernateException; 42 43 public Person loadUser( long id ) 44 throws java.rmi.RemoteException , HibernateException; 45 46 public Person loadUser( Long id ) 47 throws java.rmi.RemoteException , HibernateException; 48 49 public java.util.List listPeople() 50 throws java.rmi.RemoteException , HibernateException; 51 52 } 53 54 | Popular Tags |