Interface MigrateExperimentResultCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface MigrateExperimentResultCmd
    extends TaskCommand
    This command is used to migrate experiment results. By default, this command is invoked when a customer logs on to the site, and the experiment result that is associated with the current session is migrated and associated with the customer. By doing this, the content generated by the experiment remains the same after the customer logs on. This is required if the persistency of the experiment result is scoped to the lifetime of the experiment.
    • Field Detail


        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        defaultCommandClassName is the default implementation class used by the command factory to instantiate this command if the interface is not defined in the CMDREG table.
        See Also:
        Constant Field Values
    • Method Detail

      • setSessionId

        void setSessionId(java.lang.String sessionId)
        This method sets the ID of the session that the experiment results are associated with.
        sessionId - The ID of the session.
      • setOldUserId

        void setOldUserId(java.lang.Long oldUserId)
        This method sets the old ID of the user who owns the experiment results before the user logged on.
        userId - The old ID of the user.
      • setUserId

        void setUserId(java.lang.Long userId)
        This method sets the ID of the user who owns the experiment results.
        userId - The ID of the user.