public class CopyRFQCmdImpl extends TaskCommandImpl implements CopyRFQCmd
RFQProdAccessBean
RFQCategryAccessBean
RFQAccessBean
TradingDescriptionAccessBean
TradingAgreementAccessBean
TermConditionAccessBean
RFQTargetAccessBean
PAttrValueAccessBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CopyRFQCmdImpl()
CopyRFQCmdImpl constructor comment.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCopyAttachment()
Gets the copyAttachment
|
java.lang.Long |
getNewRFQId()
Returns the RFQ id of the new copy.
|
java.lang.String |
getNewRFQName()
Returns the unique name for the new RFQ
|
java.lang.Integer |
getSourceAccessType()
Gets the sourceAccessType
|
java.lang.Long |
getSourceRFQId()
Returns the source RFQ unique id used for the copy.
|
java.lang.Integer |
getSourceStoreId()
Returns the sourceStoreId.
|
void |
performExecute()
Performs the RFQ copy action.
|
void |
reset()
Reset the command.
|
void |
setCopyAttachment(boolean copyAttachment)
Sets the copyAttachment
|
void |
setNewRFQName(java.lang.String name)
Sets the unique name for the new RFQ
|
void |
setSourceAccessType(java.lang.Integer sourceAccessType)
Sets the sourceAccessType
|
void |
setSourceRFQId(java.lang.Long rfqId)
Sets the source of RFQ id to copy from.
|
void |
setSourceStoreId(java.lang.Integer sourceStoreId)
Sets the sourceStoreId.
|
void |
validateParameters()
Checks if the source RFQ id value is set.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public java.lang.Long getNewRFQId()
getNewRFQId
in interface CopyRFQCmd
public java.lang.String getNewRFQName()
getNewRFQName
in interface CopyRFQCmd
public java.lang.Long getSourceRFQId()
getSourceRFQId
in interface CopyRFQCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException.
ECException
validateParameters()
,
CreateRFQBasicInfoCmd
,
,
ECCommand#performExecute()
public void setNewRFQName(java.lang.String name)
setNewRFQName
in interface CopyRFQCmd
The
- unique String name value for the new RFQ.public void setSourceRFQId(java.lang.Long rfqId)
setSourceRFQId
in interface CopyRFQCmd
rfqId
- The source Long unique RFQ id value.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- The exception describing the failureECCommand#validateParameters()
public boolean getCopyAttachment()
getCopyAttachment
in interface CopyRFQCmd
public void setCopyAttachment(boolean copyAttachment)
setCopyAttachment
in interface CopyRFQCmd
copyAttachment
- The copyAttachment to setpublic java.lang.Integer getSourceAccessType()
public void setSourceAccessType(java.lang.Integer sourceAccessType)
sourceAccessType
- The sourceAccessType to setpublic java.lang.Integer getSourceStoreId()
public void setSourceStoreId(java.lang.Integer sourceStoreId)
sourceStoreId
- The sourceStoreId to set