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 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 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 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

aidb

protected AuctionInfoDataBean aidb

auctId

protected java.lang.String auctId

auctItem

protected java.lang.String auctItem

auctMultipleStatus

protected java.lang.String[] auctMultipleStatus

auctOwnerId

protected java.lang.String auctOwnerId

auctShopperId

protected java.lang.String auctShopperId

auctStatus

protected java.lang.String auctStatus

auctStoreId

protected java.lang.String auctStoreId

auctType

protected java.lang.String auctType

COPYRIGHT

public static final java.lang.String COPYRIGHT

fAuctions

protected AuctionInfoDataBean[] fAuctions
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:
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:
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.

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:
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
Parameters:
The - auction item id.

setAuctMultipleStatus

public void setAuctMultipleStatus(java.lang.String[] newAuctMultipleStatus)
Set multiple auction status. The possible status are:
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:
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:
Specified by:
setAuctType in interface AuctionInfoListInputDataBean
Parameters:
newAuctType - The auction type.