1 26 27 package org.objectweb.alarm.beans; 28 29 import java.rmi.RemoteException ; 30 import java.util.Collection ; 31 32 import javax.ejb.CreateException ; 33 import javax.ejb.EJBHome ; 34 import javax.ejb.FinderException ; 35 36 39 public interface AlarmRecordHome extends EJBHome { 40 41 46 AlarmRecord create() throws CreateException , RemoteException ; 47 48 54 AlarmRecord create(AlarmData ad) throws CreateException , RemoteException ; 55 56 62 AlarmRecord findByPrimaryKey(String pk) throws FinderException , RemoteException ; 63 64 71 AlarmRecord findAlarm(String from, String mess) throws FinderException , RemoteException ; 72 73 78 Collection findAll() throws FinderException , RemoteException ; 79 80 87 Collection findByInterest(String from, int sev) throws FinderException , RemoteException ; 88 89 95 Collection findBySeverity(int sev) throws FinderException , RemoteException ; 96 } | Popular Tags |