|
||||||||
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.ProductAttributeDeleteCmdImpl
Implementation for ProductAttributeDelete command which is the URL command for deleting an Attribute to a Catalog Entry (Product)
Field Summary | |
static java.lang.String |
CLASSNAME
|
static java.lang.String |
COPYRIGHT
|
protected java.lang.Long |
inAttributeId
|
protected java.lang.Integer |
inAttrLangId
|
protected java.lang.Long |
inCatentryId
|
protected java.lang.Integer |
inForce
|
protected java.lang.Double |
inSequence
|
protected java.lang.String |
istrAttrtypeId
|
protected java.lang.String |
istrDescription
|
protected java.lang.String |
istrDescription2
|
protected java.lang.String |
istrField1
|
protected java.lang.String |
istrName
|
protected java.lang.String |
istrOID
|
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 | |
ProductAttributeDeleteCmdImpl()
|
Method Summary | |
java.lang.Long |
getAttributeId()
Get the attribute Id |
java.lang.Integer |
getAttrLangId()
Get attribute language Id |
java.lang.String |
getAttrtypeId()
Get the attribute type Id Attribute types included: 1. |
java.lang.Long |
getCatentryId()
Get the catalog entry Id |
java.lang.Integer |
getForce()
Get the force delete option for the attribute |
java.lang.String |
getName()
Get the attribute name |
java.lang.Double |
getSequence()
Get the sequence number |
java.lang.String |
getURL()
Get the redirect URL |
void |
performExecute()
The main program for ProductAttributeDelete command |
void |
reset()
This method reset all the variables used in ProductAttributeDelete command |
void |
setAttributeId(java.lang.Long anAttributeId)
Set the attribute Id |
void |
setAttrLangId(java.lang.Integer anAttrLangId)
Set the language Id of the Attribute |
void |
setAttrtypeId(java.lang.String astrAttrtypeId)
Set the attribute type Id Attribute types included: 1. |
void |
setCatentryId(java.lang.Long anCatentryId)
Set the catalog entry Id |
void |
setForce(java.lang.Integer anForce)
Set the force delete option of the attribute |
void |
setName(java.lang.String astrName)
Set the attribute name |
void |
setRequestProperties(TypedProperty reqParms)
This method obtain the input parameters for ProductAttributeDelete command |
void |
setSequence(java.lang.Double anSequence)
Set the sequence number of the attribute |
void |
setURL(java.lang.String astrURL)
Set a redirect URL |
void |
validateParameters()
This method validates the parameters for ProductAttributeDelete 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
protected java.lang.Long inAttributeId
protected java.lang.Integer inAttrLangId
protected java.lang.Long inCatentryId
protected java.lang.Integer inForce
protected java.lang.Double inSequence
protected java.lang.String istrAttrtypeId
protected java.lang.String istrDescription
protected java.lang.String istrDescription2
protected java.lang.String istrField1
protected java.lang.String istrName
protected java.lang.String istrOID
protected java.lang.String istrURL
Constructor Detail |
public ProductAttributeDeleteCmdImpl()
Method Detail |
public java.lang.Long getAttributeId()
getAttributeId
in interface ProductAttributeDeleteCmd
public java.lang.Integer getAttrLangId()
public java.lang.String getAttrtypeId()
public java.lang.Long getCatentryId()
getCatentryId
in interface ProductAttributeDeleteCmd
java.lang.Long
- public java.lang.Integer getForce()
java.lang.Integer
- public java.lang.String getName()
java.lang.String
- public java.lang.Double getSequence()
java.lang.Double
- public java.lang.String getURL()
java.lang.String
- public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECTargetableCommand
ECException
- public void reset()
reset
in class AbstractECTargetableCommand
public void setAttributeId(java.lang.Long anAttributeId)
setAttributeId
in interface ProductAttributeDeleteCmd
anAttributeId
- java.lang.Longpublic void setAttrLangId(java.lang.Integer anAttrLangId)
setAttrLangId
in interface ProductAttributeDeleteCmd
anAttrLangId
- java.lang.Integerpublic void setAttrtypeId(java.lang.String astrAttrtypeId)
setAttrtypeId
in interface ProductAttributeDeleteCmd
astrAttrtypeId
- java.lang.Stringpublic void setCatentryId(java.lang.Long anCatentryId)
setCatentryId
in interface ProductAttributeDeleteCmd
anCatentryId
- java.lang.Longpublic void setForce(java.lang.Integer anForce)
setForce
in interface ProductAttributeDeleteCmd
anForce
- java.lang.Integerpublic void setName(java.lang.String astrName)
setName
in interface ProductAttributeDeleteCmd
astrName
- java.lang.Stringpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
ECApplicationException
- public void setSequence(java.lang.Double anSequence)
setSequence
in interface ProductAttributeDeleteCmd
anSequence
- java.lang.Doublepublic void setURL(java.lang.String astrURL)
setURL
in interface ProductAttributeDeleteCmd
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 |