|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.ejb.EEntityBean
com.bankframe.services.accesscontrol.ejb.userpermission.EJBUserPermissionBean
public class 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 | |
---|---|
String |
requestId
Request ID for a user |
String |
userId
User ID |
Constructor Summary | |
---|---|
EJBUserPermissionBean()
|
Method Summary | |
---|---|
EJBUserPermissionPK |
ejbCreate(String userId,
String requestId)
This method must be implemented by all EJBs. |
void |
ejbPostCreate(String userId,
String requestId)
This method must be implmented by all EJBs. |
String |
getRequestId()
This method retrieves the requestID for the bean this user has access to. |
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 String userId
public String requestId
Constructor Detail |
---|
public EJBUserPermissionBean()
Method Detail |
---|
public EJBUserPermissionPK ejbCreate(String userId, String requestId) throws CreateException
userId
- requestId
- the request id representing a permission for this user.
CreateException
RemoteException
public void ejbPostCreate(String userId, String requestId) throws CreateException
userId
- requestId
- the request id representing a permission for this user.
RemoteException
CreateException
public String getRequestId()
public 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 |