com.ibm.commerce.usermanagement.commands
Interface SetBusinessEntityCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
SetBusinessEntityCmdImpl

public interface SetBusinessEntityCmd
extends TaskCommand

This task command is called by OrgEntityAdd commands to set the BusinessEntity attribute.

In 5.2, each orgEntity has an attribute called 'BusinessEntity'. When BusinessEntity equals 1, it means the orgEntity is a business orgEntity that can be used for the purpose of creating accounts. The Root Org and the Default Org will have BusinessEntity equals 0. When an orgEntity is created in 5.2, the OrgEntityAdd command will call this task command which will set the BusinessEntity attribute according to the following logic:

Set the BusinessEntity attribute to 1 if the orgEntity to be created has the Root Organization as its parent, ie, in 5.2 all orgEntities directly below the Root Org (except the Default Org) will have BusinessEntity set to 1. For all other cases, set BusinessEntity to 0

The default logic can be overwriten.

Inputs of this task command are:

 setRequestProperties(TypedProperty)
 - set request properties which should contain parentMemberId, otherwise, an exception will thrown.
 getRequestProperties(TypedProperty)
 - return request properties which contains determined BusinessEntity property.

Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright notice field.
static java.lang.String NAME
          The name of this command.
 
Method Summary
  TypedProperty getRequestProperties()
          Gets request properties which contains determined BusinessEntity property.
 void setRequestProperties( TypedProperty aRequestProperties)           Set request properties which should contain parentMemberId, otherwise, an exception will thrown.
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM Copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this command.
See Also:
Constant Field Values
Method Detail

getRequestProperties

public TypedProperty getRequestProperties()
Gets request properties which contains determined BusinessEntity property.
Returns:
The request properties

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperties)
Set request properties which should contain parentMemberId, otherwise, an exception will thrown.
Parameters:
aRequestProperties - The request properties