|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.catalogmanagement.commands.OfferDeleteCmdImpl
Implementation for OfferDelete command which is the URL command for Deleteing an Offer, Offer Description, and OfferPrice
Field Summary | |
static java.lang.String |
CLASSNAME
|
static java.lang.String |
COPYRIGHT
|
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 |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
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, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public 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
Constructor Detail |
public OfferDeleteCmdImpl()
Method Detail |
public java.lang.Long getCatentryId()
getCatentryId
in interface OfferDeleteCmd
public java.lang.String getCurrency()
getCurrency
in interface OfferDeleteCmd
public java.lang.Integer getDescLanguage()
public java.lang.Integer getForce()
public java.lang.Long getIdentifier()
public java.lang.Long getOfferId()
public java.lang.Long getTradeposcnId()
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 setForce(java.lang.Integer anForce)
setForce
in interface OfferDeleteCmd
anForce
- 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 setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
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
com.ibm.commerce.catalogmanagement.commands.OfferDeleteCmd
astrURL
- java.lang.Stringpublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |