com.ibm.commerce.utf.commands
Class CreateRFQItemAttributeCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.utf.commands.CreateRFQItemAttributeCmdImpl
- All Implemented Interfaces:
- CreateRFQItemAttributeCmd, ECCommand, TaskCommand
- public class CreateRFQItemAttributeCmdImpl
- extends TaskCommandImpl
- implements CreateRFQItemAttributeCmd
Creates standard WebSphere Commerce attribute values for RFQ items.
An RFQ item may or may not have all the attributes of its parent product. This command
stores the values for the inherited attributes.
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 |
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.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, 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.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
attributeVector
public java.util.Vector attributeVector
catentryId
public java.lang.Long catentryId
languageId
public java.lang.Integer languageId
CreateRFQItemAttributeCmdImpl
public CreateRFQItemAttributeCmdImpl()
getAttributeVector
public java.util.Vector getAttributeVector()
- Retrieves the list of attributes.
- Returns:
- The list of standard attributes.
getCatentryId
public java.lang.Long getCatentryId()
- Retrieves the catalog entry ID.
- Returns:
- The catalog entry ID.
getLanguageId
public java.lang.Integer getLanguageId()
- Retrieves the language identifier.
- Returns:
- The language identifier.
performExecute
public void performExecute()
throws ECException
- Creates standard attribute values for an RFQ item.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Throws:
ECApplicationException
- If an application error occurs while creating the attribute entries.ECSystemException
- If a system error occurs while creating the attribute entries.
setAttributeVector
public void setAttributeVector(java.util.Vector newAttributeVector)
- Stores the list of inherited standard attributes.
- Specified by:
setAttributeVector
in interface CreateRFQItemAttributeCmd
- Parameters:
newAttributeVector
- The list of standard attributes.
setCatentryId
public void setCatentryId(java.lang.Long newCatentryId)
- Stores the catalog entry ID.
- Specified by:
setCatentryId
in interface CreateRFQItemAttributeCmd
- Parameters:
newCatentryId
- The catalog entry ID.
setLanguageId
public void setLanguageId(java.lang.Integer newLanguageId)
- Stores the language identifier.
- Specified by:
setLanguageId
in interface CreateRFQItemAttributeCmd
- Parameters:
languageId
- The language identifier.
validateParameters
public void validateParameters()
throws ECException
- 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.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECCommand
- Throws:
ECApplicationException
- - If the catalog entry ID has not been provided.
- If the list of standard attributes is empty.
- If the language identifier has not been provided.