com.ibm.commerce.negotiation.beans
Class AuctionStyleListBean

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

public class AuctionStyleListBean
extends NegotiationListBean
implements AuctionStyleListInputDataBean, AuctionStyleListSmartDataBean

Retrieves a list of auction styles.

See Also:
Serialized Form

Field Summary
protected  java.lang.String auctStyleName
           
protected  java.lang.String auctStyleOwnerId
           
protected  java.lang.String auctStyleType
           
static java.lang.String COPYRIGHT
           
protected  AuctionStyleDataBean[] fAuctionStyles
           
 
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
AuctionStyleListBean()
          Constructs an AuctionStyleListBean object.
 
Method Summary
 AuctionStyleDataBean getAuctionStyle(int index)
          Get a specific auction style from an auction style list.
 AuctionStyleDataBean[] getAuctionStyles()
          Get a list of auction styles.
 java.lang.String getAuctStyleName()
          Get Style name.
 java.lang.String getAuctStyleOwnerId()
          Get Owner id.
 java.lang.String getAuctStyleType()
          Get Action style type.
 void populate()
          Retrieve a list of auction styles.
 void setAuctStyleName(java.lang.String newAuctStyleName)
          Set Style name.
 void setAuctStyleOwnerId(java.lang.String newAuctStyleOwnerId)
          Set Owner id
 void setAuctStyles(AuctionStyleDataBean[] newAuctionStyleVector)
          Set an auction style array from an auction style list.
 void setAuctStyleType(java.lang.String newAuctStyleType)
          Set Style 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

auctStyleName

protected java.lang.String auctStyleName

auctStyleOwnerId

protected java.lang.String auctStyleOwnerId

auctStyleType

protected java.lang.String auctStyleType

COPYRIGHT

public static final java.lang.String COPYRIGHT

fAuctionStyles

protected AuctionStyleDataBean[] fAuctionStyles
Constructor Detail

AuctionStyleListBean

public AuctionStyleListBean()
Constructs an AuctionStyleListBean object.
Method Detail

getAuctionStyle

public AuctionStyleDataBean getAuctionStyle(int index)
Get a specific auction style from an auction style list.
Specified by:
getAuctionStyle in interface AuctionStyleListSmartDataBean
Parameters:
index - The index of the auction style to be returned.
Returns:
The auction style specified by the index parameter.

getAuctionStyles

public AuctionStyleDataBean[] getAuctionStyles()
Get a list of auction styles.
Specified by:
getAuctionStyles in interface AuctionStyleListSmartDataBean
Returns:
The array of auction style data beans.

getAuctStyleName

public java.lang.String getAuctStyleName()
Get Style name.
Specified by:
getAuctStyleName in interface AuctionStyleListSmartDataBean
Returns:
The auction style name.

getAuctStyleOwnerId

public java.lang.String getAuctStyleOwnerId()
Get Owner id.
Specified by:
getAuctStyleOwnerId in interface AuctionStyleListSmartDataBean
Returns:
The auction style owner id.

getAuctStyleType

public java.lang.String getAuctStyleType()
Get Action style type. The possible types are:

populate

public void populate()
              throws java.lang.Exception
Retrieve a list of auction styles.
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception - if any problems are encountered.

setAuctStyleName

public void setAuctStyleName(java.lang.String newAuctStyleName)
Set Style name.
Specified by:
setAuctStyleName in interface AuctionStyleListInputDataBean
Parameters:
newAuctStyleName - The auction style name.

setAuctStyleOwnerId

public void setAuctStyleOwnerId(java.lang.String newAuctStyleOwnerId)
Set Owner id
Specified by:
setAuctStyleOwnerId in interface AuctionStyleListInputDataBean
Parameters:
newAuctStyleOwnerId - The auction style owner id.

setAuctStyles

public void setAuctStyles(AuctionStyleDataBean[] newAuctionStyleVector)
Set an auction style array from an auction style list.
Specified by:
setAuctStyles in interface AuctionStyleListInputDataBean
Parameters:
newAuctionStyleVector - The array of action style data beans.

setAuctStyleType

public void setAuctStyleType(java.lang.String newAuctStyleType)
Set Style type.
Specified by:
setAuctStyleType in interface AuctionStyleListInputDataBean
Parameters:
newAuctStyleType - The auction style type.