com.ibm.commerce.rfq.commands
Class RespondPAttributeTCCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.TaskCommandImpl
              com.ibm.commerce.rfq.commands.RespondPAttributeTCCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, RespondPAttributeTCCmd, TaskCommand

public class RespondPAttributeTCCmdImpl
extends TaskCommandImpl
implements RespondPAttributeTCCmd

Implementation class for responding OrderItemPAttributeTC.

This command uses the following AccessBeans:

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
Copyright.
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
Fields inherited from interface com.ibm.commerce.rfq.commands.RespondPAttributeTCCmd
defaultCommandClassName, NAME
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
Constructor Summary
RespondPAttributeTCCmdImpl()
Constructs a instance of CreateOrderItemPAttrTCCmdImpl.
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.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
Constructor Detail

RespondPAttributeTCCmdImpl

public RespondPAttributeTCCmdImpl()
Constructs a instance of CreateOrderItemPAttrTCCmdImpl.
Method Detail

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 AbstractECTargetableCommand
Throws:
ECApplicationException - The exception description.
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 AbstractECTargetableCommand
Throws:
ECApplicationException - The exception description.

Feedback