public class AttributeValueAddCmdImpl extends ControllerCommandImpl implements AttributeValueAddCmd
AttributeValueAddCmd is a URL and controller command that:
ATTRVALUE table except for Market Place Edition related columns and IBM internal use columns.
ATTRVALUE table except for Market Place Edition related columns and IBM internal use columns.
ATTRVALUE table except for Market Place Edition related columns and IBM internal use columns.
AttributeValue
AddAttributeValueCmdattributeId, attrtypeId, name (if catentryId is not supplied, then catentryId=0) descLangId, URL, value or (integerValue, floatValue, stringValue)descLangId = language ID from command context, name = value.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.AttributeValueAddCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName| Constructor and Description |
|---|
AttributeValueAddCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 obtains the input parameters for the
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 |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Long getAttributeId()
getAttributeId in interface AttributeValueAddCmdpublic java.lang.String getAttrtypeId()
public java.lang.Long getAttrvalueId()
getAttrvalueId in interface AttributeValueAddCmdpublic java.lang.Long getCatentryId()
getCatentryId in interface AttributeValueAddCmdpublic 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()
getSequence in interface AttributeValueAddCmdpublic java.lang.String getStringvalue()
public java.lang.String getURL()
public java.lang.String getValue()
public void performExecute()
throws ECException
AttributeValueAdd command.
This method calls the AddCatalogValueCmd task command and then sets attribute value ID, attribute type ID, attribute ID, and sequence number in the response properties.performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
AttributeValueAdd commandreset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setAttributeId(java.lang.Long anAttributeId)
setAttributeId in interface AttributeValueAddCmdanAttributeId - java.lang.Longpublic void setAttrtypeId(java.lang.String astrAttrtypeId)
setAttrtypeId in interface AttributeValueAddCmdastrAttrtypeId - java.lang.Stringpublic void setAttrvalueId(java.lang.Long anAttrvalueId)
setAttrvalueId in interface AttributeValueAddCmdanAttrvalueId - java.lang.Longpublic void setCatentryId(java.lang.Long anCatentryId)
setCatentryId in interface AttributeValueAddCmdanCatentryId - java.lang.Longpublic void setDescLanguage(java.lang.Integer anDescLanguage)
setDescLanguage in interface AttributeValueAddCmdanDescLanguage - java.lang.Integerpublic void setField1(java.lang.Integer anField1)
setField1 in interface AttributeValueAddCmdanField1 - java.lang.Integerpublic void setField2(java.lang.String astrField2)
setField2 in interface AttributeValueAddCmdastrField2 - java.lang.Stringpublic void setField3(java.lang.String astrField3)
setField3 in interface AttributeValueAddCmdastrField3 - java.lang.Stringpublic void setFloatvalue(java.lang.Double adFloatvalue)
setFloatvalue in interface AttributeValueAddCmdadFloatvalue - java.lang.Doublepublic void setImage1(java.lang.String astrImage1)
setImage1 in interface AttributeValueAddCmdastrImage1 - java.lang.Stringpublic void setImage2(java.lang.String astrImage2)
setImage2 in interface AttributeValueAddCmdastrImage2 - java.lang.Stringpublic void setIntegervalue(java.lang.Integer anIntegervalue)
setIntegervalue in interface AttributeValueAddCmdanIntegervalue - java.lang.Integerpublic void setName(java.lang.String astrName)
setName in interface AttributeValueAddCmdastrName - java.lang.Stringpublic void setOID(java.lang.String astrOID)
setOID in interface AttributeValueAddCmdastrOID - java.lang.Stringpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
AttributeValueAdd command.setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqParms - This is an object that represents the request properties.ECApplicationExceptionpublic void setSequence(java.lang.Double adSequence)
setSequence in interface AttributeValueAddCmdadSequence - java.lang.Doublepublic void setStringvalue(java.lang.String astrStringvalue)
setStringvalue in interface AttributeValueAddCmdastrStringvalue - java.lang.Stringpublic void setURL(java.lang.String astrURL)
setURL in interface AttributeValueAddCmdastrURL - java.lang.Stringpublic void setValue(java.lang.String astrValue)
setValue in interface AttributeValueAddCmdastrValue - java.lang.Stringpublic void validateParameters()
throws ECException
AttributeValueAdd commandvalidateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException