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

All Superinterfaces:
EJBHome, Remote

public interface EJBGroupHome
extends EJBHome

This interface is the home interface of the group bean


Method Summary
 EJBGroup create(String groupId, String groupName)
          This method must be implemented by all EJBs.
 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

EJBGroup create(String groupId,
                String groupName)
                throws RemoteException,
                       CreateException
This method must be implemented by all EJBs.

Parameters:
groupId - the id of the Group
groupName - the name of the Group
Throws:
RemoteException
CreateException

findAll

Enumeration findAll()
                    throws RemoteException,
                           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:
RemoteException
FinderException

findByPrimaryKey

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

Parameters:
primaryKey - primary key in the 'EJBGroups' database table
Throws:
RemoteException
FinderException


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