java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.catalogmanagement.commands.OfferDeleteCmdImpl
The OfferDeleteCmd
is a URL and controller command that:
ListPriceDeleteCmd
with the currency and catalog entry
ID found in the offer.ListPriceDeleteCmd
with the catalog
entry ID found in the offer.ListPriceDeleteCmd
for the specied catalog entry ID and
currency.ListPriceDeleteCmd
with the catalog entry ID.OfferDescriptionAccessBean
OfferAccessBean
, OfferPriceAccessBean
,
ListPriceAccessBean
OfferAccessBean
, OfferPriceAccessBean
,
ListPriceAccessBean
OfferDescriptionAccessBean
OfferAccessBean
, OfferPriceAccessBean
,
ListPriceAccessBean
OfferAccessBean
, OfferPriceAccessBean
,
ListPriceAccessBean
DeleteOfferCmd
ListpriceDeleteCmd
Mandatory Parameters: offerId, or catentryId.
Additional Parameters: None.
Optional Parameters: precedence, qtyunitId, descLangId, currency, force, URL.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The name of this interface is "com.ibm.commerce.catalogmanagement.commands.OfferDeleteCmdImpl". |
static java.lang.String |
COPYRIGHT The internal copyright field. |
java.lang.Boolean |
GENERIC_CURRENCY |
protected
java.lang.Double |
idPrecedence |
protected
java.lang.Long |
inCatentryId |
protected
java.lang.Integer |
inDescLanguage |
protected
java.lang.Integer |
inForce |
protected
java.lang.Long |
inIdentifier |
protected
java.lang.Long |
inOfferId |
protected
java.lang.Long |
inTradeposcnId |
protected
java.lang.String |
istrCurrency |
protected
java.lang.String |
istrQtyunitId |
protected
java.lang.String |
istrURL |
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
OfferDeleteCmdImpl() |
Method Summary | |
---|---|
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.lang.Integer |
getForce() Get the force delete option 0 = offer will be marked for deletion 1 = offer will be force deleted |
java.lang.Long |
getIdentifier() Get the offer identifier |
java.lang.Long |
getOfferId() Get the offer Id |
java.lang.Long |
getTradeposcnId() Get trading position container Id |
java.lang.String |
getURL() Get the redirect URL |
void |
performExecute() The main program for OfferDelete command |
void |
reset() This method reset all the variables used in OfferDelete command |
void |
setCatentryId(java.lang.Long anCatentryId) Set the catalog entry Id |
void |
setCurrency(java.lang.String astrCurrency) Set the currency |
void |
setDescLanguage(java.lang.Integer anDescLanguage) Set language Id of the offer description |
void |
setForce(java.lang.Integer anForce) Set the force delete option of the offer 0 = offer will be marked for delete 1 = offer will be force deleted |
void |
setIdentifier(java.lang.Long anIdentifier) Set the offer identifier |
void |
setOfferId(java.lang.Long anOfferId) Set the offer Id |
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 |
setQtyunitId(java.lang.String astrQtyunitId) Set the quantity unit Id. |
void |
setRequestProperties(
TypedProperty reqParms) This method obtain the input parameters for OfferDelete command |
void |
setTradeposcnId(java.lang.Long anTradeposcnId) Set trading positioning container Id for the offer |
void |
setURL(java.lang.String astrURL) Set a redirect URL param astrURL java.lang.String |
void |
validateParameters() This method validates the parameters for OfferDelete command |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Boolean GENERIC_CURRENCY
protected java.lang.String istrURL
protected java.lang.Long inCatentryId
protected java.lang.Long inIdentifier
protected java.lang.Long inOfferId
protected java.lang.Double idPrecedence
protected java.lang.String istrQtyunitId
protected java.lang.Long inTradeposcnId
protected java.lang.Integer inDescLanguage
protected java.lang.String istrCurrency
protected java.lang.Integer inForce
Constructor Detail |
---|
public OfferDeleteCmdImpl()
Method Detail |
---|
public java.lang.Long getCatentryId()
getCatentryId
in interface
OfferDeleteCmd
public java.lang.Long getIdentifier()
public java.lang.String getCurrency()
getCurrency
in interface
OfferDeleteCmd
public java.lang.Integer getDescLanguage()
public java.lang.Long getOfferId()
public java.lang.Long getTradeposcnId()
public java.lang.Integer getForce()
public java.lang.String getURL()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
reset
in class
AbstractECTargetableCommand
public void setCatentryId(java.lang.Long anCatentryId)
setCatentryId
in interface
OfferDeleteCmd
anCatentryId
- java.lang.Longpublic void setCurrency(java.lang.String astrCurrency)
setCurrency
in interface
OfferDeleteCmd
astrCurrency
- java.lang.Stringpublic void setDescLanguage(java.lang.Integer anDescLanguage)
setDescLanguage
in interface
OfferDeleteCmd
anDescLanguage
- java.lang.Integerpublic void setIdentifier(java.lang.Long anIdentifier)
setIdentifier
in interface
OfferDeleteCmd
anIdentifier
- java.lang.Longpublic void setOfferId(java.lang.Long anOfferId)
setOfferId
in interface
OfferDeleteCmd
anOfferId
- java.lang.Longpublic void setPrecedence(java.lang.Double adPrecedence)
setPrecedence
in interface
OfferDeleteCmd
adPrecedence
- java.lang.Doublepublic void setQtyunitId(java.lang.String astrQtyunitId)
setQtyunitId
in interface
OfferDeleteCmd
astrQtyunitId
- java.lang.Stringpublic void setForce(java.lang.Integer anForce)
setForce
in interface
OfferDeleteCmd
anForce
- java.lang.Integerpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
reqParms
- request properties
ECApplicationException
public void setTradeposcnId(java.lang.Long anTradeposcnId)
setTradeposcnId
in interface
OfferDeleteCmd
anTradeposcnId
- java.lang.Longpublic void setURL(java.lang.String astrURL)
setURL
in interface
OfferDeleteCmd
astrURL
- the redirect URLpublic void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException