public class SetBusinessEntityCmdImpl extends TaskCommandImpl implements SetBusinessEntityCmd
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.
|
protected TypedProperty | requestProperties
The request properties.
|
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.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected TypedProperty requestProperties
public TypedProperty getRequestProperties()
public void performExecute() throws ECException
public void setRequestProperties(TypedProperty aRequestProperties)