com.ibm.commerce.usermanagement.commands

Interface SetBusinessEntityCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    SetBusinessEntityCmdImpl


    public interface SetBusinessEntityCmd
    extends TaskCommand
    This task command is called by 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.

    Inputs and outputs are as follows:

    • setRequestProperties(TypedProperty): input properties which should contain parentMemberId, otherwise, an exception will thrown.
    • getRequestProperties(TypedProperty): output properties which contains the BusinessEntity property, in MBRATTRVAL parameter format, for example, BusinessEntity_null. The null implies that this attribute is store independent. Since the action is not specified, it defaults to "a" (add).
    • Method Detail

      • getRequestProperties

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

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