java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.catalogmanagement.commands.AttributeValueAddCmdImpl
Implementation for AttributeValueAdd command which adds an attribute value
Field Summary | |
protected boolean | bCheckAttrtype |
static java.lang.String | CLASSNAME |
static java.lang.String | COPYRIGHT |
protected java.lang.Double | idFloatvalue |
protected java.lang.Double | idSequence |
protected java.lang.Long | inAttributeId |
protected java.lang.Long | inAttrvalueId |
protected java.lang.Long | inCatentryId |
protected java.lang.Integer | inDescLanguage |
protected java.lang.Integer | inField1 |
protected java.lang.Integer | inIntegervalue |
protected java.lang.Integer | inStoreDefaultLanguageId |
protected java.lang.String | istrAttrtypeId |
protected java.lang.String | istrField2 |
protected java.lang.String | istrField3 |
protected java.lang.String | istrImage1 |
protected java.lang.String | istrImage2 |
protected java.lang.String | istrName |
protected java.lang.String | istrOID |
protected java.lang.String | istrStringvalue |
protected java.lang.String | istrURL |
protected java.lang.String | istrValue |
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 | |
AttributeValueAddCmdImpl() |
Method Summary | |
java.lang.Long | getAttributeId() Get the attribute ID |
java.lang.String | getAttrtypeId() Get the attribute type ID Attribute types included: 1. |
java.lang.Long | getAttrvalueId() Get the attribute value ID |
java.lang.Long | getCatentryId() Get the catalog entry ID |
java.lang.Integer | getDescLanguage() Get the description language ID of the attribute value |
java.lang.Integer | getField1() Get field 1 of the attribute value |
java.lang.String | getField2() Get field 2 of the attribute value |
java.lang.String | getField3() Get field 3 of the attribute value |
java.lang.Double | getFloatvalue() Get the float value of the attribute value |
java.lang.String | getImage1() Get image 1 of the attribute value |
java.lang.String | getImage2() Get image 2 of the attribute value |
java.lang.Integer | getIntegervalue() Get the integer value of the attribute value |
java.lang.String | getName() Get the name of the attribute value |
java.lang.String | getOID() Get the object identifier of the attribute value |
java.lang.Double | getSequence() Get the sequence number |
java.lang.String | getStringvalue() Get the string value of the attribute value |
java.lang.String | getURL() Get the redirect URL |
java.lang.String | getValue() Get value of the attribute value If value is get, then there is no need to use getFloatvalue, getIntegervalue, getStringvalue. |
void | performExecute() The main program for AttributeValueAdd command |
void | reset() This method reset all the variables used in AttributeValueAdd command |
void | setAttributeId(java.lang.Long anAttributeId) Set the attribute ID |
void | setAttrtypeId(java.lang.String astrAttrtypeId) Set the attribute type ID Attribute types included: 1. |
void | setAttrvalueId(java.lang.Long anAttrvalueId) Set the attribute value ID |
void | setCatentryId(java.lang.Long anCatentryId) Set the catalog entry ID |
void | setDescLanguage(java.lang.Integer anDescLanguage) Set language ID of the attribute value |
void | setField1(java.lang.Integer anField1) Set field 1 of the attribute value |
void | setField2(java.lang.String astrField2) Set field 2 of the attribute value |
void | setField3(java.lang.String astrField3) Set field 3 of the attribute value |
void | setFloatvalue(java.lang.Double adFloatvalue) Set the float value of the attribute value |
void | setImage1(java.lang.String astrImage1) Set image 1 of the attribute value |
void | setImage2(java.lang.String astrImage2) Set image 2 of the attribute value |
void | setIntegervalue(java.lang.Integer anIntegervalue) Set the integer value of the attribute value |
void | setName(java.lang.String astrName) Set the attribute value name |
void | setOID(java.lang.String astrOID) Set the object identifier of the attribute value |
void | setRequestProperties(TypedProperty reqParms) This method obtain the input parameters for AttributeValueAdd command |
void | setSequence(java.lang.Double adSequence) Set the sequence number |
void | setStringvalue(java.lang.String astrStringvalue) Set the string value of the attribute value |
void | setURL(java.lang.String astrURL) Set a redirect URL |
void | setValue(java.lang.String astrValue) Set the value of the attribute value. |
void | validateParameters() This method validates the parameters for AttributeValueAdd 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 |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected java.lang.String istrURL
protected boolean bCheckAttrtype
protected java.lang.Long inAttributeId
protected java.lang.String istrAttrtypeId
protected java.lang.Long inAttrvalueId
protected java.lang.Long inCatentryId
protected java.lang.Integer inField1
protected java.lang.String istrField2
protected java.lang.String istrField3
protected java.lang.Double idFloatvalue
protected java.lang.String istrImage1
protected java.lang.String istrImage2
protected java.lang.Integer inIntegervalue
protected java.lang.Integer inDescLanguage
protected java.lang.String istrName
protected java.lang.String istrOID
protected java.lang.Double idSequence
protected java.lang.String istrStringvalue
protected java.lang.String istrValue
protected java.lang.Integer inStoreDefaultLanguageId
Constructor Detail |
public AttributeValueAddCmdImpl()
Method Detail |
public java.lang.Long getAttributeId()
public java.lang.String getAttrtypeId()
public java.lang.Long getAttrvalueId()
public java.lang.Long getCatentryId()
public java.lang.Integer getDescLanguage()
public java.lang.Integer getField1()
public java.lang.String getField2()
public java.lang.String getField3()
public java.lang.Double getFloatvalue()
public java.lang.String getImage1()
public java.lang.String getImage2()
public java.lang.Integer getIntegervalue()
public java.lang.String getName()
public java.lang.String getOID()
public java.lang.Double getSequence()
public java.lang.String getStringvalue()
public java.lang.String getURL()
public java.lang.String getValue()
public void performExecute() throws ECException
public void reset()
public void setAttributeId(java.lang.Long anAttributeId)
public void setAttrtypeId(java.lang.String astrAttrtypeId)
public void setAttrvalueId(java.lang.Long anAttrvalueId)
public void setCatentryId(java.lang.Long anCatentryId)
public void setDescLanguage(java.lang.Integer anDescLanguage)
public void setField1(java.lang.Integer anField1)
public void setField2(java.lang.String astrField2)
public void setField3(java.lang.String astrField3)
public void setFloatvalue(java.lang.Double adFloatvalue)
public void setImage1(java.lang.String astrImage1)
public void setImage2(java.lang.String astrImage2)
public void setIntegervalue(java.lang.Integer anIntegervalue)
public void setName(java.lang.String astrName)
public void setOID(java.lang.String astrOID)
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
public void setSequence(java.lang.Double adSequence)
public void setStringvalue(java.lang.String astrStringvalue)
public void setURL(java.lang.String astrURL)
public void setValue(java.lang.String astrValue)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.