public class AddStoreRelationshipCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements AddStoreRelationshipCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
defaultCommandClassName, NAME
Constructor and Description |
---|
AddStoreRelationshipCmdImpl()
Constructor for AddStoreRelationshipCmdImpl
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getRelatedStore()
Gets the related store id
|
java.lang.Float |
getSequence()
Gets the sequence
|
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 |
setSequence(java.lang.Float sequence)
Sets the sequence
|
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, wait
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
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 AddStoreRelationshipCmdImpl()
public java.lang.Integer getRelatedStore()
getRelatedStore
in interface AddStoreRelationshipCmd
public java.lang.Float getSequence()
getSequence
in interface AddStoreRelationshipCmd
public java.lang.Integer getState()
getState
in interface AddStoreRelationshipCmd
public java.lang.Integer getStore()
getStore
in interface AddStoreRelationshipCmd
public java.lang.String getStoreRelationshipType()
getStoreRelationshipType
in interface AddStoreRelationshipCmd
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
- These exceptions are allowed to percolate.public void reset()
reset
in class com.ibm.commerce.command.AbstractECTargetableCommand
public void setRelatedStore(java.lang.Integer relatedStoreId)
setRelatedStore
in interface AddStoreRelationshipCmd
relatedStoreId
- the related store idpublic void setSequence(java.lang.Float sequence)
setSequence
in interface AddStoreRelationshipCmd
sequence
- the sequencepublic void setState(java.lang.Integer state)
setState
in interface AddStoreRelationshipCmd
state
- the statepublic void setStore(java.lang.Integer storeId)
setStore
in interface AddStoreRelationshipCmd
the
- store idpublic void setStoreRelationshipType(java.lang.String storeRelationshipType)
setStoreRelationshipType
in interface AddStoreRelationshipCmd
storeRelationshipType
- the store relationship typepublic void validateParameters() throws com.ibm.commerce.exception.ECException
validateParameters
in interface com.ibm.commerce.command.ECCommand
validateParameters
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.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