com.bankframe.services.accesscontrol.ejb.groupmembers
Class EJBGroupMemberBean

java.lang.Object
  extended bycom.bankframe.ejb.EEntityBean
      extended bycom.bankframe.services.accesscontrol.ejb.groupmembers.EJBGroupMemberBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

public class EJBGroupMemberBean
extends EEntityBean

This class refers to the EJBGROUP_MEMBERS table in the database. This table is responsible for holding information about the groups a user belongs to in bankframe.

Author:
ETU
See Also:
Serialized Form

Field Summary
 java.lang.String groupId
          Group Id
 java.lang.String userId
          User Id
 
Constructor Summary
EJBGroupMemberBean()
           
 
Method Summary
 EJBGroupMemberPK ejbCreate(java.lang.String userId, java.lang.String groupId)
          This method must be implemented by all EJBs.
 void ejbPostCreate(java.lang.String userId, java.lang.String groupId)
          This method must be implemented by all EJBs.
 java.lang.String getGroupId()
          This method retrieve the userGroupID.
 java.lang.String getUserId()
          This method retrieves the userID.
 DataPacket toDataPacket()
          This method returns this bean's instance variables in a DataPacket format.
 
Methods inherited from class com.bankframe.ejb.EEntityBean
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, toString, unsetEntityContext, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

userId

public java.lang.String userId
User Id


groupId

public java.lang.String groupId
Group Id

Constructor Detail

EJBGroupMemberBean

public EJBGroupMemberBean()
Method Detail

ejbCreate

public EJBGroupMemberPK ejbCreate(java.lang.String userId,
                                  java.lang.String groupId)
                           throws javax.ejb.CreateException
This method must be implemented by all EJBs.

Parameters:
userId - create the EJB with this user id
groupId - create the EJB with this group id
Throws:
javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(java.lang.String userId,
                          java.lang.String groupId)
                   throws javax.ejb.CreateException
This method must be implemented by all EJBs. See the javax.ejb.EJBHome class for details.

Parameters:
userId - create the EJB with this user id
groupId - create the EJB with this group id
Throws:
javax.ejb.CreateException

getGroupId

public java.lang.String getGroupId()
This method retrieve the userGroupID.

Returns:
userGroupID

getUserId

public java.lang.String getUserId()
This method retrieves the userID.

Returns:
userID

toDataPacket

public DataPacket toDataPacket()
This method returns this bean's instance variables in a DataPacket format.

Specified by:
toDataPacket in class EEntityBean
Returns:
a DataPacket representation of this bean


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