com.ibm.commerce.negotiation.beans
Class AuctionDescriptionListBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.negotiation.beans.NegotiationListBean
                    |
                    +--com.ibm.commerce.negotiation.beans.AuctionDescriptionListBean
All Implemented Interfaces:
AuctionDescriptionListInputDataBean, AuctionDescriptionListSmartDataBean, DataBean, InputDataBean, NegotiationListInputDataBean, NegotiationListSmartDataBean, java.io.Serializable, SmartDataBean

public class AuctionDescriptionListBean
extends NegotiationListBean
implements AuctionDescriptionListInputDataBean, AuctionDescriptionListSmartDataBean

Provides sorted lists of AuctionDescriptionDataBean objects.

See Also:
NegotiationListBean, CommandDataBean, Serialized Form

Field Summary
protected  java.lang.String aString
           
protected  java.lang.String auctionId
           
static java.lang.String COPYRIGHT
           
protected  AuctionDescriptionDataBean[] fAuctionDescriptions
           
protected  java.lang.String languageId
           
protected  java.lang.String ownerId
           
 
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
AuctionDescriptionListBean()
           
 
Method Summary
 AuctionDescriptionDataBean[] getAuctionDescriptions()
          Gets an array of fAuctionDescriptions.
 java.lang.String getAuctionId()
          Gets the auctionId.
 java.lang.String getLanguageId()
          Gets the active languageId.
 void populate()
          Looks up a list of auction descriptions, then uses the list contents to populate an array of AuctionDescriptionDataBean objects.
 void setAuctionDescriptions(AuctionDescriptionDataBean[] newAuctionDescriptions)
          Loads the array fAuctionDescriptions.
 void setAuctionId(java.lang.String newAuctionId)
          Sets the auctionId.
 void setLanguageId(java.lang.String newLanguageId)
          Sets the languageId field.
 
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

aString

protected java.lang.String aString

auctionId

protected java.lang.String auctionId

COPYRIGHT

public static final java.lang.String COPYRIGHT

fAuctionDescriptions

protected AuctionDescriptionDataBean[] fAuctionDescriptions

languageId

protected java.lang.String languageId

ownerId

protected java.lang.String ownerId
Constructor Detail

AuctionDescriptionListBean

public AuctionDescriptionListBean()
Method Detail

getAuctionDescriptions

public AuctionDescriptionDataBean[] getAuctionDescriptions()
Gets an array of fAuctionDescriptions.
Specified by:
getAuctionDescriptions in interface AuctionDescriptionListSmartDataBean
Returns:
fAuctionDescriptions array of AuctionDescriptionDataBean objects.

getAuctionId

public java.lang.String getAuctionId()
Gets the auctionId.
Specified by:
getAuctionId in interface AuctionDescriptionListSmartDataBean
Returns:
the auctionId.

getLanguageId

public java.lang.String getLanguageId()
Gets the active languageId.
Specified by:
getLanguageId in interface AuctionDescriptionListSmartDataBean
Returns:
the active languageId.

populate

public void populate()
              throws java.lang.Exception
Looks up a list of auction descriptions, then uses the list contents to populate an array of AuctionDescriptionDataBean objects.
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception - if the access bean could not be created.

setAuctionDescriptions

public void setAuctionDescriptions(AuctionDescriptionDataBean[] newAuctionDescriptions)
Loads the array fAuctionDescriptions.
Specified by:
setAuctionDescriptions in interface AuctionDescriptionListInputDataBean
Parameters:
newAuctionDescriptions - new array of AuctionDescriptionDataBean objects.

setAuctionId

public void setAuctionId(java.lang.String newAuctionId)
Sets the auctionId.
Specified by:
setAuctionId in interface AuctionDescriptionListInputDataBean
Parameters:
newAuctionId - the relevant auctionId.

setLanguageId

public void setLanguageId(java.lang.String newLanguageId)
Sets the languageId field.
Specified by:
setLanguageId in interface AuctionDescriptionListInputDataBean
Parameters:
newLanguageId - the desired language id.