1 package edu.rice.rubis.beans; 2 3 import javax.ejb.*; 4 import java.rmi.*; 5 6 11 public interface Category extends EJBObject { 12 18 public Integer getId() throws RemoteException; 19 20 26 public String getName() throws RemoteException; 27 28 34 public void setName(String newName) throws RemoteException; 35 36 37 44 public String printCategory() throws RemoteException; 45 46 53 public String printCategoryByRegion(int regionId) throws RemoteException; 54 55 62 public String printCategoryToSellItem(int userId) throws RemoteException; 63 } 64 | Popular Tags |