com.ibm.commerce.rfq.commands
Class RespondPAttributeTCCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.rfq.commands.RespondPAttributeTCCmdImpl
- All Implemented Interfaces:
- ECCommand, RespondPAttributeTCCmd, TaskCommand
- public class RespondPAttributeTCCmdImpl
- extends TaskCommandImpl
- implements RespondPAttributeTCCmd
Implementation class for responding OrderItemPAttributeTC.
Method Summary |
java.util.Vector |
getAttributeInfo()
Gets attributeInfo |
java.lang.Long |
getCatentryId()
Gets catentryId |
java.lang.Long |
getRequestId()
Gets requestId |
java.lang.Long |
getResponseId()
Gets responseId |
void |
performExecute()
Responds OrderItemPAttributeTC
Step1: Create the TCs responses
Step2: Create the relationships between the request TCs and the requestTCs. |
void |
setAttributeInfo(java.util.Vector newAttributeInfo)
Sets the field of attributeInfo |
void |
setCatentryId(java.lang.Long newCatentryId)
Sets the field of catentryId |
void |
setRequestId(java.lang.Long newRequestId)
Sets the field of requestId |
void |
setResponseId(java.lang.Long newResponseId)
Sets the field of responseId |
void |
validateParameters()
Validate response paramters. |
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 |
attributeInfo
public java.util.Vector attributeInfo
catentryId
public java.lang.Long catentryId
requestId
public java.lang.Long requestId
responseId
public java.lang.Long responseId
VALUE_CHANGE_FLAG
public static java.lang.Integer VALUE_CHANGE_FLAG
RespondPAttributeTCCmdImpl
public RespondPAttributeTCCmdImpl()
- Constructs a instance of CreateOrderItemPAttrTCCmdImpl.
getAttributeInfo
public java.util.Vector getAttributeInfo()
- Gets attributeInfo
- Returns:
- java.util.Vector
getCatentryId
public java.lang.Long getCatentryId()
- Gets catentryId
- Returns:
- java.lang.Long
getRequestId
public java.lang.Long getRequestId()
- Gets requestId
- Returns:
- java.lang.Long
getResponseId
public java.lang.Long getResponseId()
- Gets responseId
- Returns:
- java.lang.Long
performExecute
public void performExecute()
throws ECApplicationException,
ECException
- Responds OrderItemPAttributeTC
Step1: Create the TCs responses
Step2: Create the relationships between the request TCs and the requestTCs.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Throws:
ECException
- The exception description.
setAttributeInfo
public void setAttributeInfo(java.util.Vector newAttributeInfo)
- Sets the field of attributeInfo
- Specified by:
setAttributeInfo
in interface RespondPAttributeTCCmd
- Parameters:
newAttributeInfo
- java.util.Vector
setCatentryId
public void setCatentryId(java.lang.Long newCatentryId)
- Sets the field of catentryId
- Specified by:
setCatentryId
in interface RespondPAttributeTCCmd
- Parameters:
newCatentryId
- java.lang.Long
setRequestId
public void setRequestId(java.lang.Long newRequestId)
- Sets the field of requestId
- Specified by:
setRequestId
in interface RespondPAttributeTCCmd
- Parameters:
newRequestId
- java.lang.Long
setResponseId
public void setResponseId(java.lang.Long newResponseId)
- Sets the field of responseId
- Specified by:
setResponseId
in interface RespondPAttributeTCCmd
- Parameters:
newResponseId
- java.lang.Long
validateParameters
public void validateParameters()
throws ECApplicationException
- Validate response paramters.
Check whether responseId, requestId, catentryId are null.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECCommand
- Throws:
ECApplicationException
- The exception description.