|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.ejb.EEntityBean
com.bankframe.ei.ldap.LDAPEntityBean
com.bankframe.services.sessionmgmt.ldap.session.LDAPBankFrameSessionBean
public class LDAPBankFrameSessionBean
Implementation class used to encapsulate BankFrame session data stored on an ldap server.
Field Summary | |
---|---|
static String |
ID_ATTRIBUTE_NAME
|
static String |
OBJECT_CLASS_NAME
|
static String |
TIME_STAMP_ATTRIBUTE_NAME
|
static String |
USER_ID_ATTRIBUTE_NAME
|
Fields inherited from class com.bankframe.ei.ldap.LDAPEntityBean |
---|
LDAP_SERVER_CONTEXT_ALIAS |
Constructor Summary | |
---|---|
LDAPBankFrameSessionBean()
|
Method Summary | |
---|---|
LDAPEntityBeanPK |
ejbCreate(String sessionId,
String userId)
EJB Creation method for the EJB bean |
Enumeration |
ejbFindAll()
Gets enumeration containing primary key instances of all entries in LDAP |
LDAPEntityBeanPK |
ejbFindByPrimaryKey(LDAPEntityBeanPK primaryKey)
Refreshes the Entity Bean from the LDAP server using the specified primary Key |
void |
ejbPostCreate(String sessionId,
String userId)
EJB Post Create does nothing |
String |
getRdnAttributeName()
Gets the ID Attribute name for the Session object |
String |
getSessionId()
|
long |
getTimeStamp()
Gets the Time Stamp of the Session |
String |
getUserId()
Gets the UserId of the Session |
void |
updateTimeStamp()
Updates the time stamp of the Session with the current time |
Methods inherited from class com.bankframe.ei.ldap.LDAPEntityBean |
---|
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, get, getMultiple, getPrimaryKey, ldapCreate, put, putMultiple, putObjectClass, setEntityContext, toDataPacket, unsetEntityContext |
Methods inherited from class com.bankframe.ejb.EEntityBean |
---|
toString, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String OBJECT_CLASS_NAME
public static final String ID_ATTRIBUTE_NAME
public static final String USER_ID_ATTRIBUTE_NAME
public static final String TIME_STAMP_ATTRIBUTE_NAME
Constructor Detail |
---|
public LDAPBankFrameSessionBean()
Method Detail |
---|
public LDAPEntityBeanPK ejbCreate(String sessionId, String userId) throws CreateException
sessionId
- String for sessionuserId
- String for session
CreateException
- if creation failed.public Enumeration ejbFindAll() throws FinderException
FinderException
public LDAPEntityBeanPK ejbFindByPrimaryKey(LDAPEntityBeanPK primaryKey) throws FinderException
primaryKey
- LDAPEntityBeanPK is the primary key to the LDAP entry
FinderException
public void ejbPostCreate(String sessionId, String userId)
sessionId
- String for sessionuserId
- String for sessionpublic String getRdnAttributeName()
getRdnAttributeName
in class LDAPEntityBean
public String getSessionId()
public long getTimeStamp()
public String getUserId()
public void updateTimeStamp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |