public class UpdateStoreRelationshipStateCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements UpdateStoreRelationshipStateCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
UpdateStoreRelationshipStateCmdImpl()
Constructor for UpdateStoreRelationshipCmdImpl
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getRelatedStore()
Gets the related store id
|
java.lang.Integer |
getState()
Gets the state
|
java.lang.Integer |
getStore()
Gets the store id
|
java.lang.String |
getStoreRelationshipType()
Gets the store relationship type
|
void |
performExecute()
Execute the command.
|
void |
reset()
Resets the command.
|
void |
setRelatedStore(java.lang.Integer relatedStoreId)
Sets the related store id
|
void |
setState(java.lang.Integer state)
Sets the state
|
void |
setStore(java.lang.Integer storeId)
Sets the store id
|
void |
setStoreRelationshipType(java.lang.String storeRelationshipType)
Sets the store relationship type
|
void |
validateParameters()
Check mandatory parameters.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public UpdateStoreRelationshipStateCmdImpl()
public java.lang.Integer getRelatedStore()
getRelatedStore in interface UpdateStoreRelationshipStateCmdpublic java.lang.Integer getState()
getState in interface UpdateStoreRelationshipStateCmdpublic java.lang.Integer getStore()
getStore in interface UpdateStoreRelationshipStateCmdpublic java.lang.String getStoreRelationshipType()
getStoreRelationshipType in interface UpdateStoreRelationshipStateCmdpublic void performExecute()
throws com.ibm.commerce.exception.ECException
performExecute in interface com.ibm.commerce.command.ECCommandperformExecute in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECException - These exceptions are allowed to percolate.public void reset()
reset in class com.ibm.commerce.command.AbstractECTargetableCommandpublic void setRelatedStore(java.lang.Integer relatedStoreId)
setRelatedStore in interface UpdateStoreRelationshipStateCmdrelatedStoreId - the related store idpublic void setState(java.lang.Integer state)
setState in interface UpdateStoreRelationshipStateCmdstate - the statepublic void setStore(java.lang.Integer storeId)
setStore in interface UpdateStoreRelationshipStateCmdthe - store idpublic void setStoreRelationshipType(java.lang.String storeRelationshipType)
setStoreRelationshipType in interface UpdateStoreRelationshipStateCmdstoreRelationshipType - the store relationship typepublic void validateParameters()
throws com.ibm.commerce.exception.ECException
validateParameters in interface com.ibm.commerce.command.ECCommandvalidateParameters in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECApplicationException - Raised with message _ERR_BAD_MISSING_CMD_PARAMETER
if the store id, related store id, or store relationship type is not specified.com.ibm.commerce.exception.ECException