|
||||||||
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.negotiation.objects.MemberAuctionRelationAccessBean
This bean provides access to the MEMBRAUCT table.
The following is a description of this table:
This table describes the member and auction relationship.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
MemberAuctionRelationAccessBean()
Zero argument constructor used to initialize the access bean. |
|
MemberAuctionRelationAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
MemberAuctionRelationAccessBean(java.lang.Long auctionId,
java.lang.Long memberId,
java.lang.String type)
Creates an access bean with the specified attributes. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByAuctionIdAndType(java.lang.Long auctionId,
java.lang.String type,
com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all member/auction relationship records for the specified auction and type. |
boolean |
fulfills(java.lang.Long aFills1,
java.lang.String aFills2)
IBM internal use only. |
java.lang.String |
getAuctionId()
This method provides access to the MEMBRAUCT.AUCT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getAuctionIdInEJBType()
This method provides access to the MEMBRAUCT.AUCT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getComment()
This method provides access to the MEMBRAUCT.COMMENTS column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getField1()
This method provides access to the MEMBRAUCT.FIELD1 column of DB2 type BIGINT NULL. |
java.lang.Long |
getField1InEJBType()
This method provides access to the MEMBRAUCT.FIELD1 column of DB2 type BIGINT NULL. |
java.lang.String |
getField2()
This method provides access to the MEMBRAUCT.FIELD2 column of DB2 type BIGINT NULL. |
java.lang.Long |
getField2InEJBType()
This method provides access to the MEMBRAUCT.FIELD2 column of DB2 type BIGINT NULL. |
java.lang.String |
getField3()
This method provides access to the MEMBRAUCT.FIELD3 column of DB2 type BIGINT NULL. |
java.lang.Long |
getField3InEJBType()
This method provides access to the MEMBRAUCT.FIELD3 column of DB2 type BIGINT NULL. |
java.lang.String |
getMemberId()
This method provides access to the MEMBRAUCT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getMemberIdInEJBType()
This method provides access to the MEMBRAUCT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOwner()
Member ID of the customer who is bidding. |
java.lang.String |
getRelationType()
This method provides access to the MEMBRAUCT.RELATIONTYPE column of DB2 type CHAR(10) NOT NULL. |
java.lang.String |
getStatus()
This method provides access to the MEMBRAUCT.STATUS column of DB2 type CHAR(4) NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setAuctionId(java.lang.Long aAuctionId1)
This method provides access to the MEMBRAUCT.AUCT_ID column of DB2 type BIGINT NOT NULL. |
void |
setAuctionId(java.lang.String aAuctionId1)
This method provides access to the MEMBRAUCT.AUCT_ID column of DB2 type BIGINT NOT NULL. |
void |
setComment(java.lang.String aComment1)
This method provides access to the MEMBRAUCT.COMMENTS column of DB2 type VARCHAR(254) NULL. |
void |
setField1(java.lang.Long aField11)
This method provides access to the MEMBRAUCT.FIELD1 column of DB2 type BIGINT NULL. |
void |
setField1(java.lang.String aField11)
This method provides access to the MEMBRAUCT.FIELD1 column of DB2 type BIGINT NULL. |
void |
setField2(java.lang.Long aField21)
This method provides access to the MEMBRAUCT.FIELD2 column of DB2 type BIGINT NULL. |
void |
setField2(java.lang.String aField21)
This method provides access to the MEMBRAUCT.FIELD2 column of DB2 type BIGINT NULL. |
void |
setField3(java.lang.Long aField31)
This method provides access to the MEMBRAUCT.FIELD3 column of DB2 type BIGINT NULL. |
void |
setField3(java.lang.String aField31)
This method provides access to the MEMBRAUCT.FIELD3 column of DB2 type BIGINT NULL. |
void |
setInitKey_auctionId(java.lang.Long aInitKey_auctionId1)
Set the primary key for this object |
void |
setInitKey_memberId(java.lang.Long aInitKey_memberId1)
Set the primary key for this object |
void |
setInitKey_relationType(java.lang.String aInitKey_relationType1)
Set the primary key for this object |
void |
setMemberId(java.lang.Long aMemberId1)
This method provides access to the MEMBRAUCT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String aMemberId1)
This method provides access to the MEMBRAUCT.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setRelationType(java.lang.String aRelationType1)
This method provides access to the MEMBRAUCT.RELATIONTYPE column of DB2 type CHAR(10) NOT NULL. |
void |
setStatus(java.lang.String aStatus1)
This method provides access to the MEMBRAUCT.STATUS column of DB2 type CHAR(4) 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 MemberAuctionRelationAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method:
public abstract com.ibm.commerce.negotiation.objects.MemberAuctionRelation com.ibm.commerce.negotiation.objimpl.MemberAuctionRelationHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.MemberAuctionRelationKey) throws java.rmi.RemoteException,javax.ejb.FinderException
The home interface method properties need to be set by calling the following setter methods before calling any business methods:
public MemberAuctionRelationAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exception.public MemberAuctionRelationAccessBean(java.lang.Long auctionId, java.lang.Long memberId, java.lang.String type) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
auctionId
- The auction id.memberId
- The member id of the customer who is bidding.type
- The relationship type. Valid values: VR=customer has viewed the auction rules, GA=customer has put the auction in the auction gallery.Method 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 findByAuctionIdAndType(java.lang.Long auctionId, java.lang.String type, com.ibm.commerce.negotiation.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all member/auction relationship records for the specified auction and type.
The SQL query used to fetch all the required rows from the MEMBRAUCT table is:
SELECT * FROM MEMBRAUCT T1 WHERE T1.AUCT_ID=? AND T1.RELATIONTYPE=?
auctionId
- The auction id.type
- The relationship type. Valid values: VR=customer has viewed the auction rules, GA=customer has put the auction in the auction gallery.sort
- The sorting attribute. This is a set of column names and the order in which they are each to be
sorted (ascending, descending). This is used to build an ORDER BY clause.public boolean fulfills(java.lang.Long aFills1, java.lang.String aFills2) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
IBM internal use only.
aFills1
- java.lang.LongaFills2
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjava.lang.Exception
- The java.lang.Exception exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getAuctionId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.AUCT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Auction ID.
getAuctionId
in interface MemberAuctionRelationAccessBeanData
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 getAuctionIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.AUCT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Auction 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 getComment() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.COMMENTS column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Comments field. Contains text.
getComment
in interface MemberAuctionRelationAccessBeanData
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 getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.FIELD1 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
getField1
in interface MemberAuctionRelationAccessBeanData
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 getField1InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.FIELD1 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
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 getField2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.FIELD2 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
getField2
in interface MemberAuctionRelationAccessBeanData
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 getField2InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.FIELD2 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
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 getField3() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.FIELD3 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
getField3
in interface MemberAuctionRelationAccessBeanData
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 getField3InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.FIELD3 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
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 getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Member ID of the customer who is bidding.
getMemberId
in interface MemberAuctionRelationAccessBeanData
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 MEMBRAUCT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Member ID of the customer who is bidding.
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 getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Member ID of the customer who is bidding.
java.lang.Exception
- The java.lang.Exception exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getRelationType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.RELATIONTYPE column of DB2 type CHAR(10) NOT NULL.
The following is a description of this column:
Relationship type. Valid values: VR=customer has viewed the auction rules, GA=customer has put the auction in the auction gallery.
getRelationType
in interface MemberAuctionRelationAccessBeanData
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 getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MEMBRAUCT.STATUS column of DB2 type CHAR(4) NULL.
The following is a description of this column:
Reserved for IBM internal use.
getStatus
in interface MemberAuctionRelationAccessBeanData
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 setAuctionId(java.lang.Long aAuctionId1)
This method provides access to the MEMBRAUCT.AUCT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Auction ID.
aAuctionId1
- java.lang.Longpublic void setAuctionId(java.lang.String aAuctionId1)
This method provides access to the MEMBRAUCT.AUCT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Auction ID.
setAuctionId
in interface MemberAuctionRelationAccessBeanData
aAuctionId1
- java.lang.Stringpublic void setComment(java.lang.String aComment1)
This method provides access to the MEMBRAUCT.COMMENTS column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Comments field. Contains text.
setComment
in interface MemberAuctionRelationAccessBeanData
aComment1
- java.lang.Stringpublic void setField1(java.lang.Long aField11)
This method provides access to the MEMBRAUCT.FIELD1 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
aField11
- java.lang.Longpublic void setField1(java.lang.String aField11)
This method provides access to the MEMBRAUCT.FIELD1 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
setField1
in interface MemberAuctionRelationAccessBeanData
aField11
- java.lang.Stringpublic void setField2(java.lang.Long aField21)
This method provides access to the MEMBRAUCT.FIELD2 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
aField21
- java.lang.Longpublic void setField2(java.lang.String aField21)
This method provides access to the MEMBRAUCT.FIELD2 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
setField2
in interface MemberAuctionRelationAccessBeanData
aField21
- java.lang.Stringpublic void setField3(java.lang.Long aField31)
This method provides access to the MEMBRAUCT.FIELD3 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
aField31
- java.lang.Longpublic void setField3(java.lang.String aField31)
This method provides access to the MEMBRAUCT.FIELD3 column of DB2 type BIGINT NULL.
The following is a description of this column:
Customizable.
setField3
in interface MemberAuctionRelationAccessBeanData
aField31
- java.lang.Stringpublic void setInitKey_auctionId(java.lang.Long aInitKey_auctionId1)
Set the primary key for this object
aInitKey_auctionId1
- java.lang.Longpublic void setInitKey_memberId(java.lang.Long aInitKey_memberId1)
Set the primary key for this object
aInitKey_memberId1
- java.lang.Longpublic void setInitKey_relationType(java.lang.String aInitKey_relationType1)
Set the primary key for this object
aInitKey_relationType1
- java.lang.Stringpublic void setMemberId(java.lang.Long aMemberId1)
This method provides access to the MEMBRAUCT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Member ID of the customer who is bidding.
aMemberId1
- java.lang.Longpublic void setMemberId(java.lang.String aMemberId1)
This method provides access to the MEMBRAUCT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Member ID of the customer who is bidding.
setMemberId
in interface MemberAuctionRelationAccessBeanData
aMemberId1
- java.lang.Stringpublic void setRelationType(java.lang.String aRelationType1)
This method provides access to the MEMBRAUCT.RELATIONTYPE column of DB2 type CHAR(10) NOT NULL.
The following is a description of this column:
Relationship type. Valid values: VR=customer has viewed the auction rules, GA=customer has put the auction in the auction gallery.
setRelationType
in interface MemberAuctionRelationAccessBeanData
aRelationType1
- java.lang.Stringpublic void setStatus(java.lang.String aStatus1)
This method provides access to the MEMBRAUCT.STATUS column of DB2 type CHAR(4) NULL.
The following is a description of this column:
Reserved for IBM internal use.
setStatus
in interface MemberAuctionRelationAccessBeanData
aStatus1
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |