com.bankframe.services.accesscontrol.ejb.userpermission
Interface EJBUserPermissionHome

All Superinterfaces:
EJBHome, Remote

public interface EJBUserPermissionHome
extends EJBHome

This is the Home interface for the EJBUserPermissionBean


Method Summary
 EJBUserPermission create(String userId, String requestId)
          This method must be implemented by all EJBs.
 Enumeration findAll()
          This method creates an instance of each entry in the database table and returns to the client as an enumeration.
 EJBUserPermission findByPrimaryKey(EJBUserPermissionPK primaryKey)
          This methog retrieves an EJB that has the primary key that is given as a parameter.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

EJBUserPermission create(String userId,
                         String requestId)
                         throws RemoteException,
                                CreateException
This method must be implemented by all EJBs. See the javax.ejb.EJBHome Class for details.

Parameters:
userId - the user id
requestId - the request id representing a permission for this user.
Throws:
RemoteException
CreateException

findAll

Enumeration findAll()
                    throws RemoteException,
                           FinderException
This method creates an instance of each entry in the database table and returns to the client as an enumeration.

Returns:
an ennumeration of all beans in the database
Throws:
RemoteException - RemoteException
FinderException - FinderException

findByPrimaryKey

EJBUserPermission findByPrimaryKey(EJBUserPermissionPK primaryKey)
                                   throws RemoteException,
                                          FinderException
This methog retrieves an EJB that has the primary key that is given as a parameter. See the javax.ejb.EJBHome Class for details.

Parameters:
primaryKey - primary key in the 'EJBUSER_PERMISSIONS' database table
Returns:
an EJBUserPermission object that contians the given primary key
Throws:
RemoteException - RemoteException
FinderException - FinderException


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