com.ibm.commerce.usermanagement.commands
Class OrgEntityAddCmdImpl

java.lang.Object
  |
  +--OrgEntityRegistrationCmdImpl
        |
        +--com.ibm.commerce.usermanagement.commands.OrgEntityAddCmdImpl
All Implemented Interfaces:
OrgEntityAddCmd

public class OrgEntityAddCmdImpl
extends OrgEntityRegistrationCmdImpl
implements OrgEntityAddCmd

This command registers a new organization or organizational unit.

The information of the new organization or organizational unit is stored in the MEMBER, ORGENTITY, MBRREL and ADDRESS tables.

Use this command with SSL (Secure Sockets Layer) to ensure that the information are encrypted. To do so type the command with the HTTPS secure protocol.

The parameter URL, orgEntityName, orgEntityType and parentMemberId are mandatory. The rest of the parameters are all optional.

Behavior

Exception conditions

See Also:
Serialized Form

Field Summary
static java.lang.String CLASSNAME
          The name of this implementation of the command.
static java.lang.String COPYRIGHT
          IBM Copyright notice field.
 
Fields inherited from interface com.ibm.commerce.usermanagement.commands. OrgEntityAddCmd
NAME
 
Constructor Summary
OrgEntityAddCmdImpl()
           
 
Method Summary
 void setRequestProperties( TypedProperty reqProperties)
          Sets the request properties by calling the ProcessRequestProperties command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

CLASSNAME

public static final java.lang.String CLASSNAME
The name of this implementation of the command.
See Also:
Constant Field Values
Constructor Detail

OrgEntityAddCmdImpl

public OrgEntityAddCmdImpl()
Method Detail

setRequestProperties

public void setRequestProperties(TypedProperty reqProperties)
                          throws ECApplicationException
Sets the request properties by calling the ProcessRequestProperties command. Then calls the PreOrgEntityUpdate command to preform any preprocessing before the command is executed.
Parameters:
reqProperties - the parameters of the command.
Throws:
ECException - If there is a problem with invalid or missing parameters or there was a problem reported by the PreOrgEntityUpdate command.
ECApplicationException