com.ibm.commerce.negotiation.beans
Class AuctionListBean

java.lang.Object
  com.ibm.commerce.beans.InputDataBeanImpl
      com.ibm.commerce.beans.SmartDataBeanImpl
          com.ibm.commerce.negotiation.beans.NegotiationListBean
              com.ibm.commerce.negotiation.beans.AuctionListBean
All Implemented Interfaces:
AuctionListInputDataBean, AuctionListSmartDataBean, DataBean, InputDataBean, NegotiationListInputDataBean, NegotiationListSmartDataBean, java.io.Serializable, SmartDataBean

public class AuctionListBean
extends NegotiationListBean
implements AuctionListInputDataBean, AuctionListSmartDataBean

Retrieves a list of auctions.

See Also:
Serialized Form

Field Summary
protected AuctionDataBean asdb
protected java.lang.String auctFlag
protected java.lang.String auctItem
protected java.lang.String[] auctMultipleStatus
protected java.lang.String auctOwnerId
protected java.lang.String auctReferenceCode
protected java.lang.String auctRuleId
protected java.lang.String auctStatus
protected java.lang.String auctType
static java.lang.String COPYRIGHT
protected AuctionDataBean[] fAuctions
Fields inherited from class com.ibm.commerce.negotiation.beans.NegotiationListBean
listSize, sortingAtt
Fields inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
commandContext
Fields inherited from class com.ibm.commerce.beans.InputDataBeanImpl
requestProperties
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
Constructor Summary
AuctionListBean()
Constructs an AuctionListBean object.
Method Summary
java.lang.String getAuctFlag()
Get Auction flag: 0 for unlocked 1 for locked
AuctionDataBean getAuction(int index)
Returns a specific auction from an auction list.
AuctionDataBean[] getAuctions()
Get a list of auctions
java.lang.String getAuctItem()
Get Item id.
java.lang.String[] getAuctMultipleStatus()
Get multiple auction status.
java.lang.String getAuctOwnerId()
Get Owner id
java.lang.String getAuctReferenceCode()
Get Reference code.
java.lang.String getAuctRuleId()
Get Bid control rule id.
java.lang.String getAuctStatus()
Get Auction status.
java.lang.String getAuctType()
Get Auction type.
void populate()
Populates a sorted list of auctions.
void setAuctFlag(java.lang.String newAuctFlag)
Set Auction flag: 0 for unlocked 1 for locked
void setAuctions(AuctionDataBean[] newAuctionVector)
Populate auction array with an auction list
void setAuctItem(java.lang.String newAuctItem)
Set Item id .
void setAuctMultipleStatus(java.lang.String[] newAuctMultipleStatus)
Set multiple auction status.
void setAuctOwnerId(java.lang.String newAuctOwnerId)
Set Owner id.
void setAuctReferenceCode(java.lang.String newAuctReferenceCode)
Set Auction reference code.
void setAuctRuleId(java.lang.String newAuctRuleId)
Set Bid control rule id.
void setAuctStatus(java.lang.String newAuctStatus)
Set Auction status.
void setAuctType(java.lang.String newAuctType)
Set Auction type.
Methods inherited from class com.ibm.commerce.negotiation.beans.NegotiationListBean
getLength, getSortAtt, setSortAtt
Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl
getRequestProperties, setRequestProperties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.commerce.beans.InputDataBean
getRequestProperties, setRequestProperties
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

asdb

protected AuctionDataBean asdb

fAuctions

protected AuctionDataBean[] fAuctions

auctFlag

protected java.lang.String auctFlag

auctItem

protected java.lang.String auctItem

auctOwnerId

protected java.lang.String auctOwnerId

auctType

protected java.lang.String auctType

auctStatus

protected java.lang.String auctStatus

auctReferenceCode

protected java.lang.String auctReferenceCode

auctMultipleStatus

protected java.lang.String[] auctMultipleStatus

auctRuleId

protected java.lang.String auctRuleId
Constructor Detail

AuctionListBean

public AuctionListBean()
Constructs an AuctionListBean object.
Method Detail

getAuctFlag

public java.lang.String getAuctFlag()
Get Auction flag:
  • 0 for unlocked
  • 1 for locked
Specified by:
getAuctFlag in interface AuctionListSmartDataBean
Returns:
The auction flag.

getAuction

public AuctionDataBean getAuction(int index)
Returns a specific auction from an auction list.
Specified by:
getAuction in interface AuctionListSmartDataBean
Parameters:
index - The index of the auction to be returned.
Returns:
The auction from the list for the specified index.

getAuctions

public AuctionDataBean[] getAuctions()
Get a list of auctions
Specified by:
getAuctions in interface AuctionListSmartDataBean
Returns:
The array of auction data beans.

getAuctItem

public java.lang.String getAuctItem()
Get Item id. Item id is also the catelog entry id.
Specified by:
getAuctItem in interface AuctionListSmartDataBean
Returns:
The item id.

getAuctMultipleStatus

public java.lang.String[] getAuctMultipleStatus()
Get multiple auction status. The possible auction status are:
  • F=Future
  • C=Current
  • R=Retracted(deleted)
  • SC=Settlement Closed
  • BC=Bidding Closed.
Specified by:
getAuctMultipleStatus in interface AuctionListSmartDataBean
Returns:
The auction status array.

getAuctOwnerId

public java.lang.String getAuctOwnerId()
Get Owner id
Specified by:
getAuctOwnerId in interface AuctionListSmartDataBean
Returns:
The owner id.

getAuctReferenceCode

public java.lang.String getAuctReferenceCode()
Get Reference code. Auction reference code is generated by the system.
Specified by:
getAuctReferenceCode in interface AuctionListSmartDataBean
Returns:
The auction reference code.

getAuctRuleId

public java.lang.String getAuctRuleId()
Get Bid control rule id.
Specified by:
getAuctRuleId in interface AuctionListSmartDataBean
Returns:
The bid control rule id.

getAuctStatus

public java.lang.String getAuctStatus()
Get Auction status. The possible status are:
  • F=Future
  • C=Current
  • R=Retracted(deleted)
  • SC=Settlement Closed
  • BC=Bidding Closed.
Specified by:
getAuctStatus in interface AuctionListSmartDataBean
Returns:
The auction status.

getAuctType

public java.lang.String getAuctType()
Get Auction type.
Specified by:
getAuctType in interface AuctionListSmartDataBean
Returns:
The auction type.

populate

public void populate()
              throws java.lang.Exception
Populates a sorted list of auctions. The list selection criteria are established by assigning non-null selector values using the setter methods:
  • setAuctOwnerId()
  • setAuctType()
  • setAuctStatus()
  • setAuctMultipleStatus()
  • setAuctFlag()
  • setAuctRuleId()
  • setAuctItem()
Specified by:
populate in interface SmartDataBean
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception - if an AuctionAccessBean could not be instantiated.

setAuctFlag

public void setAuctFlag(java.lang.String newAuctFlag)
Set Auction flag:
  • 0 for unlocked
  • 1 for locked
Specified by:
setAuctFlag in interface AuctionListInputDataBean
Parameters:
newAuctFlag - The auction flag.

setAuctions

public void setAuctions(AuctionDataBean[] newAuctionVector)
Populate auction array with an auction list
Specified by:
setAuctions in interface AuctionListInputDataBean
Parameters:
newAuctionVector - The vector of auction data beans.

setAuctItem

public void setAuctItem(java.lang.String newAuctItem)
Set Item id . Item id is also the catalog entry id.
Specified by:
setAuctItem in interface AuctionListInputDataBean
Parameters:
newAuctItem - The item id.

setAuctMultipleStatus

public void setAuctMultipleStatus(java.lang.String[] newAuctMultipleStatus)
Set multiple auction status. The possible auction status are:
  • F=Future
  • C=Current
  • R=Retracted(deleted)
  • SC=Settlement Closed
  • BC=Bidding Closed.
Specified by:
setAuctMultipleStatus in interface AuctionListInputDataBean
Parameters:
newAuctMultipleStatus - The auction status array.

setAuctOwnerId

public void setAuctOwnerId(java.lang.String newAuctOwnerId)
Set Owner id.
Specified by:
setAuctOwnerId in interface AuctionListInputDataBean
Parameters:
newAuctOwnerId - The auction owner id.

setAuctReferenceCode

public void setAuctReferenceCode(java.lang.String newAuctReferenceCode)
Set Auction reference code.
Specified by:
setAuctReferenceCode in interface AuctionListInputDataBean
Parameters:
newAuctReferenceCode - The auction reference code.

setAuctRuleId

public void setAuctRuleId(java.lang.String newAuctRuleId)
Set Bid control rule id.
Specified by:
setAuctRuleId in interface AuctionListInputDataBean
Parameters:
newAuctRuleId - The bid control rule id.

setAuctStatus

public void setAuctStatus(java.lang.String newAuctStatus)
Set Auction status. The possible status are:
  • F=Future
  • C=Current
  • R=Retracted(deleted)
  • SC=Settlement Closed
  • BC=Bidding Closed.
Specified by:
setAuctStatus in interface AuctionListInputDataBean
Parameters:
newAuctStatus - The auction status.

setAuctType

public void setAuctType(java.lang.String newAuctType)
Set Auction type. The Types are:
  • O=Open Cry
  • S=Sealed Bid
  • D=Dutch
Specified by:
setAuctType in interface AuctionListInputDataBean
Parameters:
newAuctType - The auction type.

Feedback