com.ibm.commerce.usermanagement.commands
Class OrgEntityRegistrationAddPreApprovalCmdImpl

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

public class OrgEntityRegistrationAddPreApprovalCmdImpl
extends OrgEntityRegistrationCmdImpl
implements OrgEntityRegistrationAddPreApprovalCmd

This command is used to perform pre approval processing for organization registration.

Behavior

Exception Conditions

See Also:
Serialized Form

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
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

OrgEntityRegistrationAddPreApprovalCmdImpl

public OrgEntityRegistrationAddPreApprovalCmdImpl()
Method Detail

getEntityId

public java.lang.Long getEntityId()
Gets the entity ID.
Returns:
Long The id of the OrgEntityFlowEntityBean.
See Also:
com.ibm.commerce.ubf.commands.BusinessFlowCmd#getEntityId()

getEntityObject

public BusinessFlowEntityBean getEntityObject()
Gets the entity object.
Returns:
BusinessFlowEntityBean The OrgEntityFlowEntityBean.
See Also:
com.ibm.commerce.ubf.commands.BusinessFlowCmd#getEntityObject()

setStateIdentifier

public void setStateIdentifier(java.lang.Integer aStateIdentifier)
Sets the state identifier.
See Also:
com.ibm.commerce.ubf.commands.BusinessFlowCmd#setStateIdentifier(Integer)

getFlowContext

public java.lang.String getFlowContext()
Get the flow context.
Returns:
String The flow context.
See Also:
com.ibm.commerce.ubf.commands.BusinessFlowCmd#getFlowContext()

setFlowContext

public void setFlowContext(java.lang.String aFlowContext)
Sets the flow context.
See Also:
com.ibm.commerce.ubf.commands.BusinessFlowCmd#setFlowContext(String)

reset

public void reset()
Resets the command.
See Also:
com.ibm.sfc.cmd.Command#reset()

performExecute

public void performExecute()
                    throws ECException
Executes the command. There are two cases:

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.

Throws:
ECException
See Also:
com.ibm.sfc.cmd.TargetableCommand#performExecute()