com.ibm.commerce.usermanagement.commands

Interface OrganizationSetInSessionCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    OrganizationSetInSessionCmdImpl


    public interface OrganizationSetInSessionCmd
    extends ControllerCommand

    This command is used to switch the current active organization. The active organization enables a user to be entitled to contracts that belong to their parent organization or where they play an Organization participant role. The organization that the switch is being made to must not be locked.

    • Field Detail

      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Default command implementation class.
        See Also:
        Constant Field Values
      • ACTIVE_ORG_ID

        static final java.lang.String ACTIVE_ORG_ID
        This constant defines the OrganizationID parameter of the command.
        See Also:
        Constant Field Values
      • VIEW_NAME

        static final java.lang.String VIEW_NAME
        The view that would be forwarded to on successful execution, if a URL is not defined.
        See Also:
        Constant Field Values
      • ERRTASK_NAME

        static final java.lang.String ERRTASK_NAME
        The error view that would be forwarded to on errors.
        See Also:
        Constant Field Values
      • ROLE_ORGANIZATION_PARTICIPANT

        static final java.lang.String ROLE_ORGANIZATION_PARTICIPANT
        The Organization Participant internal role name.
        See Also:
        Constant Field Values
    • Method Detail

      • setActiveOrganizationId

        void setActiveOrganizationId(java.lang.Long nOrganizationId)
        The organization to activate in the organization.
        Parameters:
        nOrganizationId - The active organization.