java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.utf.commands.CreateRFQItemAttributeCmdImpl
Creates standard product attribute values for an RFQ item.
An RFQ item may or may not have all the attributes of its parent product. This command stores the values for the inherited attributes.
This is the default implementation of the CreateRFQItemAttributeCmd. This command uses the following Data Beans:
RFQProductAttributes
Field Summary | |
---|---|
java.util.Vector |
attributeVector Attribute Vector. |
java.lang.Long |
catentryId Catentry Id. |
java.lang.Integer |
languageId Language Id. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands. CreateRFQItemAttributeCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CreateRFQItemAttributeCmdImpl() Default Constructor. |
Method Summary | |
---|---|
java.util.Vector |
getAttributeVector() Retrieves the list of attributes. |
java.lang.Long |
getCatentryId() Retrieves the catalog entry ID. |
java.lang.Integer |
getLanguageId() Retrieves the language identifier. |
void |
performExecute()
Creates standard attribute values for an RFQ item. |
void |
reset() Reset the command. |
void |
setAttributeVector(java.util.Vector newAttributeVector) Stores the list of inherited standard attributes. |
void |
setCatentryId(java.lang.Long newCatentryId) Stores the catalog entry ID. |
void |
setLanguageId(java.lang.Integer newLanguageId) Stores the language identifier. |
void |
validateParameters()
This method does the following:
Verifies that a catalog entry ID has been provided. Verifies that a list of
standard attributes has been provided. Verifies that a language identifier has
been provided. |
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 |
Field Detail |
---|
public java.util.Vector attributeVector
public java.lang.Long catentryId
public java.lang.Integer languageId
Constructor Detail |
---|
public CreateRFQItemAttributeCmdImpl()
Method Detail |
---|
public void reset()
reset
in class
AbstractECTargetableCommand
public java.util.Vector getAttributeVector()
public java.lang.Long getCatentryId()
public java.lang.Integer getLanguageId()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECApplicationException
- If an application error occurs while
creating the attribute entries.
ECSystemException
- If a system error occurs while creating the
attribute entries.ECException
ECCommand.performExecute()
public void setAttributeVector(java.util.Vector newAttributeVector)
setAttributeVector
in interface
CreateRFQItemAttributeCmd
newAttributeVector
- The list of standard
attributes.public void setCatentryId(java.lang.Long newCatentryId)
setCatentryId
in interface
CreateRFQItemAttributeCmd
newCatentryId
- The catalog entry ID.public void setLanguageId(java.lang.Integer newLanguageId)
setLanguageId
in interface
CreateRFQItemAttributeCmd
newLanguageId
- The language identifier.public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECApplicationException
-
ECException
ECCommand.validateParameters()