com.ibm.commerce.usermanagement.commands
Interface OrgEntityUpdateCmd
- All Known Implementing Classes:
-
OrgEntityUpdateCmdImpl
- public interface OrgEntityUpdateCmd
This command updates information about an 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, orgEntityId are mandatory. The rest of the
parameters are all optional.
Behavior
- Calls an empty task command PreOrgEntityUpdateCmd. Store Developers
can overwrite it change the input to the command.
- Check the required parameters.
- Calls a task command AuditOrgEntityCmd to perform additional
parameter checking. Store Developers need to add new code to AuditAddressCmd
task command if they want to customize the check.
- If any field related to ADDRESS table is specified, the self address (also
called register address, with selfAddress field set to '1' and
nickname is same as logonId) will also be updated. The old address will be
marked as 'T' (temporary) and a new record will be created in the
ADDRESS table.
- If the command fails, the OrgEntityErrorView view command is called.
Upon successful completion, the specified URL is called.
- Calls an empty task command PostOrgEntityAddCmd. Store Developers
can overwrite it to perform additional operations.
Exception conditions
- URL is null (_ERR_CMD_MISSING_PARAM).
- The length of URL length equals 0 (_ERR_CMD_INVALID_PARAM).
- orgEntityId is null (_ERR_CMD_MISSING_PARAM).
- orgEntityId is not a foreign key set to the ORGENTITY table
(_ERR_CMD_INVALID_PARAM).
- orgEntityName is null (_ERR_CMD_MISSING_PARAM).
- orgEntityName is not null but the its length equals 0
(_ERR_CMD_INVALID_PARAM).
Field Summary |
static java.lang.String |
COPYRIGHT
IBM Copyright notice field. |
static java.lang.String |
NAME
The name of this command. |
COPYRIGHT
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