com.ibm.commerce.negotiation.beans

Class AuctionStyleDataBean

    • Constructor Detail

      • AuctionStyleDataBean

        public AuctionStyleDataBean()
        Constructs an auction style data bean object.
      • AuctionStyleDataBean

        public AuctionStyleDataBean(AuctionStyleAccessBean anAccessBean)
        Constructs an auction style data bean object.
      • AuctionStyleDataBean

        public AuctionStyleDataBean(com.ibm.commerce.negotiation.objects.AuctionStyle o)
        Constructs an auction style data bean object.
        Parameters:
        o - javax.ejb.EJBObject
    • Method Detail

      • getAuctDurationDate

        public java.lang.String getAuctDurationDate()
        Gets auction duration date. This date is not used in auction processing.
        Specified by:
        getAuctDurationDate in interface AuctionStyleSmartDataBean
        Returns:
        Auction duration date. Format: yyyy-mm-dd
      • getAuctDurationTime

        public java.lang.String getAuctDurationTime()
        Gets auction duration time.
        Specified by:
        getAuctDurationTime in interface AuctionStyleSmartDataBean
        Returns:
        Auction duration time. Format: hh:mm:ss.
      • getAuctEndDate

        public java.lang.String getAuctEndDate()
        Gets auction end date.
        Specified by:
        getAuctEndDate in interface AuctionStyleSmartDataBean
        Returns:
        Auction end date. Format: yyyy-mm-dd.
      • getAuctEndTime

        public java.lang.String getAuctEndTime()
        Gets auction end time.
        Specified by:
        getAuctEndTime in interface AuctionStyleSmartDataBean
        Returns:
        Auction end time. Format: hh:mm:ss.
      • getAuctStartDate

        public java.lang.String getAuctStartDate()
        Gets auction start date.
        Specified by:
        getAuctStartDate in interface AuctionStyleSmartDataBean
        Returns:
        Auction start date. Format: yyyy-mm-dd.
      • getAuctStartTime

        public java.lang.String getAuctStartTime()
        Gets auction start time.
        Specified by:
        getAuctStartTime in interface AuctionStyleSmartDataBean
        Returns:
        Auction start time. Format: hh:mm:ss.
      • populate

        public void populate()
        Retrieves auction style data and populates auction style data bean object.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - if any problems are encountered.
      • setAuctStyleName

        public void setAuctStyleName(java.lang.String newAuctStyleName)
        Sets auction style name.
        Specified by:
        setAuctStyleName in interface AuctionStyleInputDataBean
        Parameters:
        newAuctStyleName - The auction style name.
      • setAuctStyleOwnerId

        public void setAuctStyleOwnerId(java.lang.String newAuctStyleOwnerId)
        Sets auction style owner ID.
        Specified by:
        setAuctStyleOwnerId in interface AuctionStyleInputDataBean
        Parameters:
        newAuctStyleOwnerId - The auction style owner ID.
      • setRequestProperties

        public void setRequestProperties(TypedProperty newRequestProperties)
        Copies the command input properties.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        newRequestProperties - com.ibm.commerce.datatype.TypedProperty
      • getFormattedDeposit

        public java.lang.String getFormattedDeposit()
        Get formatted deposit
        Returns:
        formatted deposit
      • getFormattedReservePrice

        public java.lang.String getFormattedReservePrice()
        Get formatted reserve price
        Returns:
        formatted reserve price
      • getFormattedOpenPrice

        public java.lang.String getFormattedOpenPrice()
        Get formatted open price
        Returns:
        formatted open price
      • getFormattedDurationDays

        public java.lang.String getFormattedDurationDays()
        Get formatted duration days
        Returns:
        formatted duration days
      • getFormattedStartDays

        public java.lang.String getFormattedStartDays()
        Get formatted start days
        Returns:
        formatted start days
      • getFormattedEndDays

        public java.lang.String getFormattedEndDays()
        Get formatted end days
        Returns:
        formatted end days
      • getFormattedQuantity

        public java.lang.String getFormattedQuantity()
        Get formatted quantity
        Returns:
        formatted quantity
      • getFormattedStartTime

        public java.lang.String getFormattedStartTime()
        Get formatted start time
        Returns:
        formatted start time
      • getFormattedEndTime

        public java.lang.String getFormattedEndTime()
        Get formatted end time
        Returns:
        formatted end time
      • getFormattedStartYear

        public java.lang.String getFormattedStartYear()
        Get formatted start year
        Returns:
        formatted start year
      • getFormattedStartMonth

        public java.lang.String getFormattedStartMonth()
        Get formatted start month
        Returns:
        formatted start month
      • getFormattedStartDay

        public java.lang.String getFormattedStartDay()
        Get formatted start month
        Returns:
        formatted start day
      • getFormattedEndYear

        public java.lang.String getFormattedEndYear()
        Get formatted end year
        Returns:
        formatted end year
      • getFormattedEndMonth

        public java.lang.String getFormattedEndMonth()
        Get formatted end month
        Returns:
        formatted end month
      • getFormattedEndDay

        public java.lang.String getFormattedEndDay()
        Get formatted end month
        Returns:
        formatted end day
      • getAuctCloseTypeDisplayStr

        public java.lang.String getAuctCloseTypeDisplayStr()
        Get auction close type display string
        Returns:
        auction close type display string "or" if closetype=2 ,3 "And" if closetype=4 Empty string If closetype=1