com.bankframe.services.accesscontrol.ejb.grouppermission
Class EJBGroupPermissionBean

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

public class EJBGroupPermissionBean
extends EEntityBean

This class refers to the EJBGROUP_PERMISSIONS table in the database. This table is responsible for holding information about the different permissions each user group has in bankframe. A permission in this table refers to an EJB which is denoted by its request id.

Author:
ETU
See Also:
Serialized Form

Field Summary
 java.lang.String groupId
          Group ID
 java.lang.String requestId
          Request ID for a group
 
Constructor Summary
EJBGroupPermissionBean()
           
 
Method Summary
 EJBGroupPermissionPK ejbCreate(java.lang.String groupId, java.lang.String requestId)
          This method must be implemented by all EJBs.
 void ejbPostCreate(java.lang.String groupId, java.lang.String requestId)
          This method must be implemented by all EJBs.
 java.lang.String getGroupId()
          This method retrieves the group ID.
 java.lang.String getRequestId()
          This method retrieves the requestId for the bean this user has access to.
 DataPacket toDataPacket()
          This method returns this bean's instance variables in 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

groupId

public java.lang.String groupId
Group ID


requestId

public java.lang.String requestId
Request ID for a group

Constructor Detail

EJBGroupPermissionBean

public EJBGroupPermissionBean()
Method Detail

ejbCreate

public EJBGroupPermissionPK ejbCreate(java.lang.String groupId,
                                      java.lang.String requestId)
                               throws javax.ejb.CreateException
This method must be implemented by all EJBs. See the javax.ejb.EJBHome Class for details.

Parameters:
groupId - the group id of this bean
requestId - the request id of this bean
Throws:
RemoteException
javax.ejb.CreateException

ejbPostCreate

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

Throws:
RemoteException
javax.ejb.CreateException

getGroupId

public java.lang.String getGroupId()
This method retrieves the group ID.

Returns:
the group id

getRequestId

public java.lang.String getRequestId()
This method retrieves the requestId for the bean this user has access to.

Returns:
the request id

toDataPacket

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

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


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