com.ibm.commerce.negotiation.beans
Class AuctionInfoListBean

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

public class AuctionInfoListBean
extends NegotiationListBean
implements AuctionInfoListInputDataBean, AuctionInfoListSmartDataBean

Retrieves a list of auctions.

See Also:
Serialized Form

Field Summary
protected AuctionInfoDataBean aidb
protected java.lang.String auctChannelStoreId
protected java.lang.String auctId
protected java.lang.String auctItem
protected java.lang.String[] auctMultipleStatus
protected java.lang.String auctOwnerId
protected java.lang.String auctShopperId
protected java.lang.String auctStatus
protected java.lang.String auctStoreId
protected java.lang.String auctType
static java.lang.String COPYRIGHT
protected AuctionInfoDataBean[] 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
AuctionInfoListBean()
Constructs an AuctionListBean object.
Method Summary
java.lang.String getAuctChannelStoreId()
Get Channel Store id.
java.lang.String getAuctId()
Get auction id
AuctionInfoDataBean getAuction(int index)
Returns a specific auction from an auction list.
AuctionInfoDataBean[] getAuctions()
Get an auction list.
java.lang.String getAuctItem()
Get Auction catalog entry id.
java.lang.String[] getAuctMultipleStatus()
Get multiple auction status.
java.lang.String getAuctOwnerId()
Get Owner id
java.lang.String getAuctShopperId()
Get shopper Id.
java.lang.String getAuctStatus()
Get Auction status.
java.lang.String getAuctStoreId()
Get Store id.
java.lang.String getAuctType()
Get Auction type.
void populate()
Populates a sorted list of auctions.
void setAuctChannelStoreId(java.lang.String newAuctChannelStoreId)
Set Channel Store id.
void setAuctId(java.lang.String newAuctId)
Set Auction id.
void setAuctions(AuctionInfoDataBean[] newAuctionVector)
Populate auction array with an auction list.
void setAuctItem(java.lang.String newAuctItem)
Set auction item id.
void setAuctMultipleStatus(java.lang.String[] newAuctMultipleStatus)
Set multiple auction status.
void setAuctOwnerId(java.lang.String newAuctOwnerId)
Set Owner id.
void setAuctShopperId(java.lang.String newAuctShopperId)
Set Shopper id.
void setAuctStatus(java.lang.String newAuctStatus)
Set Auction status.
void setAuctStoreId(java.lang.String newAuctStoreId)
Set Store id.
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

aidb

protected AuctionInfoDataBean aidb

fAuctions

protected AuctionInfoDataBean[] fAuctions

auctItem

protected java.lang.String auctItem

auctOwnerId

protected java.lang.String auctOwnerId

auctType

protected java.lang.String auctType

auctStatus

protected java.lang.String auctStatus

auctStoreId

protected java.lang.String auctStoreId

auctShopperId

protected java.lang.String auctShopperId

auctId

protected java.lang.String auctId

auctChannelStoreId

protected java.lang.String auctChannelStoreId

auctMultipleStatus

protected java.lang.String[] auctMultipleStatus
Constructor Detail

AuctionInfoListBean

public AuctionInfoListBean()
Constructs an AuctionListBean object.
Method Detail

getAuctId

public java.lang.String getAuctId()
Get auction id
Specified by:
getAuctId in interface AuctionInfoListSmartDataBean
Returns:
The auction id.

getAuction

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

getAuctions

public AuctionInfoDataBean[] getAuctions()
Get an auction list.
Specified by:
getAuctions in interface AuctionInfoListSmartDataBean
Returns:
An array of auction info beans.

getAuctItem

public java.lang.String getAuctItem()
Get Auction catalog entry id. Catalog entry id is also referred to as the item id.
Specified by:
getAuctItem in interface AuctionInfoListSmartDataBean
Returns:
The auction catalog entry 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 AuctionInfoListSmartDataBean
Returns:
The auction status array.

getAuctOwnerId

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

getAuctShopperId

public java.lang.String getAuctShopperId()
Get shopper Id. This id is used to find all auctions in a shopper's gallery.
Specified by:
getAuctShopperId in interface AuctionInfoListSmartDataBean
Returns:
The auction shopper 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 AuctionInfoListSmartDataBean
Returns:
The auction status.

getAuctStoreId

public java.lang.String getAuctStoreId()
Get Store id.
Specified by:
getAuctStoreId in interface AuctionInfoListSmartDataBean
Returns:
The store id.

getAuctType

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

getAuctChannelStoreId

public java.lang.String getAuctChannelStoreId()
Get Channel Store id.
Returns:
The channel store id.

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:
  • setAuctItem()
  • setAuctStoreId()
  • setAuctShopperId()
  • setAuctId()
  • setAuctMultipleStatus()
  • setAuctOwnerId()
  • setAuctStatus()
  • setAuctType()
Specified by:
populate in interface SmartDataBean
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception - if an AuctionInfoAccessBean could not be instantiated.

setAuctId

public void setAuctId(java.lang.String newAuctId)
Set Auction id.
Specified by:
setAuctId in interface AuctionInfoListInputDataBean
Parameters:
newAuctId - The auction id.

setAuctions

public void setAuctions(AuctionInfoDataBean[] newAuctionVector)
Populate auction array with an auction list.
Specified by:
setAuctions in interface AuctionInfoListInputDataBean
Parameters:
newAuctionVector - A vector of auction info beans.

setAuctItem

public void setAuctItem(java.lang.String newAuctItem)
Set auction item id. Item id is also catalog entry id.
Specified by:
setAuctItem in interface AuctionInfoListInputDataBean

setAuctMultipleStatus

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

setAuctOwnerId

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

setAuctShopperId

public void setAuctShopperId(java.lang.String newAuctShopperId)
Set Shopper id.
Specified by:
setAuctShopperId in interface AuctionInfoListInputDataBean
Parameters:
newAuctShopperId - The shopper 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 AuctionInfoListInputDataBean
Parameters:
newAuctStatus - The auction status.

setAuctStoreId

public void setAuctStoreId(java.lang.String newAuctStoreId)
Set Store id.
Specified by:
setAuctStoreId in interface AuctionInfoListInputDataBean
Parameters:
newAuctStoreId - The store id.

setAuctType

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

setAuctChannelStoreId

public void setAuctChannelStoreId(java.lang.String newAuctChannelStoreId)
Set Channel Store id.
Parameters:
newAuctChannelStoreId - The channel store id.

Feedback