public class MigrateExperimentResultCmdImpl extends TaskCommandImpl implements MigrateExperimentResultCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected static java.lang.String | SQL_DELETE_EXPRESULT_BY_EXPERIMENT_SESSION_USER
The SQL query which deletes the given experiment, session and user from the EXPRESULT table.
|
protected static java.lang.String | SQL_FIND_EXPRESULT_BY_USER
The SQL query which returns all experiment results with the given user IDs from the EXPRESULT table.
|
protected static java.lang.String | SQL_UPDATE_EXPRESULT_BY_EXPERIMENT_SESSION_USER
The SQL query which updates the given experiment, session and old user with the given user to the EXPRESULT table.
|
Constructor and Description |
---|
MigrateExperimentResultCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getOldUserId()
This method returns the old ID of the user who owns the experiment results before the user logged on.
|
java.lang.String | getSessionId()
This method returns the ID of the session with which the experiment results are associated.
|
java.lang.Long | getUserId()
This method returns the ID of the user who owns the experiment results.
|
protected void | migrateResultDuringLogon()
This method migrates experiment results during user logon.
|
void | performExecute()
This method performs the execution of this command.
|
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.
|
void | setSessionId(java.lang.String sessionId)
This method sets the ID of the session with which the experiment results are associated.
|
void | setUserId(java.lang.Long userId)
This method sets the ID of the user who owns the experiment results.
|
void | validateParameters()
This method validates all of the parameters in order, to ensure that the session ID and the user ID parameters have been set.
|
public static final java.lang.String COPYRIGHT
protected static java.lang.String SQL_FIND_EXPRESULT_BY_USER
protected static java.lang.String SQL_UPDATE_EXPRESULT_BY_EXPERIMENT_SESSION_USER
protected static java.lang.String SQL_DELETE_EXPRESULT_BY_EXPERIMENT_SESSION_USER
public java.lang.String getSessionId()
public java.lang.Long getOldUserId()
public java.lang.Long getUserId()
protected void migrateResultDuringLogon() throws ECException
public void performExecute() throws ECException
public void setSessionId(java.lang.String sessionId)
public void setOldUserId(java.lang.Long oldUserId)
public void setUserId(java.lang.Long userId)
public void validateParameters() throws ECException