|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ejb.EEntityBean com.bankframe.services.accesscontrol.ejb.userpermission.EJBUserPermissionBean
This class refers to the EJBUSER_PERMISSIONS table in the database. This table is responsible for holding information about the different permissions each user has in bankframe. A permission in this table refers to an EJB which is denoted by its request id.
Field Summary | |
java.lang.String |
requestId
Request ID for a user |
java.lang.String |
userId
User ID |
Constructor Summary | |
EJBUserPermissionBean()
|
Method Summary | |
EJBUserPermissionPK |
ejbCreate(java.lang.String userId,
java.lang.String requestId)
This method must be implemented by all EJBs. |
void |
ejbPostCreate(java.lang.String userId,
java.lang.String requestId)
This method must be implmented by all EJBs. |
java.lang.String |
getRequestId()
This method retrieves the requestID for the bean this user has access to. |
java.lang.String |
getUserId()
This method retrieves the userID. |
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 |
public java.lang.String userId
public java.lang.String requestId
Constructor Detail |
public EJBUserPermissionBean()
Method Detail |
public EJBUserPermissionPK ejbCreate(java.lang.String userId, java.lang.String requestId) throws javax.ejb.CreateException
javax.ejb.CreateException
RemoteException
public void ejbPostCreate(java.lang.String userId, java.lang.String requestId) throws javax.ejb.CreateException
RemoteException
javax.ejb.CreateException
public java.lang.String getRequestId()
public java.lang.String getUserId()
public DataPacket toDataPacket()
toDataPacket
in class EEntityBean
DataPacket
representation of this bean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |