public class OrgEntityRegistrationAddPreApprovalCmdImpl extends OrgEntityRegistrationCmdImpl implements OrgEntityRegistrationAddPreApprovalCmd, ECUserConstants
Behavior
Exception Conditions
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
OrgEntityRegistrationAddPreApprovalCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getEntityId()
Gets the entity ID.
|
com.ibm.commerce.ubf.beans.BusinessFlowEntityBean | getEntityObject()
Gets the entity object.
|
java.lang.String | getFlowContext()
Get the flow context.
|
void | performExecute()
Executes the command.
|
void | reset()
Resets the command.
|
void | setFlowContext(java.lang.String aFlowContext)
Sets the flow context.
|
void | setStateIdentifier(java.lang.Integer aStateIdentifier)
Sets the state identifier.
|
public static final java.lang.String COPYRIGHT
public OrgEntityRegistrationAddPreApprovalCmdImpl()
public java.lang.Long getEntityId()
public com.ibm.commerce.ubf.beans.BusinessFlowEntityBean getEntityObject()
public void setStateIdentifier(java.lang.Integer aStateIdentifier)
public java.lang.String getFlowContext()
public void setFlowContext(java.lang.String aFlowContext)
public void reset()
public void performExecute() throws ECException
CASE 1: Creating new organization. The new organization is created, roles assigned, and the PostOrgEntityAddCmd is executed. The new organization is assigned the state of PENDING APPROVAL.
CASE 2: Updating existing organization. The organization is updated with any new properties submitted, and the PostOrgEntityUpdateCmd is executed.