com.bankframe.services.sessionmgmt
Interface BankFrameSession

All Superinterfaces:
EEntityRemote, EJBObject, Remote
All Known Subinterfaces:
EJBBankFrameSession, LDAPBankFrameSession

public interface BankFrameSession
extends EEntityRemote

Remote interface of a BankFrame session.


Method Summary
 String getSessionId()
          Return this session's unique id
 long getTimeStamp()
          Return the timestamp of the last time this session was accessed
 String getUserId()
          Return the userid associated with this session
 void updateTimeStamp()
          Update this session's timestamp
 
Methods inherited from interface com.bankframe.ejb.EEntityRemote
toDataPacket
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getSessionId

String getSessionId()
                    throws RemoteException
Return this session's unique id

Returns:
This session's unique id
Throws:
RemoteException

getTimeStamp

long getTimeStamp()
                  throws RemoteException
Return the timestamp of the last time this session was accessed

Throws:
May - throw RemoteException if the concrete implementation of this interface operates over RMI
RemoteException

getUserId

String getUserId()
                 throws RemoteException
Return the userid associated with this session

Returns:
The userid associate with this session
Throws:
RemoteException

updateTimeStamp

void updateTimeStamp()
                     throws RemoteException
Update this session's timestamp

Throws:
RemoteException


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