com.ibm.commerce.negotiation.objects
Class AuctionAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.negotiation.objects.AuctionAccessBean
All Implemented Interfaces:
AuctionAccessBeanData
Direct Known Subclasses:
AuctionDataBean

public class AuctionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AuctionAccessBeanData

This table contains the information required for each auction, such as catalog entry (item), closing rules, pricing rules, deposit amount, and bid rules. This access bean corresponds to the database table 'AUCTION'.

See Also:
Serialized Form

Constructor Summary
AuctionAccessBean()
Zero argument constructor used to initialize the access bean.
AuctionAccessBean(javax.ejb.EJBObject o)
constructor
AuctionAccessBean(java.lang.Long arg1, java.lang.Long arg2, java.lang.String arg3)
Creates an access bean with the specified attributes.
Method Summary
void addToGallery(java.lang.Long memberid)
Add this auction to the gallery of the specified member.
void addToRuleViewedList(java.lang.Long memberid)
Mark this auction's rules as viewed by the specified member.
void addToStore(java.lang.Integer storeid)
Add this auction to the specified store.
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
void deleteAuctionDescription(java.lang.Integer language_id)
This will delete the auction description for the specified language_iduage.
void deleteFromGallery(java.lang.Long memberid)
Delete this auction from the specified member's auction gallery.
void deleteFromRuleViewedList(java.lang.Long memberid)
Mark this auction as not having its rules viewed by this member.
void deleteFromStore(java.lang.Integer storeid)
Delete this auction from the store.
void deleteRuleViewedForAll()
Remove all members from the rules viewed list for this auction.
java.util.Enumeration findActiveAuctions(java.lang.String type, com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all auctions with the given type that received new bids since the last bookkeeping time.
java.util.Enumeration findActiveAuctionsWithAutobid(com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all open cry auctions that have active autobids.
java.util.Enumeration findAllAuctions(com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all auctions.
AuctionAccessBean findAuctionByIdForUpdate(java.lang.Long key)
Retrieves an auction by its primary key for update.
AuctionAccessBean findAuctionByReferenceCode(java.lang.String code)
Retrieves an auction by its reference code.
java.util.Enumeration findAuctionsByItem(java.lang.Long itemid, com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all auctions for the given catalog entry id.
java.util.Enumeration findAuctionsByMultipleStatus(java.lang.String[] arg0, com.ibm.commerce.negotiation.util.SortingAttribute arg1)
java.util.Enumeration findAuctionsByOwner(java.lang.Long arg0, com.ibm.commerce.negotiation.util.SortingAttribute arg1)
java.util.Enumeration findAuctionsByOwnerAndStatus(java.lang.Long arg0, java.lang.String arg1, com.ibm.commerce.negotiation.util.SortingAttribute arg2)
java.util.Enumeration findAuctionsByOwnerAndType(java.lang.Long arg0, java.lang.String arg1, com.ibm.commerce.negotiation.util.SortingAttribute arg2)
java.util.Enumeration findAuctionsByRuleId(java.lang.Long arg0, com.ibm.commerce.negotiation.util.SortingAttribute arg1)
java.util.Enumeration findAuctionsByStatus(java.lang.String arg0, com.ibm.commerce.negotiation.util.SortingAttribute arg1)
java.util.Enumeration findAuctionsByStatusAndFlag(java.lang.String arg0, int arg1, com.ibm.commerce.negotiation.util.SortingAttribute arg2)
java.util.Enumeration findAuctionsByType(java.lang.String arg0, com.ibm.commerce.negotiation.util.SortingAttribute arg1)
boolean fulfills(java.lang.Long arg0, java.lang.String arg1)
java.lang.String getAdminId()
This method provides access to the AUCTION.ADMIN_ID column of DB2 type BIGINT.
java.lang.Long getAdminIdInEJBType()
This method provides access to the AUCTION.ADMIN_ID column of DB2 type BIGINT.
java.lang.String getAuctionType()
This method provides access to the AUCTION.AUTYPE column of DB2 type CHAR(4) NOT NULL.
java.lang.String getBestBidId()
This method provides access to the AUCTION.BESTBID_ID column of DB2 type BIGINT.
java.lang.Long getBestBidIdInEJBType()
This method provides access to the AUCTION.BESTBID_ID column of DB2 type BIGINT.
java.lang.String getBidRuleId()
This method provides access to the AUCTION.BIDRULE_ID column of DB2 type BIGINT.
java.lang.Long getBidRuleIdInEJBType()
This method provides access to the AUCTION.BIDRULE_ID column of DB2 type BIGINT.
java.lang.String getBookKeepingTime()
This method provides access to the AUCTION.LASTBKTIME column of DB2 type TIMESTAMP.
java.sql.Timestamp getBookKeepingTimeInEJBType()
This method provides access to the AUCTION.LASTBKTIME column of DB2 type TIMESTAMP.
java.lang.String getClosePriceRule()
This method provides access to the AUCTION.CLOSEPR column of DB2 type CHAR(4).
java.lang.String getCloseType()
This method provides access to the AUCTION.CLOSETYPE column of DB2 type INTEGER.
int getCloseTypeInEJBType()
This method provides access to the AUCTION.CLOSETYPE column of DB2 type INTEGER.
java.lang.String getCurrency()
This method provides access to the AUCTION.CURRENCY column of DB2 type CHAR(4).
java.lang.String getCurrentPrice()
This method provides access to the AUCTION.CURRPRICE column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getCurrentPriceInEJBType()
This method provides access to the AUCTION.CURRPRICE column of DB2 type DECIMAL(20 5).
java.lang.String getCurrentQuantity()
This method provides access to the AUCTION.CURRQUANT column of DB2 type FLOAT.
java.lang.Double getCurrentQuantityInEJBType()
This method provides access to the AUCTION.CURRQUANT column of DB2 type FLOAT.
java.lang.String getDeposit()
This method provides access to the AUCTION.DEPOSIT column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getDepositInEJBType()
This method provides access to the AUCTION.DEPOSIT column of DB2 type DECIMAL(20 5).
java.lang.String getDuration()
This method provides access to the AUCTION.DURATION column of DB2 type TIMESTAMP.
java.lang.String getDurationDays()
This method provides access to the AUCTION.DURDAYS column of DB2 type INTEGER.
int getDurationDaysInEJBType()
This method provides access to the AUCTION.DURDAYS column of DB2 type INTEGER.
java.sql.Timestamp getDurationInEJBType()
This method provides access to the AUCTION.DURATION column of DB2 type TIMESTAMP.
java.lang.String getEndTime()
This method provides access to the AUCTION.ENDTIME column of DB2 type TIMESTAMP.
java.sql.Timestamp getEndTimeInEJBType()
This method provides access to the AUCTION.ENDTIME column of DB2 type TIMESTAMP.
java.lang.String getEntryId()
This method provides access to the AUCTION.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getEntryIdInEJBType()
This method provides access to the AUCTION.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getField1()
This method provides access to the AUCTION.FIELD1 column of DB2 type BIGINT.
java.lang.Long getField1InEJBType()
This method provides access to the AUCTION.FIELD1 column of DB2 type BIGINT.
java.lang.String getField2()
This method provides access to the AUCTION.FIELD2 column of DB2 type BIGINT.
java.lang.Long getField2InEJBType()
This method provides access to the AUCTION.FIELD2 column of DB2 type BIGINT.
java.lang.String getField3()
This method provides access to the AUCTION.FIELD3 column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getField3InEJBType()
This method provides access to the AUCTION.FIELD3 column of DB2 type DECIMAL(20 5).
java.lang.String getField4()
This method provides access to the AUCTION.FIELD4 column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getField4InEJBType()
This method provides access to the AUCTION.FIELD4 column of DB2 type DECIMAL(20 5).
java.lang.String getField5()
This method provides access to the AUCTION.FIELD5 column of DB2 type VARCHAR(254).
java.lang.String getField6()
This method provides access to the AUCTION.FIELD6 column of DB2 type VARCHAR(254).
java.lang.String getFullfillmentCenterId()
This method provides access to the AUCTION.FFMCENTER_ID column of DB2 type INTEGER.
java.lang.Integer getFullfillmentCenterIdInEJBType()
This method provides access to the AUCTION.FFMCENTER_ID column of DB2 type INTEGER.
java.lang.String getHighestBidId()
This method provides access to the AUCTION.HIGHBID_ID column of DB2 type BIGINT.
java.lang.Long getHighestBidIdInEJBType()
This method provides access to the AUCTION.HIGHBID_ID column of DB2 type BIGINT.
java.lang.String getId()
This method accesses a non-CMP field
java.lang.Long getIdInEJBType()
This method accesses a non-CMP field
java.lang.String getInventoryReservationId()
This method provides access to the AUCTION.INVRSRVID column of DB2 type BIGINT.
java.lang.Long getInventoryReservationIdInEJBType()
This method provides access to the AUCTION.INVRSRVID column of DB2 type BIGINT.
java.lang.String getItemPage(java.lang.Integer storeid)
Get the item display page for this auction and the specified store Id (from table AUCTSTRREL).
java.lang.String getLockFlag()
This method provides access to the AUCTION.LOCKFLAG column of DB2 type INTEGER.
int getLockFlagInEJBType()
This method provides access to the AUCTION.LOCKFLAG column of DB2 type INTEGER.
java.lang.String getLongDescription(java.lang.Integer language_id)
Get the long description for this auction and the specified language Id (from table AUCTDESC).
java.lang.String getMemberGroupId()
This method provides access to the AUCTION.MBRGRP_ID column of DB2 type BIGINT.
java.lang.Long getMemberGroupIdInEJBType()
This method provides access to the AUCTION.MBRGRP_ID column of DB2 type BIGINT.
java.lang.String getOpenPrice()
This method provides access to the AUCTION.OPENPRICE column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getOpenPriceInEJBType()
This method provides access to the AUCTION.OPENPRICE column of DB2 type DECIMAL(20 5).
java.lang.Long getOwner()
This method accesses a non-CMP field
java.lang.String getOwnerId()
This method provides access to the AUCTION.OWNER_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getOwnerIdInEJBType()
This method provides access to the AUCTION.OWNER_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getPaymentMethods()
This method provides access to the AUCTION.PAYMETHODS column of DB2 type CHAR(254).
java.lang.String getPrecedence()
This method provides access to the AUCTION.PRECEDENCE column of DB2 type INTEGER.
int getPrecedenceInEJBType()
This method provides access to the AUCTION.PRECEDENCE column of DB2 type INTEGER.
java.lang.String getQuantity()
This method provides access to the AUCTION.AUQUANT column of DB2 type FLOAT NOT NULL.
java.lang.Double getQuantityInEJBType()
This method provides access to the AUCTION.AUQUANT column of DB2 type FLOAT NOT NULL.
java.lang.String getRealEndTime()
This method provides access to the AUCTION.REALENDTIME column of DB2 type TIMESTAMP.
java.sql.Timestamp getRealEndTimeInEJBType()
This method provides access to the AUCTION.REALENDTIME column of DB2 type TIMESTAMP.
java.lang.String getReferenceCode()
This method provides access to the AUCTION.REFCODE column of DB2 type CHAR(36) NOT NULL.
java.lang.String getRefPrice()
This method provides access to the AUCTION.REFPRICE column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getRefPriceInEJBType()
This method provides access to the AUCTION.REFPRICE column of DB2 type DECIMAL(20 5).
java.lang.String getReservePrice()
This method provides access to the AUCTION.RESRVPRICE column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getReservePriceInEJBType()
This method provides access to the AUCTION.RESRVPRICE column of DB2 type DECIMAL(20 5).
java.lang.String getRetractBid()
This method provides access to the AUCTION.RETRACT_BID column of DB2 type INTEGER.
int getRetractBidInEJBType()
This method provides access to the AUCTION.RETRACT_BID column of DB2 type INTEGER.
java.lang.String getRulePage()
This method provides access to the AUCTION.RULEPAGE column of DB2 type VARCHAR(254).
java.lang.String getScale()
This method provides access to the AUCTION.QUANTSCALE column of DB2 type INTEGER.
int getScaleInEJBType()
This method provides access to the AUCTION.QUANTSCALE column of DB2 type INTEGER.
java.lang.String getShortDescription(java.lang.Integer storeid)
Get the short description for this auction and the specified language Id (from table AUCTDESC).
java.lang.String getStartTime()
This method provides access to the AUCTION.STARTTIME column of DB2 type TIMESTAMP.
java.sql.Timestamp getStartTimeInEJBType()
This method provides access to the AUCTION.STARTTIME column of DB2 type TIMESTAMP.
java.lang.String getState()
This method provides access to the AUCTION.STATE column of DB2 type INTEGER.
int getStateInEJBType()
This method provides access to the AUCTION.STATE column of DB2 type INTEGER.
java.lang.String getStatus()
This method provides access to the AUCTION.AUSTATUS column of DB2 type CHAR(4) NOT NULL.
java.lang.String getSupplierId()
This method provides access to the AUCTION.SUPPLIER_ID column of DB2 type BIGINT.
java.lang.Long getSupplierIdInEJBType()
This method provides access to the AUCTION.SUPPLIER_ID column of DB2 type BIGINT.
java.lang.String getUpdateTime()
This method provides access to the AUCTION.UPDATETIME column of DB2 type TIMESTAMP.
java.sql.Timestamp getUpdateTimeInEJBType()
This method provides access to the AUCTION.UPDATETIME column of DB2 type TIMESTAMP.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
boolean isAuctionRuleViewed(java.lang.Long memberid)
Checks whether the member has viewed the auction's rules.
boolean isInGallery(java.lang.Long memberid)
Checks if this auction has been added to the specified member's Auction Gallery.
boolean isInStore(java.lang.Integer storeid)
This method provides access to the AUCTION.AUCT_ID column of DB2 type BIGINT NOT NULL.
void refreshCopyHelper()
Load data from the EJBObject.
void setAdminId(java.lang.Long newValue)
This method accesses a non-CMP field
void setAdminId(java.lang.String newValue)
This method accesses a non-CMP field
void setAuctionDescriptions(java.lang.Integer languageid, java.lang.String longDescription, java.lang.String shortDescription)
Sets the auction long and short descriptions for the given language.
void setAuctionType(java.lang.String newValue)
This method accesses a non-CMP field
void setBestBidId(java.lang.Long newValue)
This method accesses a non-CMP field
void setBestBidId(java.lang.String newValue)
This method accesses a non-CMP field
void setBidRuleId(java.lang.Long newValue)
This method accesses a non-CMP field
void setBidRuleId(java.lang.String newValue)
This method accesses a non-CMP field
void setBookKeepingTime(java.lang.String newValue)
This method accesses a non-CMP field
void setBookKeepingTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setClosePriceRule(java.lang.String newValue)
This method accesses a non-CMP field
void setCloseType(int newValue)
This method accesses a non-CMP field
void setCloseType(java.lang.String newValue)
This method accesses a non-CMP field
void setCurrency(java.lang.String newValue)
This method accesses a non-CMP field
void setCurrentPrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setCurrentPrice(java.lang.String newValue)
This method accesses a non-CMP field
void setCurrentQuantity(java.lang.Double newValue)
This method accesses a non-CMP field
void setCurrentQuantity(java.lang.String newValue)
This method accesses a non-CMP field
void setDeposit(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setDeposit(java.lang.String newValue)
This method accesses a non-CMP field
void setDuration(java.lang.String newValue)
This method accesses a non-CMP field
void setDuration(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setDurationDays(int newValue)
This method accesses a non-CMP field
void setDurationDays(java.lang.String newValue)
This method accesses a non-CMP field
void setEndTime(java.lang.String newValue)
This method accesses a non-CMP field
void setEndTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setEntryId(java.lang.Long newValue)
This method accesses a non-CMP field
void setEntryId(java.lang.String newValue)
This method accesses a non-CMP field
void setField1(java.lang.Long newValue)
This method accesses a non-CMP field
void setField1(java.lang.String newValue)
This method accesses a non-CMP field
void setField2(java.lang.Long newValue)
This method accesses a non-CMP field
void setField2(java.lang.String newValue)
This method accesses a non-CMP field
void setField3(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setField3(java.lang.String newValue)
This method accesses a non-CMP field
void setField4(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setField4(java.lang.String newValue)
This method accesses a non-CMP field
void setField5(java.lang.String newValue)
This method accesses a non-CMP field
void setField6(java.lang.String newValue)
This method accesses a non-CMP field
void setFullfillmentCenterId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setFullfillmentCenterId(java.lang.String newValue)
This method accesses a non-CMP field
void setHighestBidId(java.lang.Long newValue)
This method accesses a non-CMP field
void setHighestBidId(java.lang.String newValue)
This method accesses a non-CMP field
void setId(java.lang.Long newValue)
This method accesses a non-CMP field
void setId(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_id(java.lang.Long newValue)
Set the primary key for this object
void setInventoryReservationId(java.lang.Long newValue)
This method accesses a non-CMP field
void setInventoryReservationId(java.lang.String newValue)
This method accesses a non-CMP field
void setItemPage(java.lang.String itempage, java.lang.Integer storeid)
Sets the display page for this auction item.
void setLockFlag(int newValue)
This method accesses a non-CMP field
void setLockFlag(java.lang.String newValue)
This method accesses a non-CMP field
void setMemberGroupId(java.lang.Long newValue)
This method accesses a non-CMP field
void setMemberGroupId(java.lang.String newValue)
This method accesses a non-CMP field
void setOpenPrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setOpenPrice(java.lang.String newValue)
This method accesses a non-CMP field
void setOwnerId(java.lang.Long newValue)
This method accesses a non-CMP field
void setOwnerId(java.lang.String newValue)
This method accesses a non-CMP field
void setPaymentMethods(java.lang.String newValue)
This method accesses a non-CMP field
void setPrecedence(int newValue)
This method accesses a non-CMP field
void setPrecedence(java.lang.String newValue)
This method accesses a non-CMP field
void setQuantity(java.lang.Double newValue)
This method accesses a non-CMP field
void setQuantity(java.lang.String newValue)
This method accesses a non-CMP field
void setRealEndTime(java.lang.String newValue)
This method accesses a non-CMP field
void setRealEndTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setReferenceCode(java.lang.String newValue)
This method accesses a non-CMP field
void setRefPrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setRefPrice(java.lang.String newValue)
This method accesses a non-CMP field
void setReservePrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setReservePrice(java.lang.String newValue)
This method accesses a non-CMP field
void setRetractBid(int newValue)
This method accesses a non-CMP field
void setRetractBid(java.lang.String newValue)
This method accesses a non-CMP field
void setRulePage(java.lang.String newValue)
This method accesses a non-CMP field
void setScale(int newValue)
This method accesses a non-CMP field
void setScale(java.lang.String newValue)
This method accesses a non-CMP field
void setStartTime(java.lang.String newValue)
This method accesses a non-CMP field
void setStartTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setState(int newValue)
This method accesses a non-CMP field
void setState(java.lang.String newValue)
This method accesses a non-CMP field
void setStatus(java.lang.String newValue)
This method accesses a non-CMP field
void setSupplierId(java.lang.Long newValue)
This method accesses a non-CMP field
void setSupplierId(java.lang.String newValue)
This method accesses a non-CMP field
void setUpdateTime(java.lang.String newValue)
This method accesses a non-CMP field
void setUpdateTime(java.sql.Timestamp 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

AuctionAccessBean

public AuctionAccessBean()
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.Auction com.ibm.commerce.negotiation.objimpl.AuctionHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.AuctionKey) 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: setInitKey_id( java.lang.Long )

AuctionAccessBean

public AuctionAccessBean(javax.ejb.EJBObject o)
                  throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

AuctionAccessBean

public AuctionAccessBean(java.lang.Long arg1,
                         java.lang.Long arg2,
                         java.lang.String arg3)
                  throws javax.ejb.CreateException,
                         java.rmi.RemoteException,
                         javax.naming.NamingException

Creates an access bean with the specified attributes.

Parameters:
arg1 - The catalog entry ID. The ID of the item on auction.
arg2 - The owner of the auction.
arg3 - The auction arg3. Valid values: O=open cry, SB=sealed bid, D=dutch.
Method Detail

findAuctionByIdForUpdate

public AuctionAccessBean findAuctionByIdForUpdate(java.lang.Long key)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

Retrieves an auction by its primary key for update.

The SQL query used to fetch the requested row from the AUCTION table is:

SELECT * FROM AUCTION T1 WHERE AUCT_ID = ? For Update

Parameters:
key - The id of the auction.
Returns:
The AuctionAccessBean representing the row that matches the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionByReferenceCode

public AuctionAccessBean findAuctionByReferenceCode(java.lang.String code)
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

Retrieves an auction by its reference code.

The SQL query used to fetch the requested row from the AUCTION table is:

SELECT * FROM AUCTION T1 WHERE T1.REFCODE = ?

Parameters:
code - The reference code of the auction.
Returns:
The AuctionAccessBean representing the row that matches the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findActiveAuctions

public java.util.Enumeration findActiveAuctions(java.lang.String type,
                                                com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

Retrieves all auctions with the given type that received new bids since the last bookkeeping time.

The SQL query used to fetch all the required rows from the AUCTION table is:

SELECT * FROM AUCTION T1 WHERE T1.AUTYPE=? And T1.AUSTATUS='C' And T1.LASTBKTIME < (Select MAX(BIDTIME) From BID Where AUCT_ID=T1.AUCT_ID And BIDSTATUS In('A','R'))

Parameters:
type - The auction type. Valid values: O=open cry, SB=sealed bid, D=dutch.
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.
Returns:
An Enumeration of all the AuctionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findActiveAuctionsWithAutobid

public java.util.Enumeration findActiveAuctionsWithAutobid(com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                                    throws java.rmi.RemoteException,
                                                           javax.ejb.FinderException,
                                                           javax.naming.NamingException

Retrieves all open cry auctions that have active autobids.

The SQL query used to fetch all the required rows from the AUCTION table is:

SELECT * FROM AUCTION T1 WHERE T1.AUTYPE='O' And T1.AUCT_ID In (Select AUCT_ID From AUTOBID Where ABSTATUS='A') And (T1.AUSTATUS = 'C' Or (AUSTATUS='BC' And LOCKFLAG=0))

Parameters:
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.
Returns:
An Enumeration of all the AuctionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAllAuctions

public java.util.Enumeration findAllAuctions(com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

Retrieves all auctions.

The SQL query used to fetch all the required rows from the AUCTION table is:

SELECT * FROM AUCTION T1 WHERE 1=1

Parameters:
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.
Returns:
An Enumeration of all the AuctionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionsByItem

public java.util.Enumeration findAuctionsByItem(java.lang.Long itemid,
                                                com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

Retrieves all auctions for the given catalog entry id.

The SQL query used to fetch all the required rows from the AUCTION table is:

SELECT * FROM AUCTION T1 WHERE T1.CATENTRY_ID=?

Parameters:
itemid - The catalog entry id.
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.
Returns:
An Enumeration of all the AuctionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionsByMultipleStatus

public java.util.Enumeration findAuctionsByMultipleStatus(java.lang.String[] arg0,
                                                          com.ibm.commerce.negotiation.util.SortingAttribute arg1)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException
Parameters:
arg0 - java.lang.String[]
arg1 - com.ibm.commerce.negotiation.util.SortingAttribute
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionsByOwner

public java.util.Enumeration findAuctionsByOwner(java.lang.Long arg0,
                                                 com.ibm.commerce.negotiation.util.SortingAttribute arg1)
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - com.ibm.commerce.negotiation.util.SortingAttribute
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionsByOwnerAndStatus

public java.util.Enumeration findAuctionsByOwnerAndStatus(java.lang.Long arg0,
                                                          java.lang.String arg1,
                                                          com.ibm.commerce.negotiation.util.SortingAttribute arg2)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
arg2 - com.ibm.commerce.negotiation.util.SortingAttribute
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionsByOwnerAndType

public java.util.Enumeration findAuctionsByOwnerAndType(java.lang.Long arg0,
                                                        java.lang.String arg1,
                                                        com.ibm.commerce.negotiation.util.SortingAttribute arg2)
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
arg2 - com.ibm.commerce.negotiation.util.SortingAttribute
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionsByRuleId

public java.util.Enumeration findAuctionsByRuleId(java.lang.Long arg0,
                                                  com.ibm.commerce.negotiation.util.SortingAttribute arg1)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - com.ibm.commerce.negotiation.util.SortingAttribute
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionsByStatus

public java.util.Enumeration findAuctionsByStatus(java.lang.String arg0,
                                                  com.ibm.commerce.negotiation.util.SortingAttribute arg1)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException
Parameters:
arg0 - java.lang.String
arg1 - com.ibm.commerce.negotiation.util.SortingAttribute
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionsByStatusAndFlag

public java.util.Enumeration findAuctionsByStatusAndFlag(java.lang.String arg0,
                                                         int arg1,
                                                         com.ibm.commerce.negotiation.util.SortingAttribute arg2)
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException
Parameters:
arg0 - java.lang.String
arg1 - int
arg2 - com.ibm.commerce.negotiation.util.SortingAttribute
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findAuctionsByType

public java.util.Enumeration findAuctionsByType(java.lang.String arg0,
                                                com.ibm.commerce.negotiation.util.SortingAttribute arg1)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException
Parameters:
arg0 - java.lang.String
arg1 - com.ibm.commerce.negotiation.util.SortingAttribute
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

setInitKey_id

public void setInitKey_id(java.lang.Long newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.Long
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getBookKeepingTime

public java.lang.String getBookKeepingTime()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the AUCTION.LASTBKTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Updated when best bid is calculated by way of schedule task.

Specified by:
getBookKeepingTime in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getBookKeepingTimeInEJBType

public java.sql.Timestamp getBookKeepingTimeInEJBType()
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.CreateException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException

This method provides access to the AUCTION.LASTBKTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Updated when best bid is calculated by way of schedule task.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setBookKeepingTime

public void setBookKeepingTime(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setBookKeepingTime in interface AuctionAccessBeanData

setBookKeepingTime

public void setBookKeepingTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getQuantity

public java.lang.String getQuantity()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the AUCTION.AUQUANT column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The total quantity of items up for auction

Specified by:
getQuantity in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getQuantityInEJBType

public java.lang.Double getQuantityInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the AUCTION.AUQUANT column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The total quantity of items up for auction

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setQuantity

public void setQuantity(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setQuantity in interface AuctionAccessBeanData

setQuantity

public void setQuantity(java.lang.Double newValue)
This method accesses a non-CMP field

getScale

public java.lang.String getScale()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the AUCTION.QUANTSCALE column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getScale in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getScaleInEJBType

public int getScaleInEJBType()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

This method provides access to the AUCTION.QUANTSCALE column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setScale

public void setScale(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setScale in interface AuctionAccessBeanData

setScale

public void setScale(int newValue)
This method accesses a non-CMP field

getInventoryReservationId

public java.lang.String getInventoryReservationId()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the AUCTION.INVRSRVID column of DB2 type BIGINT.

The following is a description of this column:

Inventory reservation ID.

Specified by:
getInventoryReservationId in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getInventoryReservationIdInEJBType

public java.lang.Long getInventoryReservationIdInEJBType()
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

This method provides access to the AUCTION.INVRSRVID column of DB2 type BIGINT.

The following is a description of this column:

Inventory reservation ID.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setInventoryReservationId

public void setInventoryReservationId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setInventoryReservationId in interface AuctionAccessBeanData

setInventoryReservationId

public void setInventoryReservationId(java.lang.Long newValue)
This method accesses a non-CMP field

getLockFlag

public java.lang.String getLockFlag()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the AUCTION.LOCKFLAG column of DB2 type INTEGER.

The following is a description of this column:

Lock flag. Valid values: 0=unlocked, 1=locked.

Specified by:
getLockFlag in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLockFlagInEJBType

public int getLockFlagInEJBType()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

This method provides access to the AUCTION.LOCKFLAG column of DB2 type INTEGER.

The following is a description of this column:

Lock flag. Valid values: 0=unlocked, 1=locked.

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLockFlag

public void setLockFlag(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLockFlag in interface AuctionAccessBeanData

setLockFlag

public void setLockFlag(int newValue)
This method accesses a non-CMP field

getStartTime

public java.lang.String getStartTime()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the AUCTION.STARTTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Starting date and time.

Specified by:
getStartTime in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStartTimeInEJBType

public java.sql.Timestamp getStartTimeInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the AUCTION.STARTTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Starting date and time.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStartTime

public void setStartTime(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setStartTime in interface AuctionAccessBeanData

setStartTime

public void setStartTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getOpenPrice

public java.lang.String getOpenPrice()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the AUCTION.OPENPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Opening price.

Specified by:
getOpenPrice in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOpenPriceInEJBType

public java.math.BigDecimal getOpenPriceInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the AUCTION.OPENPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Opening price.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOpenPrice

public void setOpenPrice(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setOpenPrice in interface AuctionAccessBeanData

setOpenPrice

public void setOpenPrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getReservePrice

public java.lang.String getReservePrice()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the AUCTION.RESRVPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Reserve price. Bids below the reserve price will be ignored when winning bids are determined.

Specified by:
getReservePrice in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getReservePriceInEJBType

public java.math.BigDecimal getReservePriceInEJBType()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

This method provides access to the AUCTION.RESRVPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Reserve price. Bids below the reserve price will be ignored when winning bids are determined.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setReservePrice

public void setReservePrice(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setReservePrice in interface AuctionAccessBeanData

setReservePrice

public void setReservePrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getState

public java.lang.String getState()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the AUCTION.STATE column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getState in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStateInEJBType

public int getStateInEJBType()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

This method provides access to the AUCTION.STATE column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setState

public void setState(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setState in interface AuctionAccessBeanData

setState

public void setState(int newValue)
This method accesses a non-CMP field

getEntryId

public java.lang.String getEntryId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the AUCTION.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

CatalogEntry ID. The ID of the item on auction.

Specified by:
getEntryId in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getEntryIdInEJBType

public java.lang.Long getEntryIdInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the AUCTION.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

CatalogEntry ID. The ID of the item on auction.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setEntryId

public void setEntryId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setEntryId in interface AuctionAccessBeanData

setEntryId

public void setEntryId(java.lang.Long newValue)
This method accesses a non-CMP field

getOwnerId

public java.lang.String getOwnerId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the AUCTION.OWNER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getOwnerId in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOwnerIdInEJBType

public java.lang.Long getOwnerIdInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the AUCTION.OWNER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOwnerId

public void setOwnerId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setOwnerId in interface AuctionAccessBeanData

setOwnerId

public void setOwnerId(java.lang.Long newValue)
This method accesses a non-CMP field

getSupplierId

public java.lang.String getSupplierId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the AUCTION.SUPPLIER_ID column of DB2 type BIGINT.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getSupplierId in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getSupplierIdInEJBType

public java.lang.Long getSupplierIdInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the AUCTION.SUPPLIER_ID column of DB2 type BIGINT.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSupplierId

public void setSupplierId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSupplierId in interface AuctionAccessBeanData

setSupplierId

public void setSupplierId(java.lang.Long newValue)
This method accesses a non-CMP field

getDurationDays

public java.lang.String getDurationDays()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the AUCTION.DURDAYS column of DB2 type INTEGER.

The following is a description of this column:

Auction duration in days.

Specified by:
getDurationDays in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDurationDaysInEJBType

public int getDurationDaysInEJBType()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the AUCTION.DURDAYS column of DB2 type INTEGER.

The following is a description of this column:

Auction duration in days.

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDurationDays

public void setDurationDays(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDurationDays in interface AuctionAccessBeanData

setDurationDays

public void setDurationDays(int newValue)
This method accesses a non-CMP field

getAdminId

public java.lang.String getAdminId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the AUCTION.ADMIN_ID column of DB2 type BIGINT.

The following is a description of this column:

Administrator ID. The ID of the administrator that created or modified the auction. The logon ID for the user is used as the administrator ID when an auction is created.

Specified by:
getAdminId in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getAdminIdInEJBType

public java.lang.Long getAdminIdInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the AUCTION.ADMIN_ID column of DB2 type BIGINT.

The following is a description of this column:

Administrator ID. The ID of the administrator that created or modified the auction. The logon ID for the user is used as the administrator ID when an auction is created.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAdminId

public void setAdminId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setAdminId in interface AuctionAccessBeanData

setAdminId

public void setAdminId(java.lang.Long newValue)
This method accesses a non-CMP field

getCurrentQuantity

public java.lang.String getCurrentQuantity()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the AUCTION.CURRQUANT column of DB2 type FLOAT.

The following is a description of this column:

Current quantity. Used by Dutch auctions to track the quantity available. This quantity is reduced by each winning bid.

Specified by:
getCurrentQuantity in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCurrentQuantityInEJBType

public java.lang.Double getCurrentQuantityInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the AUCTION.CURRQUANT column of DB2 type FLOAT.

The following is a description of this column:

Current quantity. Used by Dutch auctions to track the quantity available. This quantity is reduced by each winning bid.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCurrentQuantity

public void setCurrentQuantity(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setCurrentQuantity in interface AuctionAccessBeanData

setCurrentQuantity

public void setCurrentQuantity(java.lang.Double newValue)
This method accesses a non-CMP field

getUpdateTime

public java.lang.String getUpdateTime()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the AUCTION.UPDATETIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Update date and time.

Specified by:
getUpdateTime in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getUpdateTimeInEJBType

public java.sql.Timestamp getUpdateTimeInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the AUCTION.UPDATETIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Update date and time.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setUpdateTime

public void setUpdateTime(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setUpdateTime in interface AuctionAccessBeanData

setUpdateTime

public void setUpdateTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getPaymentMethods

public java.lang.String getPaymentMethods()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the AUCTION.PAYMETHODS column of DB2 type CHAR(254).

The following is a description of this column:

Allowable payment methods.

Specified by:
getPaymentMethods in interface AuctionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPaymentMethods

public void setPaymentMethods(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPaymentMethods in interface AuctionAccessBeanData

getMemberGroupId

public java.lang.String getMemberGroupId()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the AUCTION.MBRGRP_ID column of DB2 type BIGINT.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getMemberGroupId in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberGroupIdInEJBType

public java.lang.Long getMemberGroupIdInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the AUCTION.MBRGRP_ID column of DB2 type BIGINT.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberGroupId

public void setMemberGroupId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMemberGroupId in interface AuctionAccessBeanData

setMemberGroupId

public void setMemberGroupId(java.lang.Long newValue)
This method accesses a non-CMP field

getRefPrice

public java.lang.String getRefPrice()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the AUCTION.REFPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getRefPrice in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getRefPriceInEJBType

public java.math.BigDecimal getRefPriceInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the AUCTION.REFPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRefPrice

public void setRefPrice(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRefPrice in interface AuctionAccessBeanData

setRefPrice

public void setRefPrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getFullfillmentCenterId

public java.lang.String getFullfillmentCenterId()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the AUCTION.FFMCENTER_ID column of DB2 type INTEGER.

The following is a description of this column:

Fulfillment center ID. The ID of the fulfillment center that will provide the inventory for the auction.

Specified by:
getFullfillmentCenterId in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getFullfillmentCenterIdInEJBType

public java.lang.Integer getFullfillmentCenterIdInEJBType()
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.CreateException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException

This method provides access to the AUCTION.FFMCENTER_ID column of DB2 type INTEGER.

The following is a description of this column:

Fulfillment center ID. The ID of the fulfillment center that will provide the inventory for the auction.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setFullfillmentCenterId

public void setFullfillmentCenterId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setFullfillmentCenterId in interface AuctionAccessBeanData

setFullfillmentCenterId

public void setFullfillmentCenterId(java.lang.Integer newValue)
This method accesses a non-CMP field

getField6

public java.lang.String getField6()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the AUCTION.FIELD6 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
getField6 in interface AuctionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField6

public void setField6(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField6 in interface AuctionAccessBeanData

getAuctionType

public java.lang.String getAuctionType()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the AUCTION.AUTYPE column of DB2 type CHAR(4) NOT NULL.

The following is a description of this column:

Auction type. Valid values are as follows:&l

Specified by:
getAuctionType in interface AuctionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAuctionType

public void setAuctionType(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setAuctionType in interface AuctionAccessBeanData

getCloseType

public java.lang.String getCloseType()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the AUCTION.CLOSETYPE column of DB2 type INTEGER.

The following is a description of this column:

Auction closing rule. Valid values are as follows:&l

Specified by:
getCloseType in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCloseTypeInEJBType

public int getCloseTypeInEJBType()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the AUCTION.CLOSETYPE column of DB2 type INTEGER.

The following is a description of this column:

Auction closing rule. Valid values are as follows:&l

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCloseType

public void setCloseType(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setCloseType in interface AuctionAccessBeanData

setCloseType

public void setCloseType(int newValue)
This method accesses a non-CMP field

getField5

public java.lang.String getField5()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the AUCTION.FIELD5 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
getField5 in interface AuctionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField5

public void setField5(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField5 in interface AuctionAccessBeanData

getCurrency

public java.lang.String getCurrency()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the AUCTION.CURRENCY column of DB2 type CHAR(4).

The following is a description of this column:

Auction currency. All bids must be in this currency. This is a currency code as per ISO 4217 standards.

Specified by:
getCurrency in interface AuctionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCurrency

public void setCurrency(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setCurrency in interface AuctionAccessBeanData

getField4

public java.lang.String getField4()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the AUCTION.FIELD4 column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Customizable.

Specified by:
getField4 in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getField4InEJBType

public java.math.BigDecimal getField4InEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the AUCTION.FIELD4 column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField4

public void setField4(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField4 in interface AuctionAccessBeanData

setField4

public void setField4(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getField3

public java.lang.String getField3()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the AUCTION.FIELD3 column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Customizable.

Specified by:
getField3 in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getField3InEJBType

public java.math.BigDecimal getField3InEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the AUCTION.FIELD3 column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Customizable.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField3

public void setField3(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField3 in interface AuctionAccessBeanData

setField3

public void setField3(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getField2

public java.lang.String getField2()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the AUCTION.FIELD2 column of DB2 type BIGINT.

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getField2InEJBType

public java.lang.Long getField2InEJBType()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the AUCTION.FIELD2 column of DB2 type BIGINT.

The following is a description of this column:

Customizable.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField2

public void setField2(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField2 in interface AuctionAccessBeanData

setField2

public void setField2(java.lang.Long newValue)
This method accesses a non-CMP field

getField1

public java.lang.String getField1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the AUCTION.FIELD1 column of DB2 type BIGINT.

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getField1InEJBType

public java.lang.Long getField1InEJBType()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the AUCTION.FIELD1 column of DB2 type BIGINT.

The following is a description of this column:

Customizable.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField1

public void setField1(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField1 in interface AuctionAccessBeanData

setField1

public void setField1(java.lang.Long newValue)
This method accesses a non-CMP field

getCurrentPrice

public java.lang.String getCurrentPrice()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the AUCTION.CURRPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Current price. Used in Dutch auctions.

Specified by:
getCurrentPrice in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCurrentPriceInEJBType

public java.math.BigDecimal getCurrentPriceInEJBType()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

This method provides access to the AUCTION.CURRPRICE column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Current price. Used in Dutch auctions.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCurrentPrice

public void setCurrentPrice(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setCurrentPrice in interface AuctionAccessBeanData

setCurrentPrice

public void setCurrentPrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getEndTime

public java.lang.String getEndTime()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the AUCTION.ENDTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Ending date and time for the auction.

Specified by:
getEndTime in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getEndTimeInEJBType

public java.sql.Timestamp getEndTimeInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the AUCTION.ENDTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Ending date and time for the auction.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setEndTime

public void setEndTime(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setEndTime in interface AuctionAccessBeanData

setEndTime

public void setEndTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getDeposit

public java.lang.String getDeposit()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the AUCTION.DEPOSIT column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Deposit amount required for this auction.

Specified by:
getDeposit in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDepositInEJBType

public java.math.BigDecimal getDepositInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the AUCTION.DEPOSIT column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Deposit amount required for this auction.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDeposit

public void setDeposit(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDeposit in interface AuctionAccessBeanData

setDeposit

public void setDeposit(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getStatus

public java.lang.String getStatus()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the AUCTION.AUSTATUS column of DB2 type CHAR(4) NOT NULL.

The following is a description of this column:

The status of the auction.

Specified by:
getStatus in interface AuctionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStatus

public void setStatus(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setStatus in interface AuctionAccessBeanData

getDuration

public java.lang.String getDuration()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the AUCTION.DURATION column of DB2 type TIMESTAMP.

The following is a description of this column:

Auction duration in time.

Specified by:
getDuration in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDurationInEJBType

public java.sql.Timestamp getDurationInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the AUCTION.DURATION column of DB2 type TIMESTAMP.

The following is a description of this column:

Auction duration in time.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDuration

public void setDuration(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDuration in interface AuctionAccessBeanData

setDuration

public void setDuration(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getPrecedence

public java.lang.String getPrecedence()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the AUCTION.PRECEDENCE column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getPrecedence in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPrecedenceInEJBType

public int getPrecedenceInEJBType()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the AUCTION.PRECEDENCE column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPrecedence

public void setPrecedence(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPrecedence in interface AuctionAccessBeanData

setPrecedence

public void setPrecedence(int newValue)
This method accesses a non-CMP field

getReferenceCode

public java.lang.String getReferenceCode()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the AUCTION.REFCODE column of DB2 type CHAR(36) NOT NULL.

The following is a description of this column:

Reference code. A unique code that identifies the auction.

Specified by:
getReferenceCode in interface AuctionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setReferenceCode

public void setReferenceCode(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setReferenceCode in interface AuctionAccessBeanData

getId

public java.lang.String getId()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getId in interface AuctionAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getIdInEJBType

public java.lang.Long getIdInEJBType()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setId

public void setId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setId in interface AuctionAccessBeanData

setId

public void setId(java.lang.Long newValue)
This method accesses a non-CMP field

getRetractBid

public java.lang.String getRetractBid()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the AUCTION.RETRACT_BID column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getRetractBid in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getRetractBidInEJBType

public int getRetractBidInEJBType()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the AUCTION.RETRACT_BID column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRetractBid

public void setRetractBid(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRetractBid in interface AuctionAccessBeanData

setRetractBid

public void setRetractBid(int newValue)
This method accesses a non-CMP field

getRealEndTime

public java.lang.String getRealEndTime()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the AUCTION.REALENDTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Ending date and time.

Specified by:
getRealEndTime in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getRealEndTimeInEJBType

public java.sql.Timestamp getRealEndTimeInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the AUCTION.REALENDTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Ending date and time.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRealEndTime

public void setRealEndTime(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRealEndTime in interface AuctionAccessBeanData

setRealEndTime

public void setRealEndTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getHighestBidId

public java.lang.String getHighestBidId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the AUCTION.HIGHBID_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the bid with the highest price.

Specified by:
getHighestBidId in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getHighestBidIdInEJBType

public java.lang.Long getHighestBidIdInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the AUCTION.HIGHBID_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the bid with the highest price.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setHighestBidId

public void setHighestBidId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setHighestBidId in interface AuctionAccessBeanData

setHighestBidId

public void setHighestBidId(java.lang.Long newValue)
This method accesses a non-CMP field

getBestBidId

public java.lang.String getBestBidId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the AUCTION.BESTBID_ID column of DB2 type BIGINT.

The following is a description of this column:

Best bid ID. The ID of the current lowest winning bid.

Specified by:
getBestBidId in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getBestBidIdInEJBType

public java.lang.Long getBestBidIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the AUCTION.BESTBID_ID column of DB2 type BIGINT.

The following is a description of this column:

Best bid ID. The ID of the current lowest winning bid.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setBestBidId

public void setBestBidId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setBestBidId in interface AuctionAccessBeanData

setBestBidId

public void setBestBidId(java.lang.Long newValue)
This method accesses a non-CMP field

getRulePage

public java.lang.String getRulePage()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the AUCTION.RULEPAGE column of DB2 type VARCHAR(254).

The following is a description of this column:

Rule page. The name of the JSP file that will be used to display the auction rules.

Specified by:
getRulePage in interface AuctionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRulePage

public void setRulePage(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRulePage in interface AuctionAccessBeanData

getBidRuleId

public java.lang.String getBidRuleId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the AUCTION.BIDRULE_ID column of DB2 type BIGINT.

The following is a description of this column:

Bid rule ID. The ID of the bid rule used for this auction.

Specified by:
getBidRuleId in interface AuctionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getBidRuleIdInEJBType

public java.lang.Long getBidRuleIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the AUCTION.BIDRULE_ID column of DB2 type BIGINT.

The following is a description of this column:

Bid rule ID. The ID of the bid rule used for this auction.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setBidRuleId

public void setBidRuleId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setBidRuleId in interface AuctionAccessBeanData

setBidRuleId

public void setBidRuleId(java.lang.Long newValue)
This method accesses a non-CMP field

getClosePriceRule

public java.lang.String getClosePriceRule()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the AUCTION.CLOSEPR column of DB2 type CHAR(4).

The following is a description of this column:

Closing price rule. Valid values: D=discriminative, ND=non-discriminative.

Specified by:
getClosePriceRule in interface AuctionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setClosePriceRule

public void setClosePriceRule(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setClosePriceRule in interface AuctionAccessBeanData

isAuctionRuleViewed

public boolean isAuctionRuleViewed(java.lang.Long memberid)
                            throws java.rmi.RemoteException,
                                   java.lang.Exception,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

Checks whether the member has viewed the auction's rules.

Parameters:
memberid - The member Id.
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException
javax.naming.NamingException

isInGallery

public boolean isInGallery(java.lang.Long memberid)
                    throws java.rmi.RemoteException,
                           java.lang.Exception,
                           javax.ejb.FinderException,
                           javax.naming.NamingException

Checks if this auction has been added to the specified member's Auction Gallery.

Parameters:
memberid - The member Id.
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException
javax.naming.NamingException

isInStore

public boolean isInStore(java.lang.Integer storeid)
                  throws java.rmi.RemoteException,
                         java.lang.Exception,
                         javax.ejb.FinderException,
                         javax.naming.NamingException

This method provides access to the AUCTION.AUCT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique key to identify the auction.

Parameters:
storeid - java.lang.Integer
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException
javax.naming.NamingException

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

getItemPage

public java.lang.String getItemPage(java.lang.Integer storeid)
                             throws java.rmi.RemoteException,
                                    java.lang.Exception,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

Get the item display page for this auction and the specified store Id (from table AUCTSTRREL).

Parameters:
storeid - The store id.
Returns:
The item display page.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException
javax.naming.NamingException

getLongDescription

public java.lang.String getLongDescription(java.lang.Integer language_id)
                                    throws java.rmi.RemoteException,
                                           java.lang.Exception,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

Get the long description for this auction and the specified language Id (from table AUCTDESC).

Parameters:
language_id - The language Id.
Returns:
The long description.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException
javax.naming.NamingException

getShortDescription

public java.lang.String getShortDescription(java.lang.Integer storeid)
                                     throws java.rmi.RemoteException,
                                            java.lang.Exception,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

Get the short description for this auction and the specified language Id (from table AUCTDESC).

Parameters:
storeid - The language Id.
Returns:
The short description.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException
javax.naming.NamingException

addToGallery

public void addToGallery(java.lang.Long memberid)
                  throws java.rmi.RemoteException,
                         java.lang.Exception,
                         javax.ejb.FinderException,
                         javax.naming.NamingException

Add this auction to the gallery of the specified member.

Parameters:
memberid - The member id whose gallery will include this auction.
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

addToRuleViewedList

public void addToRuleViewedList(java.lang.Long memberid)
                         throws java.rmi.RemoteException,
                                java.lang.Exception,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

Mark this auction's rules as viewed by the specified member.

Parameters:
memberid - The member id who has viewed this auction.
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

addToStore

public void addToStore(java.lang.Integer storeid)
                throws java.rmi.RemoteException,
                       java.lang.Exception,
                       javax.ejb.FinderException,
                       javax.naming.NamingException

Add this auction to the specified store.

Parameters:
storeid - The store id.
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

deleteAuctionDescription

public void deleteAuctionDescription(java.lang.Integer language_id)
                              throws java.rmi.RemoteException,
                                     java.lang.Exception,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
This will delete the auction description for the specified language_iduage.
Parameters:
language_id - The language_iduage id.
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

deleteFromGallery

public void deleteFromGallery(java.lang.Long memberid)
                       throws java.rmi.RemoteException,
                              java.lang.Exception,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Delete this auction from the specified member's auction gallery.
Parameters:
memberid - java.lang.Long
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

deleteFromRuleViewedList

public void deleteFromRuleViewedList(java.lang.Long memberid)
                              throws java.rmi.RemoteException,
                                     java.lang.Exception,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
Mark this auction as not having its rules viewed by this member.
Parameters:
memberid - java.lang.Long
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

deleteFromStore

public void deleteFromStore(java.lang.Integer storeid)
                     throws java.rmi.RemoteException,
                            java.lang.Exception,
                            javax.ejb.FinderException,
                            javax.naming.NamingException
Delete this auction from the store.
Parameters:
storeid - The store id.
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

deleteRuleViewedForAll

public void deleteRuleViewedForAll()
                            throws java.rmi.RemoteException,
                                   java.lang.Exception,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
Remove all members from the rules viewed list for this auction.
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

setAuctionDescriptions

public void setAuctionDescriptions(java.lang.Integer languageid,
                                   java.lang.String longDescription,
                                   java.lang.String shortDescription)
                            throws java.rmi.RemoteException,
                                   java.lang.Exception,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

Sets the auction long and short descriptions for the given language.

Parameters:
languageid - The language Id.
longDescription - The short description.
shortDescription - The long description.
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException
javax.naming.NamingException

setItemPage

public void setItemPage(java.lang.String itempage,
                        java.lang.Integer storeid)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

Sets the display page for this auction item.

Parameters:
itempage - The display page.
storeid - The store Id.
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException
javax.naming.NamingException

Feedback