KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > docs > cmp2 > crimeportal > GangsterHome


1 package org.jboss.docs.cmp2.crimeportal;
2
3 import java.util.Collection JavaDoc;
4 import java.util.Set JavaDoc;
5 import javax.ejb.CreateException JavaDoc;
6 import javax.ejb.EJBLocalHome JavaDoc;
7 import javax.ejb.FinderException JavaDoc;
8
9 public interface GangsterHome extends EJBLocalHome JavaDoc
10 {
11    Gangster create(Integer JavaDoc id, String JavaDoc name, String JavaDoc nickName)
12          throws CreateException JavaDoc;
13
14    Gangster findByPrimaryKey(Integer JavaDoc id) throws FinderException JavaDoc;
15
16    Collection JavaDoc findAll() throws FinderException JavaDoc;
17    Collection JavaDoc findBadDudes(int badness) throws FinderException JavaDoc;
18    Set JavaDoc selectBoss(String JavaDoc name) throws FinderException JavaDoc;
19 }
20
Popular Tags