public class RFQToContractCreateCmdImpl extends ControllerCommandImpl implements RFQToContractCreateCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
RFQToContractCreateCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
createContracts()
Creates a contract for each winning response.
This method does the following:
|
java.lang.Long |
getAccountId()
Gets the accountId
|
java.lang.String |
getEnforceMinQuantity()
Gets the enforce minimum quantity setting
|
java.lang.Long |
getResId()
Gets the responseId
|
AccessVector |
getResources()
Gets the access vector accessed by this command.
|
java.lang.String |
getReturnApprovalPolicy()
Gets the rtnApprovalPolicy
|
java.lang.String |
getReturnChargePolicy()
Gets the rtnChargePolicy
|
java.lang.String[] |
getReturnPaymentPolicies()
Returns the return payment policies.
|
java.lang.Long |
getRfqId()
Returns the RFQ identifier.
|
java.lang.Long |
getRfqOwner()
Returns the RFQ owner's member Id.
|
java.lang.String |
getShipChargeType()
Gets the shippingChargeType
|
void |
performExecute()
Completes the RFQ by creating a contract for the winning response.
This method does the following:
|
void |
reset()
Reset the command
|
void |
setAccountId(java.lang.Long newAccId)
Sets the accountId
|
void |
setEnforceMinQuantity(java.lang.String newEnforceMinQuantity)
Sets the enforce minimum quantity setting
|
void |
setRequestProperties(TypedProperty requestProperties)
Get the rfqId, responseId, billTo parameters from the request.
|
void |
setResId(java.lang.Long newResponseId)
Sets the resId
|
void |
setReturnApprovalPolicy(java.lang.String newRtnApprovalPolicy)
Sets the returnApprovalPolicy
|
void |
setReturnChargePolicy(java.lang.String newRtnChargePolicy)
Sets the rtnChargePolicy
|
void |
setReturnPaymentPolicies(java.lang.String[] newReturnPaymentPolicies)
Sets the return payment policies.
|
void |
setRfqId(java.lang.Long newRfqId)
Assigns the incoming RFQ identifier to a member variable.
|
void |
setRfqOwner(java.lang.Long newRfqOwner)
Assigns the incoming member identifier of the RFQ owner to a member variable.
|
void |
setShipChargeType(java.lang.String newShippingChargeType)
Sets the shippingChargeType
|
void |
validateParameters()
Validates the incoming parameters for this command.
This method expects the following parameters : offering_id , the reference number of the RFQ that is to be completedThis method does the following:
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionECCommand#getResources()public void createContracts()
throws ECException
ECExceptionpublic java.lang.Long getRfqId()
public java.lang.Long getRfqOwner()
public java.lang.Long getAccountId()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionECCommand#performExecute()public void setRequestProperties(TypedProperty requestProperties) throws ECException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplrequestProperties - TypedProperty containing the input parametersECException - This exception can be raised with any of the following
messages _ERR_RFQ_INVALID_REQUESTID, _ERR_RFQ_INVALID_RESPONSEID, _ERR_RFQ_NO_SHIPPING_CHARGE.ControllerCmd#setRequestProperties(TypedProperty)public void setRfqId(java.lang.Long newRfqId)
newRfqId - The RFQ identifier.public void setRfqOwner(java.lang.Long newRfqOwner)
newRfqOwner - The member Id of the RFQ owner.public void setAccountId(java.lang.Long newAccId)
newAccId - The accountId to setpublic void validateParameters()
throws ECException
offering_id , the reference number of the RFQ that is to be completedvalidateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionECCommand#validateParameters()public java.lang.Long getResId()
public void setResId(java.lang.Long newResponseId)
newResponseId - The responseId to setpublic java.lang.String getEnforceMinQuantity()
public void setEnforceMinQuantity(java.lang.String newEnforceMinQuantity)
newEnforceMinQuantity - The enforceMinQuantity to setpublic java.lang.String getShipChargeType()
public void setShipChargeType(java.lang.String newShippingChargeType)
newShippingChargeType - The shippingChargeType to setpublic java.lang.String getReturnChargePolicy()
public void setReturnChargePolicy(java.lang.String newRtnChargePolicy)
newRtnChargePolicy - The returnChargePolicy to setpublic java.lang.String getReturnApprovalPolicy()
public void setReturnApprovalPolicy(java.lang.String newRtnApprovalPolicy)
newRtnApprovalPolicy - The returnApprovalPolicy to setpublic java.lang.String[] getReturnPaymentPolicies()
public void setReturnPaymentPolicies(java.lang.String[] newReturnPaymentPolicies)
newReturnPaymentPolicies - The return payment policies.