|
||||||||
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.MemberAccessBean
This bean provides access to the MEMBER table.
The following is a description of this table:
Stores the list of members (participants) of the WebSphere Commerce system.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
MemberAccessBean()
Default constructor. |
|
MemberAccessBean(javax.ejb.EJBObject Object)
Creates an access bean for the specified EJB |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.lang.Long[] |
getAncestors()
List of all ancestors of the member. |
java.lang.Long[] |
getChildren()
List of child members. |
java.lang.Long[] |
getDescendants()
List of all descendants members. |
java.lang.String |
getMemberId()
This method provides access to the MEMBER.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getMemberIdInEJBType()
This method provides access to the MEMBER.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getParentMemberId()
The parent member. |
java.lang.Integer[] |
getRoles()
All roles played by this member. |
java.lang.Integer[] |
getRoles(java.lang.Long aOrgEntityId)
All roles played by this member in this OrgEntity. |
java.lang.Integer[] |
getRolesForOrgEntityAndAncestors(java.lang.Long anOrgEntityId)
Roles that member played in the OrgEntity and ancestors of the OrgEntity. |
java.lang.String |
getState()
This method provides access to the MEMBER.STATE column of DB2 type INTEGER NULL. |
java.lang.Integer |
getStateInEJBType()
This method provides access to the MEMBER.STATE column of DB2 type INTEGER NULL. |
java.lang.String |
getType()
Type of the member, such as OrgEntity, User and MemberGroup. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_MemberId(java.lang.String aInitKey_MemberId)
Set the primary key for this object |
void |
setParentMemberId(java.lang.String aParentMemberId)
Set the parent member. |
void |
setState(java.lang.Integer aState)
This method provides access to the MEMBER.STATE column of DB2 type INTEGER NULL. |
void |
setState(java.lang.String aState)
This method provides access to the MEMBER.STATE column of DB2 type INTEGER NULL. |
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 MemberAccessBean()
Default constructor. Maps to findByPrimaryKey.
public MemberAccessBean(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 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.lang.Long[] getAncestors() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
List of all ancestors of the member.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic java.lang.Long[] getChildren() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
List of child members.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic java.lang.Long[] getDescendants() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
List of all descendants members.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBER.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID for the member, a unique primary key for this table.
getMemberId
in interface MemberAccessBeanData
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 MEMBER.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID for the member, a unique primary key for this table.
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 getParentMemberId() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
The parent member.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic java.lang.Integer[] getRoles() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
All roles played by this member.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic java.lang.Integer[] getRoles(java.lang.Long aOrgEntityId) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
All roles played by this member in this OrgEntity.
aOrgEntityId
- java.lang.Longjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.Long anOrgEntityId) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Roles that member played in the OrgEntity and ancestors of the OrgEntity.
anOrgEntityId
- java.lang.Longjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic java.lang.String getState() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBER.STATE column of DB2 type INTEGER NULL.
The following is a description of this column:
The registration approval status as follows:
0 - pending approval.
1 - approved.
2 - rejected.
Null - the approval is not applicable.
getState
in interface MemberAccessBeanData
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 getStateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBER.STATE column of DB2 type INTEGER NULL.
The following is a description of this column:
The registration approval status as follows:
0 - pending approval.
1 - approved.
2 - rejected.
Null - the approval is not applicable.
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 getType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Type of the member, such as OrgEntity, User and MemberGroup.
getType
in interface MemberAccessBeanData
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 setParentMemberId(java.lang.String aParentMemberId) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Set the parent member.
aParentMemberId
- java.lang.Stringjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic void setState(java.lang.Integer aState)
This method provides access to the MEMBER.STATE column of DB2 type INTEGER NULL.
The following is a description of this column:
The registration approval status as follows:
0 - pending approval.
1 - approved.
2 - rejected.
Null - the approval is not applicable.
aState
- java.lang.Integerpublic void setState(java.lang.String aState)
This method provides access to the MEMBER.STATE column of DB2 type INTEGER NULL.
The following is a description of this column:
The registration approval status as follows:
0 - pending approval.
1 - approved.
2 - rejected.
Null - the approval is not applicable.
setState
in interface MemberAccessBeanData
aState
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |