com.bankframe.services.sessionmgmt.ejb.session
Interface EJBBankFrameSessionHome

All Superinterfaces:
EJBHome, Remote

public interface EJBBankFrameSessionHome
extends EJBHome

This interface is the home interface for EJB-based User Session entity bean.


Method Summary
 EJBBankFrameSession create(String sessionId, String userId)
          Create a BankFrame Session instance
 Enumeration findAll()
          Find all user sessions
 EJBBankFrameSession findByPrimaryKey(EJBBankFrameSessionPK primaryKey)
          Find a specific user session ( specified by the primary key, its sessionId )
 Enumeration findByUserId(String userId)
          Find all user sessions by userId
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

EJBBankFrameSession create(String sessionId,
                           String userId)
                           throws CreateException,
                                  RemoteException
Create a BankFrame Session instance

Parameters:
sessionId - Globally unique Id for this user session
userId - Unique id of the user that this session belongs to
Throws:
CreateException - if the instance cannot be created
RemoteException - if an error occurs

findAll

Enumeration findAll()
                    throws RemoteException,
                           FinderException
Find all user sessions

Returns:
Enumeration of EJBBankFrameSession instances
Throws:
FinderException - if an error occurs retrieving instances
RemoteException - if an error occurs

findByUserId

Enumeration findByUserId(String userId)
                         throws RemoteException,
                                FinderException
Find all user sessions by userId

Parameters:
userId - String
Returns:
Enumeration of EJBBankFrameSession instances
Throws:
FinderException - if an error occurs retrieving instances
RemoteException - if an error occurs

findByPrimaryKey

EJBBankFrameSession findByPrimaryKey(EJBBankFrameSessionPK primaryKey)
                                     throws RemoteException,
                                            FinderException
Find a specific user session ( specified by the primary key, its sessionId )

Parameters:
primaryKey - The primary key of the sessionId
Returns:
EJBBankFrameSession instance on success
Throws:
FinderException - if the instance cannot be found
RemoteException - if an error occurs


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