|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.user.objects.MemberRoleAccessBean
This bean provides access to the MBRROLE table.
The following is a description of this table:
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
MemberRoleAccessBean()
Default constructor. |
|
MemberRoleAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
MemberRoleAccessBean(java.lang.Long aMemberId,
java.lang.Integer aRoleId,
java.lang.Long aOrgEntityId)
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). |
java.util.Enumeration |
findByMemberId(java.lang.Long aMemberId)
The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?)". |
java.util.Enumeration |
findByMemberIdOrgEntityId(java.lang.Long aMemberId,
java.lang.Long aOrgEntityId)
The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?) AND (T1.ORGENTITY_ID = ?)". |
java.util.Enumeration |
findByMemberIdRoleId(java.lang.Long aMemberId,
java.lang.Integer aRoleId)
The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?) AND (T1.ROLE_ID = ?)". |
MemberRoleAccessBean |
findByMemberIdRoleIdOrgEntityId(java.lang.Long aMemberId,
java.lang.Integer aRoleId,
java.lang.Long aOrgEntityId)
The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?) AND (T1.ROLE_ID = ?) AND (T1.ORGENTITY_ID = ?)". |
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()
Role played by the member. |
java.lang.Integer |
getRoleIdInEJBType()
Role played by the member. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_MemberId(java.lang.String aInitKey_MemberId)
Set the primary key for this object |
void |
setInitKey_OrgEntityId(java.lang.String aInitKey_OrgEntityId)
Set the primary key for this object |
void |
setInitKey_RoleId(java.lang.String aInitKey_RoleId)
Set the primary key for this object |
void |
setMemberId(java.lang.Long aMemberId)
This method provides access to the MBRROLE.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String aMemberId)
This method provides access to the MBRROLE.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrgEntityId(java.lang.Long aOrgEntityId)
This method provides access to the MBRROLE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrgEntityId(java.lang.String aOrgEntityId)
This method provides access to the MBRROLE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL. |
void |
setRoleId(java.lang.Integer aRoleId)
Set the role played by the member. |
void |
setRoleId(java.lang.String aRoleId)
Set the role played by the member. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MemberRoleAccessBean()
Default constructor. Maps to findByPrimaryKey.
public MemberRoleAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic MemberRoleAccessBean(java.lang.Long aMemberId, java.lang.Integer aRoleId, java.lang.Long aOrgEntityId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
aMemberId
- java.lang.LongaRoleId
- java.lang.IntegeraOrgEntityId
- java.lang.Longjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByMemberId(java.lang.Long aMemberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRROLE T1 WHERE (T1.MEMBER_ID = ?)".
aMemberId
- java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByMemberIdOrgEntityId(java.lang.Long aMemberId, java.lang.Long aOrgEntityId) 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 = ?)".
aMemberId
- java.lang.LongaOrgEntityId
- java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByMemberIdRoleId(java.lang.Long aMemberId, java.lang.Integer aRoleId) 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 = ?)".
aMemberId
- java.lang.LongaRoleId
- java.lang.Integerjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic MemberRoleAccessBean findByMemberIdRoleIdOrgEntityId(java.lang.Long aMemberId, java.lang.Integer aRoleId, java.lang.Long aOrgEntityId) 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 = ?)".
aMemberId
- java.lang.LongaRoleId
- java.lang.IntegeraOrgEntityId
- java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getMemberId
in interface MemberRoleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getOrgEntityId
in interface MemberRoleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getRoleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Role played by the member.
getRoleId
in interface MemberRoleAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getRoleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Role played by the member.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setInitKey_MemberId(java.lang.String aInitKey_MemberId)
Set the primary key for this object
aInitKey_MemberId
- java.lang.Stringpublic void setInitKey_OrgEntityId(java.lang.String aInitKey_OrgEntityId)
Set the primary key for this object
aInitKey_OrgEntityId
- java.lang.Stringpublic void setInitKey_RoleId(java.lang.String aInitKey_RoleId)
Set the primary key for this object
aInitKey_RoleId
- java.lang.Stringpublic void setMemberId(java.lang.Long aMemberId)
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.
aMemberId
- java.lang.Longpublic void setMemberId(java.lang.String aMemberId)
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.
setMemberId
in interface MemberRoleAccessBeanData
aMemberId
- java.lang.Stringpublic void setOrgEntityId(java.lang.Long aOrgEntityId)
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.
aOrgEntityId
- java.lang.Longpublic void setOrgEntityId(java.lang.String aOrgEntityId)
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.
setOrgEntityId
in interface MemberRoleAccessBeanData
aOrgEntityId
- java.lang.Stringpublic void setRoleId(java.lang.Integer aRoleId)
Set the role played by the member.
aRoleId
- java.lang.Integerpublic void setRoleId(java.lang.String aRoleId)
Set the role played by the member.
setRoleId
in interface MemberRoleAccessBeanData
aRoleId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |