public class CreateSubOrganizationCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements CreateSubOrganizationCmd
CreateSubOrganizationCmd
task command.
DeployContractCmd
OrgEntityAddCmd
ServerJDBCHelperBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPROVAL_MEMBER_GROUP
Constant for the ApprovalGroup Member Group
|
static java.lang.String |
CLASSNAME
The name of this class is "com.ibm.commerce.contract.commands.CreateSubOrganizationCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
static java.lang.String |
REGISTERED_CUSTOMER_MEMBER_GROUP
Constant for the RegisteredCustomersGroup Member Group
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CreateSubOrganizationCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSubOrgId()
Gets the sub-organization ID.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
setCreateMemberGroups(boolean c)
Sets if member groups should be created.
|
void |
setStoreXML(java.lang.String storeXML)
Sets the store XML string.
|
void |
validateParameters()
Validates the 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, reset, 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 APPROVAL_MEMBER_GROUP
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public static final java.lang.String REGISTERED_CUSTOMER_MEMBER_GROUP
public java.lang.String getSubOrgId()
getSubOrgId
in interface CreateSubOrganizationCmd
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
com.ibm.commerce.exception.ECSystemException
- Raised with message _ERR_FINDER_EXCEPTION if a FinderException is occured
Raised with message _ERR_REMOTE_EXCEPTION if a RemoteException is occured
Raised with message _ERR_NAMING_EXCEPTION if a NamingException is occured
Raised with message _ERR_CREATE_EXCEPTION if a CreateException is occured
Raised with message _ERR_SQL_EXCEPTION if a SQLException is occured
Raised with message _ERR_REMOVE_EXCEPTION if a RemoteException is occured
Raised with message _ERR_PARSE_XML if store XML cannot be parsed
Raised with message _ERR_CONTRACT_CMD_EXEC whenever other errors are occuredAbstractECTargetableCommand.performExecute()
public void setCreateMemberGroups(boolean c)
setCreateMemberGroups
in interface CreateSubOrganizationCmd
c
- true if the member groups should be created, false otherwisepublic void setStoreXML(java.lang.String storeXML)
setStoreXML
in interface CreateSubOrganizationCmd
storeXML
- Store XMLpublic 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.ECException
com.ibm.commerce.exception.ECSystemException
- Raised with message _ERR_MISSING_PARAMETER whenever Store XML is null or store type (distributor proxy or reseller hosting) is not setAbstractECTargetableCommand.validateParameters()