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

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

public interface EJBBankFrameSessionHome
extends javax.ejb.EJBHome

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


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

Method Detail

create

public EJBBankFrameSession create(java.lang.String sessionId,
                                  java.lang.String userId)
                           throws javax.ejb.CreateException,
                                  java.rmi.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:
javax.ejb.CreateException - if the instance cannot be created
java.rmi.RemoteException - if an error occurs

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException
Find all user sessions

Returns:
Enumeration of EJBBankFrameSession instances
Throws:
javax.ejb.FinderException - if an error occurs retrieving instances
java.rmi.RemoteException - if an error occurs

findByUserId

public java.util.Enumeration findByUserId(java.lang.String userId)
                                   throws java.rmi.RemoteException,
                                          javax.ejb.FinderException
Find all user sessions by userId

Parameters:
userId - String
Returns:
Enumeration of EJBBankFrameSession instances
Throws:
javax.ejb.FinderException - if an error occurs retrieving instances
java.rmi.RemoteException - if an error occurs

findByPrimaryKey

public EJBBankFrameSession findByPrimaryKey(EJBBankFrameSessionPK primaryKey)
                                     throws java.rmi.RemoteException,
                                            javax.ejb.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:
javax.ejb.FinderException - if the instance cannot be found
java.rmi.RemoteException - if an error occurs


Copyright © 2004 Siebel Systems, Inc. All rights reserved.