public class CreateRFQItemAttributeCmdImpl extends TaskCommandImpl implements CreateRFQItemAttributeCmd
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
Modifier and Type | Field and Description |
---|---|
java.util.Vector |
attributeVector
Attribute Vector.
|
java.lang.Long |
catentryId
Catentry Id.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
java.lang.Integer |
languageId
Language Id.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CreateRFQItemAttributeCmdImpl()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
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. |
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public java.util.Vector attributeVector
public java.lang.Long catentryId
public java.lang.Integer languageId
public CreateRFQItemAttributeCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
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 interface com.ibm.websphere.command.TargetableCommand
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
languageId
- The language identifier.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- ECException
ECCommand#validateParameters()