|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public EJBBankFrameSession create(java.lang.String sessionId, java.lang.String userId) throws javax.ejb.CreateException, java.rmi.RemoteException
sessionId
- Globally unique Id for this user sessionuserId
- Unique id of the user that this session belongs to
javax.ejb.CreateException
- if the instance cannot be created
java.rmi.RemoteException
- if an error occurspublic java.util.Enumeration findAll() throws java.rmi.RemoteException, javax.ejb.FinderException
javax.ejb.FinderException
- if an error occurs retrieving instances
java.rmi.RemoteException
- if an error occurspublic java.util.Enumeration findByUserId(java.lang.String userId) throws java.rmi.RemoteException, javax.ejb.FinderException
userId
- String
javax.ejb.FinderException
- if an error occurs retrieving instances
java.rmi.RemoteException
- if an error occurspublic EJBBankFrameSession findByPrimaryKey(EJBBankFrameSessionPK primaryKey) throws java.rmi.RemoteException, javax.ejb.FinderException
primaryKey
- The primary key of the sessionId
javax.ejb.FinderException
- if the instance cannot be found
java.rmi.RemoteException
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |