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