com.bankframe.services.accesscontrol.ejb.group
Interface EJBGroupHome

All Superinterfaces:
javax.ejb.EJBHome, java.rmi.Remote

public interface EJBGroupHome
extends javax.ejb.EJBHome

This interface is the home interface of the group bean


Method Summary
 EJBGroup create(java.lang.String groupId, java.lang.String groupName)
          This method must be implemented by all EJBs.
 java.util.Enumeration findAll()
          This method creates an instance of each entry in the database and returns to the client as an enumeration.
 EJBGroup findByPrimaryKey(EJBGroupPK primaryKey)
          This method finds an EJBGroup based on a primary key.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public EJBGroup create(java.lang.String groupId,
                       java.lang.String groupName)
                throws java.rmi.RemoteException,
                       javax.ejb.CreateException
This method must be implemented by all EJBs.

Parameters:
groupId - the id of the Group
groupName - the name of the Group
Throws:
java.rmi.RemoteException
javax.ejb.CreateException

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException
This method creates an instance of each entry in the database and returns to the client as an enumeration.

Returns:
an enumeration containing each instance in the database
Throws:
java.rmi.RemoteException
javax.ejb.FinderException

findByPrimaryKey

public EJBGroup findByPrimaryKey(EJBGroupPK primaryKey)
                          throws java.rmi.RemoteException,
                                 javax.ejb.FinderException
This method finds an EJBGroup based on a primary key.

Parameters:
primaryKey - primary key in the 'EJBGroups' database table
Throws:
java.rmi.RemoteException
javax.ejb.FinderException


Copyright © 2005, 2007, Oracle. All rights reserved.