public class SetBusinessEntityCmdImpl extends TaskCommandImpl implements SetBusinessEntityCmd
OrgEntityAddCmd
command to set the BusinessEntity attribute.
Existing orgEntities have an attribute called 'BusinessEntity', stored in the MBRATTRVAL
table. When BusinessEntity equals 1, it means the orgEntity is a business orgEntity that can be used
for the purpose of creating accounts. The Root Organization and the Default Organization have
BusinessEntity set to 0. When a new orgEntity is created, the OrgEntityAddCmd
command will
call this task command which sets the BusinessEntity attribute according to the following logic:
The BusinessEntity attribute is set to 1 if the orgEntity to be created has the Root Organization
as its parent. As well, if the parent organization is a descendant of of an organization defined in
the 'BusinessEntities' section of MemberRegistrationAttributes.xml
, the new orgEntity
will have BusinessEntity set to 1.
In all other cases, BusinessEntity is set to 0.
Inputs and outputs are as follows:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this implementation of the command.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
NAME
Constructor and Description |
---|
SetBusinessEntityCmdImpl() |
Modifier and Type | Method and Description |
---|---|
TypedProperty |
getRequestProperties()
Returns the request properties.
|
void |
performExecute()
Sets the business entity.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties.
|
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, validateParameters
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, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public TypedProperty getRequestProperties()
getRequestProperties
in interface SetBusinessEntityCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- If the parent member was not specified.public void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties
in interface SetBusinessEntityCmd
aRequestProperties
- the request properties.