Interface OrganizationSetInSessionCmd

  • All Superinterfaces:
    AccCommand,,,, ControllerCommand, ECCommand, Protectable,,
    All Known Implementing Classes:

    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

        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

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

        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.
        nOrganizationId - The active organization.