java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.user.objects.MemberRoleAccessBean
This table stores role assignment for members. Each member can play one or more roles in the WebSphere Commerce system. When a member is assigned a role, the orgEntity for which the member plays that role can also be specified. This access bean corresponds to the database table 'MBRROLE'.
Constructor Summary | |
MemberRoleAccessBean() Zero argument constructor used to initialize the access bean. |
|
MemberRoleAccessBean(javax.ejb.EJBObject o) constructor |
|
MemberRoleAccessBean(java.lang.Long argMemberId, java.lang.Integer argRoleId, java.lang.Long argOrgEntityId) Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByMemberId(java.lang.Long anMemberId) The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?)". |
java.util.Enumeration | findByMemberIdOrgEntityId(java.lang.Long anMemberId, java.lang.Long anOrgEntityId) The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?) AND (T1.ORGENTITY_ID = ?)". |
java.util.Enumeration | findByMemberIdRoleId(java.lang.Long anMemberId, java.lang.Integer anRoleId) The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?) AND (T1.ROLE_ID = ?)". |
MemberRoleAccessBean | findByMemberIdRoleIdOrgEntityId(java.lang.Long anMemberId, java.lang.Integer anRoleId, java.lang.Long anOrgEntityId) The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?) AND (T1.ROLE_ID = ?) AND (T1.ORGENTITY_ID = ?)". |
java.util.Enumeration | findByRoleIdOrgEntityId(java.lang.Integer anRoleId, java.lang.Long anOrgEntityId) Insert the method's description here. |
java.lang.String | getMemberId() This method provides access to the MBRROLE.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberIdInEJBType() This method provides access to the MBRROLE.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getOrgEntityId() This method provides access to the MBRROLE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrgEntityIdInEJBType() This method provides access to the MBRROLE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getRoleId() This method provides access to the MBRROLE.ROLE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getRoleIdInEJBType() This method provides access to the MBRROLE.ROLE_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setInitKey_MemberId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_OrgEntityId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_RoleId(java.lang.String newValue) Set the primary key for this object |
void | setMemberId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrgEntityId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrgEntityId(java.lang.String newValue) This method accesses a non-CMP field |
void | setRoleId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setRoleId(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MemberRoleAccessBean()
public MemberRoleAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public MemberRoleAccessBean(java.lang.Long argMemberId, java.lang.Integer argRoleId, java.lang.Long argOrgEntityId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Detail |
public MemberRoleAccessBean findByMemberIdRoleIdOrgEntityId(java.lang.Long anMemberId, java.lang.Integer anRoleId, java.lang.Long anOrgEntityId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?) AND (T1.ROLE_ID = ?) AND (T1.ORGENTITY_ID = ?)".
public java.util.Enumeration findByMemberId(java.lang.Long anMemberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?)".
public java.util.Enumeration findByMemberIdOrgEntityId(java.lang.Long anMemberId, java.lang.Long anOrgEntityId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?) AND (T1.ORGENTITY_ID = ?)".
public java.util.Enumeration findByMemberIdRoleId(java.lang.Long anMemberId, java.lang.Integer anRoleId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?) AND (T1.ROLE_ID = ?)".
public void setInitKey_MemberId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_OrgEntityId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_RoleId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getRoleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRROLE.ROLE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Foreign key to the ROLE table.
public java.lang.Integer getRoleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRROLE.ROLE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Foreign key to the ROLE table.
public void setRoleId(java.lang.String newValue)
public void setRoleId(java.lang.Integer newValue)
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRROLE.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to the MEMBER table for the member who plays this role.
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRROLE.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to the MEMBER table for the member who plays this role.
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
public java.lang.String getOrgEntityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRROLE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to the ORGENTITY table for the orgEntity for which the member plays this role.
public java.lang.Long getOrgEntityIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRROLE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to the ORGENTITY table for the orgEntity for which the member plays this role.
public void setOrgEntityId(java.lang.String newValue)
public void setOrgEntityId(java.lang.Long newValue)
public java.util.Enumeration findByRoleIdOrgEntityId(java.lang.Integer anRoleId, java.lang.Long anOrgEntityId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.