com.ibm.commerce.rfq.commands
Class RFQResponseBaseCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.ubf.commands.ToolsBusinessFlowCmdImpl
        |
        +--com.ibm.commerce.rfq.commands.RFQResponseBaseCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, RFQResponseBaseCmd, ToolsControllerCommand
Direct Known Subclasses:
RFQResponseCreateCmdImpl, RFQResponseModifyCmdImpl

public class RFQResponseBaseCmdImpl
extends com.ibm.commerce.ubf.commands.ToolsBusinessFlowCmdImpl
implements RFQResponseBaseCmd

Implementation for response base command.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ibm.commerce.rfq.commands. RFQResponseBaseCmd
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.tools.command. ToolsControllerCommand
NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
RFQResponseBaseCmdImpl()
          Constructs an instance of RFQResponseBaseCmdImpl.
 
Method Summary
 java.util.Vector getAttachmentsRFQLevelList()
          Gets attachmentsRFQLevelList
 java.util.Vector getCommentsRFQLevelList()
          Gets commentsRFQLevelList
 java.sql.Timestamp getCreateTime()
          Gets createTime
 java.util.Hashtable getErrorContent()
          Get errorContent.
 boolean getErrorFlag()
          Gets the errorFlag
 java.util.Hashtable getFfmcenterObj()
          Gets ffmcenterObj
 java.lang.Integer getMajorVersion()
          Gets majorVersion
 java.lang.Integer getMinorVersion()
          Gets minorVersion
 java.lang.Long getOwnerId()
          Gets ownerId
 java.lang.Long getRequestId()
          Gets requestId
 java.lang.Integer getResponseAcceptaction()
          Gets responseAcceptaction
 java.lang.Long getResponseId()
          Gets responseId
 java.lang.String getResponseName()
          Gets responseName
 java.lang.String getResponseRemarks()
          Gets responseRemarks
 java.util.Vector getResProductsList()
          Gets resProductsList
 java.util.Hashtable getToolXMLObject()
          Gets toolXMLObject
 java.sql.Timestamp getUpdateTime()
          Gets updateTime
 java.lang.String getViewTaskName()
          Gets viewTaskName
 java.lang.String getWizardNavagationFile()
          Gets XMLFile from toolXMLObject
 void setAttachmentsRFQLevelList(java.lang.String name, boolean isReq)
          Gets the response attachments from toolXMLObject and sets it.
 void setAttachmentsRFQLevelList(java.util.Vector newAttachmentsRFQLevelList)
          Sets the field of attachmentsRFQLevelList
 void setCommentsRFQLevelList(java.lang.String name, boolean isReq)
          Gets the response comments from toolXMLObject and sets it.
 void setCommentsRFQLevelList(java.util.Vector newCommentsRFQLevelList)
          Sets the field of commentsRFQLevelList
 void setCreateTime(java.sql.Timestamp newCreateTime)
          Sets the field of createTime
 void setErrorContent(java.util.Hashtable newErrorContent)
          Sets errorContent.
 void setErrorFlag(boolean newErrorFlag)
          Sets errorFlag.
 void setFfmcenterObj(java.util.Hashtable newFfmcenterObj)
          Sets the field of ffmcenterObj
 void setFfmcenterObj(java.lang.String name, boolean isReq)
          Gets the response fulfillment center from toolXMLObject and sets it.
 void setMajorVersion(java.lang.Integer newMajorVersion)
          Sets the field of majorVersion
 void setMinorVersion(java.lang.Integer newMinorVersion)
          Sets the field of minorVersion
 void setRequestId(java.lang.String name, boolean isReq)
          Gets the request id from toolXMLObject, and sets it.
 void setRequestProperties( TypedProperty paramTable)
          Extracts the Hashtable of name-value pairs that have been sent up from the Tools UI.
 void setResponseAcceptaction(java.lang.Integer newResponseAcceptaction)
          Sets the field of responseAcceptaction
 void setResponseAcceptaction(java.lang.String name, boolean isReq)
          Gets the accept action from toolXMLObject, and sets it.
 void setResponseId(java.lang.Long newResponseId)
          Sets the field of responseId
 void setResponseId(java.lang.String name, boolean isReq)
          Gets the request id from toolXMLObject, and sets it.
 void setResponseName(java.lang.String name, boolean isReq)
          Gets the response name from toolXMLObject, and sets it.
 void setResponseRemarks(java.lang.String name, boolean isReq)
          Gets the response remark from toolXMLObject, and sets it.
 void setResProductsList(java.lang.String name, boolean isReq)
          Gets the response product from toolXMLObject, and sets it.
 void setResProductsList(java.util.Vector newResProductsList)
          Sets the field of resProductsList
 void setToolXMLObject(java.util.Hashtable newToolXMLObject)
          Sets the field of toolXMLObject
 void setUpdateTime(java.sql.Timestamp newUpdateTime)
          Sets the field of updateTime
 void setViewTaskName(java.lang.String newViewTaskName)
          Sets the field of viewTaskName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command. AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command. ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Constructor Detail

RFQResponseBaseCmdImpl

public RFQResponseBaseCmdImpl()
Constructs an instance of RFQResponseBaseCmdImpl.
Method Detail

getAttachmentsRFQLevelList

public java.util.Vector getAttachmentsRFQLevelList()
Gets attachmentsRFQLevelList
Returns:
java.util.Vector

getCommentsRFQLevelList

public java.util.Vector getCommentsRFQLevelList()
Gets commentsRFQLevelList
Specified by:
getCommentsRFQLevelList in interface RFQResponseBaseCmd
Returns:
java.util.Vector

getCreateTime

public java.sql.Timestamp getCreateTime()
Gets createTime
Returns:
java.sql.Timestamp

getErrorContent

public java.util.Hashtable getErrorContent()
Get errorContent.
Returns:
java.util.Hashtable

getErrorFlag

public boolean getErrorFlag()
Gets the errorFlag
Returns:
boolean

getFfmcenterObj

public java.util.Hashtable getFfmcenterObj()
Gets ffmcenterObj
Returns:
FfmcenterObj

getMajorVersion

public java.lang.Integer getMajorVersion()
Gets majorVersion
Returns:
java.lang.Integer

getMinorVersion

public java.lang.Integer getMinorVersion()
Gets minorVersion
Returns:
java.lang.Integer

getOwnerId

public java.lang.Long getOwnerId()
Gets ownerId
Returns:
java.lang.Long

getRequestId

public java.lang.Long getRequestId()
Gets requestId
Returns:
java.lang.Long

getResponseAcceptaction

public java.lang.Integer getResponseAcceptaction()
Gets responseAcceptaction
Returns:
java.lang.Integer

getResponseId

public java.lang.Long getResponseId()
Gets responseId
Returns:
java.lang.Long

getResponseName

public java.lang.String getResponseName()
Gets responseName
Returns:
java.lang.String

getResponseRemarks

public java.lang.String getResponseRemarks()
Gets responseRemarks
Returns:
java.lang.String

getResProductsList

public java.util.Vector getResProductsList()
Gets resProductsList
Returns:
java.util.Vector

getToolXMLObject

public java.util.Hashtable getToolXMLObject()
Gets toolXMLObject
Returns:
java.util.Hashtable

getUpdateTime

public java.sql.Timestamp getUpdateTime()
Gets updateTime
Returns:
java.sql.Timestamp

getViewTaskName

public java.lang.String getViewTaskName()
Gets viewTaskName
Returns:
java.lang.String

getWizardNavagationFile

public java.lang.String getWizardNavagationFile()
Gets XMLFile from toolXMLObject
Returns:
java.lang.String

setAttachmentsRFQLevelList

public void setAttachmentsRFQLevelList(java.lang.String name,
                                       boolean isReq)
                                throws ECApplicationException
Gets the response attachments from toolXMLObject and sets it.
Parameters:
name - The response attachment object.
isReq - True if this object is required. False if this object is not required.
Throws:
com.ibm.commerce.exception.ECApplicationException.
ECApplicationException

setAttachmentsRFQLevelList

public void setAttachmentsRFQLevelList(java.util.Vector newAttachmentsRFQLevelList)
Sets the field of attachmentsRFQLevelList
Parameters:
newAttachmentsRFQLevelList - java.util.Vector

setCommentsRFQLevelList

public void setCommentsRFQLevelList(java.lang.String name,
                                    boolean isReq)
                             throws ECApplicationException
Gets the response comments from toolXMLObject and sets it.
Parameters:
name - the response comment object.
isReq - true if this object is required. False if this object is not required.
Throws:
com.ibm.commerce.exception.ECApplicationException.
ECApplicationException

setCommentsRFQLevelList

public void setCommentsRFQLevelList(java.util.Vector newCommentsRFQLevelList)
Sets the field of commentsRFQLevelList
Parameters:
newCommentsRFQLevelList - java.util.Vector

setCreateTime

public void setCreateTime(java.sql.Timestamp newCreateTime)
Sets the field of createTime
Parameters:
newCreateTime - java.sql.Timestamp

setErrorContent

public void setErrorContent(java.util.Hashtable newErrorContent)
Sets errorContent.
Parameters:
newErrorContent - java.util.Hashtable

setErrorFlag

public void setErrorFlag(boolean newErrorFlag)
Sets errorFlag.
Parameters:
newErrorFlag - boolean

setFfmcenterObj

public void setFfmcenterObj(java.util.Hashtable newFfmcenterObj)
Sets the field of ffmcenterObj
Parameters:
newFfmcenterObj - The new fulfillment center object.

setFfmcenterObj

public void setFfmcenterObj(java.lang.String name,
                            boolean isReq)
                     throws ECApplicationException
Gets the response fulfillment center from toolXMLObject and sets it.
Specified by:
setFfmcenterObj in interface RFQResponseBaseCmd
Parameters:
name - The new fulfillment center object.
isReq - True if this object is required. False if this object is not required.
Throws:
com.ibm.commerce.exception.ECApplicationException.
ECApplicationException

setMajorVersion

public void setMajorVersion(java.lang.Integer newMajorVersion)
Sets the field of majorVersion
Parameters:
newMajorVersion - java.lang.Integer

setMinorVersion

public void setMinorVersion(java.lang.Integer newMinorVersion)
Sets the field of minorVersion
Parameters:
newMinorVersion - java.lang.Integer

setRequestId

public void setRequestId(java.lang.String name,
                         boolean isReq)
                  throws ECApplicationException
Gets the request id from toolXMLObject, and sets it.
Specified by:
setRequestId in interface RFQResponseBaseCmd
Parameters:
name - The request id object.
isReq - True if this object is required. False if this object is not required.
Throws:
com.ibm.commerce.exception.ECApplicationException.
ECApplicationException

setRequestProperties

public void setRequestProperties(TypedProperty paramTable)
                          throws ECApplicationException
Extracts the Hashtable of name-value pairs that have been sent up from the Tools UI. Saves the Hashtable in a private member(toolXMLObject)
Specified by:
setRequestProperties in interface ControllerCommand
Parameters:
paramTable - com.ibm.commerce.datatype.TypedProperty
Throws:
com.ibm.commerce.exception.ECApplicationException.
ECApplicationException

setResponseAcceptaction

public void setResponseAcceptaction(java.lang.Integer newResponseAcceptaction)
Sets the field of responseAcceptaction
Parameters:
newResponseAcceptaction - java.lang.Integer

setResponseAcceptaction

public void setResponseAcceptaction(java.lang.String name,
                                    boolean isReq)
                             throws ECApplicationException
Gets the accept action from toolXMLObject, and sets it.
Specified by:
setResponseAcceptaction in interface RFQResponseBaseCmd
Parameters:
name - The accept action object.
isReq - True if this object is required. False if this object is not required.
Throws:
com.ibm.commerce.exception.ECApplicationException.
ECApplicationException

setResponseId

public void setResponseId(java.lang.Long newResponseId)
Sets the field of responseId
Parameters:
newResponseId - java.lang.Long

setResponseId

public void setResponseId(java.lang.String name,
                          boolean isReq)
                   throws ECApplicationException
Gets the request id from toolXMLObject, and sets it.
Parameters:
name - The response id object.
isReq - True if this object is required. False if this object is not required.
Throws:
com.ibm.commerce.exception.ECApplicationException.
ECApplicationException

setResponseName

public void setResponseName(java.lang.String name,
                            boolean isReq)
                     throws ECApplicationException
Gets the response name from toolXMLObject, and sets it.
Specified by:
setResponseName in interface RFQResponseBaseCmd
Parameters:
name - The response name object.
isReq - True if this object is required. False if this object is not required.
Throws:
com.ibm.commerce.exception.ECApplicationException.
ECApplicationException

setResponseRemarks

public void setResponseRemarks(java.lang.String name,
                               boolean isReq)
                        throws ECApplicationException
Gets the response remark from toolXMLObject, and sets it.
Specified by:
setResponseRemarks in interface RFQResponseBaseCmd
Parameters:
name - The response remark object.
isReq - True if this object is required. False if this object is not required.
Throws:
com.ibm.commerce.exception.ECApplicationException.
ECApplicationException

setResProductsList

public void setResProductsList(java.lang.String name,
                               boolean isReq)
                        throws ECApplicationException
Gets the response product from toolXMLObject, and sets it.
Specified by:
setResProductsList in interface RFQResponseBaseCmd
Parameters:
name - The response product object.
isReq - True if this object is required. False if this object is not required.
Throws:
com.ibm.commerce.exception.ECApplicationException.
ECApplicationException

setResProductsList

public void setResProductsList(java.util.Vector newResProductsList)
Sets the field of resProductsList
Parameters:
newResProductsList - java.util.Vector

setToolXMLObject

public void setToolXMLObject(java.util.Hashtable newToolXMLObject)
Sets the field of toolXMLObject
Parameters:
newToolXMLObject - java.util.Hashtable

setUpdateTime

public void setUpdateTime(java.sql.Timestamp newUpdateTime)
Sets the field of updateTime
Parameters:
newUpdateTime - java.sql.Timestamp

setViewTaskName

public void setViewTaskName(java.lang.String newViewTaskName)
Sets the field of viewTaskName
Parameters:
newViewTaskName - java.lang.String