public class OfferUpdateCmdImpl extends ControllerCommandImpl implements OfferUpdateCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.OfferUpdateCmdImpl".
|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
protected java.math.BigDecimal | ibdCompareprice
The compare price value for the offer price
|
protected java.math.BigDecimal | ibdPrice
The price for the offer price
|
protected java.lang.Double | idMaximumQuantity
The maximum quantity value for the offer
|
protected java.lang.Double | idMinimumQuantity
The minimum quantity value for the offer
|
protected java.lang.Double | idPrecedence
The precedence value for the offer
|
protected java.lang.Long | inCatentryId
The catalog entry ID for the offer
|
protected java.lang.Integer | inDescLanguage
The description language for the offer description
|
protected java.lang.Integer | inFlags
The flags value for the offer
|
protected java.lang.Long | inIdentifier
The identifier value for the offer
|
protected java.lang.Long | inOfferId
The offer ID for the offer
|
protected java.lang.Integer | inPublished
The published flag value for the offer
|
protected java.lang.Long | inTradeposcnId
The trading position container ID for the offer
|
protected java.lang.String | istrCurrency
The currency for the offer price
|
protected java.lang.String | istrDescription
The description for the offer description
|
protected java.lang.String | istrField1
The customizable field 1.
|
protected java.lang.String | istrField2
The customizable field 2.
|
protected java.lang.String | istrOID
The OID value for the offer
|
protected java.lang.String | istrQtyunitId
The quantity unit ID for the offer
|
protected java.lang.String | istrURL
The redirect URL value
|
protected java.sql.Timestamp | itmEnddate
The end date timestamp for the offer
|
protected java.sql.Timestamp | itmLastupdate
The last update timestamp for the offer
|
protected java.sql.Timestamp | itmStartdate
The start date timestamp for the offer
|
Constructor and Description |
---|
OfferUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getCatentryId()
Get the catalog entry Id
|
java.lang.String | getCurrency()
Get the currency
|
java.lang.Integer | getDescLanguage()
Get the description language Id
|
java.sql.Timestamp | getEnddate()
Get the end date of the offer
|
java.lang.Long | getIdentifier()
Get the offer identifier
|
java.lang.Long | getOfferId()
Get the offer Id
|
java.math.BigDecimal | getPrice()
Get the offer price
|
java.sql.Timestamp | getStartdate()
Get the start date of the offer
|
java.lang.Long | getTradeposcnId()
Get the trading position container Id
|
java.lang.String | getURL()
Get the redirect URL
|
void | performExecute()
The main program for OfferUpdate command.
|
void | reset()
This method reset all the variables used in OfferUpdate command
|
void | setCatentryId(java.lang.Long anCatentryId)
Set the catalog entry Id
|
void | setCompareprice(java.math.BigDecimal abdCompareprice)
Set the comparative price
|
void | setCurrency(java.lang.String astrCurrency)
Set the currency
|
void | setDescLanguage(java.lang.Integer anDescLanguage)
Set language Id of offer description
|
void | setDescription(java.lang.String astrDescription)
Set the offer description
|
void | setEnddate(java.sql.Timestamp atmEnddate)
Sets the end date of the offer
|
void | setField1(java.lang.String astrField1)
Set field 1 of the offer
|
void | setField2(java.lang.String astrField2)
Set field 2 of the offer
|
void | setFlags(java.lang.Integer anFlags)
Set offer flags: 1 = ship to address required (if 1, OrderPrepare will return an error if an OrderItem references this offer but does not have a shipping address)
|
void | setIdentifier(java.lang.Long anIdentifier)
Set the offer identifier
|
void | setLastupdate(java.sql.Timestamp atmLastupdate)
Sets the date and time when the offer was updated
|
void | setMaximumQuantity(java.lang.Double adMaximumQuantity)
Set the maximum quantity allowed for the offer
|
void | setMinimumQuantity(java.lang.Double adMinimumQuantity)
Set the minimum quantity required for the offer
|
void | setOfferId(java.lang.Long anOfferId)
Set the offer Id
|
void | setOID(java.lang.String astrOID)
Set the object identifier
|
void | setPrecedence(java.lang.Double adPrecedence)
Set the precedence of the offer When more than one offer is effective at a particular time, the one with the highest precedence is used.
|
void | setPrice(java.math.BigDecimal abdPrice)
Set the offer price
|
void | setPublished(java.lang.Integer anPublished)
Sets the published flag of the offer.
|
void | setQtyunitId(java.lang.String astrQtyunitId)
Set the quantity unit Id.
|
void | setRequestProperties(TypedProperty reqParms)
This method obtains the input parameters for OfferUpdate command
|
void | setStartdate(java.sql.Timestamp atmStartdate)
Sets the start date of the offer
|
void | setTradeposcnId(java.lang.Long anTradeposcnId)
Set trading positioning container Id for the offer
|
void | setURL(java.lang.String astrURL)
Set a redirect URL
|
void | validateParameters()
This method validates the parameters for OfferUpdate command.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected java.lang.String istrURL
protected java.lang.Long inCatentryId
protected java.lang.String istrField1
protected java.lang.String istrField2
protected java.lang.Integer inFlags
protected java.lang.Long inIdentifier
protected java.sql.Timestamp itmLastupdate
protected java.sql.Timestamp itmStartdate
protected java.sql.Timestamp itmEnddate
protected java.lang.Double idMaximumQuantity
protected java.lang.Double idMinimumQuantity
protected java.lang.Long inOfferId
protected java.lang.String istrOID
protected java.lang.Double idPrecedence
protected java.lang.Integer inPublished
protected java.lang.String istrQtyunitId
protected java.lang.Long inTradeposcnId
protected java.lang.String istrDescription
protected java.lang.Integer inDescLanguage
protected java.math.BigDecimal ibdCompareprice
protected java.lang.String istrCurrency
protected java.math.BigDecimal ibdPrice
public java.lang.Long getIdentifier()
public java.lang.Long getOfferId()
public java.lang.Long getCatentryId()
public java.sql.Timestamp getStartdate()
public java.sql.Timestamp getEnddate()
public java.lang.Long getTradeposcnId()
public java.math.BigDecimal getPrice()
public java.lang.String getCurrency()
public java.lang.Integer getDescLanguage()
public java.lang.String getURL()
public void performExecute() throws ECException
public void reset()
public void setCatentryId(java.lang.Long anCatentryId)
public void setField1(java.lang.String astrField1)
public void setField2(java.lang.String astrField2)
public void setFlags(java.lang.Integer anFlags)
public void setIdentifier(java.lang.Long anIdentifier)
public void setLastupdate(java.sql.Timestamp atmLastupdate)
public void setMaximumQuantity(java.lang.Double adMaximumQuantity)
public void setMinimumQuantity(java.lang.Double adMinimumQuantity)
public void setQtyunitId(java.lang.String astrQtyunitId)
public void setOID(java.lang.String astrOID)
public void setPrecedence(java.lang.Double adPrecedence)
public void setPublished(java.lang.Integer anPublished)
public void setTradeposcnId(java.lang.Long anTradeposcnId)
public void setStartdate(java.sql.Timestamp atmStartdate)
public void setEnddate(java.sql.Timestamp atmEnddate)
public void setOfferId(java.lang.Long anOfferId)
public void setCompareprice(java.math.BigDecimal abdCompareprice)
public void setPrice(java.math.BigDecimal abdPrice)
public void setCurrency(java.lang.String astrCurrency)
public void setDescLanguage(java.lang.Integer anDescLanguage)
public void setDescription(java.lang.String astrDescription)
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
public void setURL(java.lang.String astrURL)
public void validateParameters() throws ECException