|
||||||||
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.MemberRelationshipsAccessBean
This bean provides access to the MBRREL table.
The following is a description of this table:
Stores membership hierarchy relationships among users and orgEntities. Note that memberGroup is not part of the membership hierarchy.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
MemberRelationshipsAccessBean()
Default constructor. |
|
MemberRelationshipsAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
MemberRelationshipsAccessBean(java.lang.Long aDecendantMemberId,
java.lang.Long aAncestorMemberId)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
MemberRelationshipsAccessBean(java.lang.Long aDecendantMemberId,
java.lang.Long aAncestorMemberId,
java.lang.Integer aSequence)
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 |
findAncestors(java.lang.Long aDescendantId)
The SQL is "SELECT * FROM MBRREL T1 WHERE (T1.DESCENDANT_ID = ?) AND (T1.DESCENDANT_ID <> T1.ANCESTOR_ID ) ORDER BY T1.SEQUENCE". |
java.util.Enumeration |
findByAncestorsAndDescendants(java.lang.Long aAncestorId,
java.lang.Long aDescendantId)
The SQL is "SELECT * FROM MBRREL T1 WHERE (T1.ANCESTOR_ID = ?) AND (T1.DESCENDANT_ID = ?)". |
java.util.Enumeration |
findChildren(java.lang.Long aAncestorId)
The SQL is "SELECT * FROM MBRREL T1 WHERE (T1.ANCESTOR_ID = ?) AND T1.SEQUENCE = 1". |
java.util.Enumeration |
findDescendants(java.lang.Long aAncestorId)
The SQL is "SELECT * FROM MBRREL T1 WHERE (T1.ANCESTOR_ID = ?) AND (T1.DESCENDANT_ID <> T1.ANCESTOR_ID ) ORDER BY T1.SEQUENCE". |
MemberRelationshipsAccessBean |
findParent(java.lang.Long aDescendantId)
The SQL is "SELECT * FROM MBRREL T1 WHERE (T1.DESCENDANT_ID = ?) AND T1.SEQUENCE = 1". |
java.lang.String |
getAncestorId()
This method provides access to the MBRREL.ANCESTOR_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getAncestorIdInEJBType()
This method provides access to the MBRREL.ANCESTOR_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getDescendantId()
This method provides access to the MBRREL.DESCENDANT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getDescendantIdInEJBType()
This method provides access to the MBRREL.DESCENDANT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getSequence()
This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getSequenceInEJBType()
This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_AncestorId(java.lang.String aInitKey_AncestorId)
Set the primary key for this object |
void |
setInitKey_DescendantId(java.lang.String aInitKey_DescendantId)
Set the primary key for this object |
void |
setSequence(java.lang.Integer aSequence)
This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT NULL. |
void |
setSequence(java.lang.String aSequence)
This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT 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 MemberRelationshipsAccessBean()
Default constructor. Maps to findByPrimaryKey.
public MemberRelationshipsAccessBean(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 MemberRelationshipsAccessBean(java.lang.Long aDecendantMemberId, java.lang.Long aAncestorMemberId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
aDecendantMemberId
- java.lang.LongaAncestorMemberId
- java.lang.Longjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic MemberRelationshipsAccessBean(java.lang.Long aDecendantMemberId, java.lang.Long aAncestorMemberId, java.lang.Integer aSequence) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
aDecendantMemberId
- java.lang.LongaAncestorMemberId
- java.lang.LongaSequence
- java.lang.Integerjavax.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 findAncestors(java.lang.Long aDescendantId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRREL T1 WHERE (T1.DESCENDANT_ID = ?) AND (T1.DESCENDANT_ID <> T1.ANCESTOR_ID ) ORDER BY T1.SEQUENCE".
aDescendantId
- 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 findByAncestorsAndDescendants(java.lang.Long aAncestorId, java.lang.Long aDescendantId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRREL T1 WHERE (T1.ANCESTOR_ID = ?) AND (T1.DESCENDANT_ID = ?)".
aAncestorId
- java.lang.LongaDescendantId
- 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 findChildren(java.lang.Long aAncestorId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRREL T1 WHERE (T1.ANCESTOR_ID = ?) AND T1.SEQUENCE = 1".
aAncestorId
- 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 findDescendants(java.lang.Long aAncestorId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRREL T1 WHERE (T1.ANCESTOR_ID = ?) AND (T1.DESCENDANT_ID <> T1.ANCESTOR_ID ) ORDER BY T1.SEQUENCE".
aAncestorId
- java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic MemberRelationshipsAccessBean findParent(java.lang.Long aDescendantId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRREL T1 WHERE (T1.DESCENDANT_ID = ?) AND T1.SEQUENCE = 1".
aDescendantId
- 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 getAncestorId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRREL.ANCESTOR_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Ancestor member ID.
getAncestorId
in interface MemberRelationshipsAccessBeanData
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 getAncestorIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRREL.ANCESTOR_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Ancestor member ID.
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 getDescendantId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRREL.DESCENDANT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Descendant member ID.
getDescendantId
in interface MemberRelationshipsAccessBeanData
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 getDescendantIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRREL.DESCENDANT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Descendant member ID.
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 getSequence() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
A number to indicate whether the ancestor is the parent, grandparent, great grandparent, and so on for the descendant. 1 means parent, 2 means grand parent, and so on. For the Root Organization, it is its own parent and sequence is 0.
getSequence
in interface MemberRelationshipsAccessBeanData
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 getSequenceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
A number to indicate whether the ancestor is the parent, grandparent, great grandparent, and so on for the descendant. 1 means parent, 2 means grand parent, and so on. For the Root Organization, it is its own parent and sequence is 0.
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_AncestorId(java.lang.String aInitKey_AncestorId)
Set the primary key for this object
aInitKey_AncestorId
- java.lang.Stringpublic void setInitKey_DescendantId(java.lang.String aInitKey_DescendantId)
Set the primary key for this object
aInitKey_DescendantId
- java.lang.Stringpublic void setSequence(java.lang.Integer aSequence)
This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
A number to indicate whether the ancestor is the parent, grandparent, great grandparent, and so on for the descendant. 1 means parent, 2 means grand parent, and so on. For the Root Organization, it is its own parent and sequence is 0.
aSequence
- java.lang.Integerpublic void setSequence(java.lang.String aSequence)
This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
A number to indicate whether the ancestor is the parent, grandparent, great grandparent, and so on for the descendant. 1 means parent, 2 means grand parent, and so on. For the Root Organization, it is its own parent and sequence is 0.
setSequence
in interface MemberRelationshipsAccessBeanData
aSequence
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |