java.lang.Object | +--OrgEntityRegistrationCmdImpl | +--com.ibm.commerce.usermanagement.commands.OrgEntityRegistrationAddPreApprovalCmdImpl
This command is used to perform pre approval processing for organization registration.
Behavior
PostOrgEntityUpdateCmd
will then be invoked.PostOrgEntityAddCmd
will then be
invoked.Exception Conditions
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Fields inherited from interface com.ibm.commerce.usermanagement.commands. OrgEntityRegistrationAddPreApprovalCmd |
NAME |
Constructor Summary | |
---|---|
OrgEntityRegistrationAddPreApprovalCmdImpl() |
Method Summary | |
---|---|
java.lang.Long |
getEntityId() Gets the entity ID. |
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. |
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
Constructor Detail |
---|
public OrgEntityRegistrationAddPreApprovalCmdImpl()
Method Detail |
---|
public java.lang.Long getEntityId()
com.ibm.commerce.ubf.commands.BusinessFlowCmd#getEntityId()
public BusinessFlowEntityBean getEntityObject()
com.ibm.commerce.ubf.commands.BusinessFlowCmd#getEntityObject()
public void setStateIdentifier(java.lang.Integer aStateIdentifier)
com.ibm.commerce.ubf.commands.BusinessFlowCmd#setStateIdentifier(Integer)
public java.lang.String getFlowContext()
com.ibm.commerce.ubf.commands.BusinessFlowCmd#getFlowContext()
public void setFlowContext(java.lang.String aFlowContext)
com.ibm.commerce.ubf.commands.BusinessFlowCmd#setFlowContext(String)
public void reset()
com.ibm.sfc.cmd.Command#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.
ECException
com.ibm.sfc.cmd.TargetableCommand#performExecute()