com.ibm.commerce.scheduler.commands
Class GetJobStatusCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.ControllerCommandImpl
              com.ibm.commerce.scheduler.commands.GetJobStatusCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, GetJobStatusCmd, Protectable

Deprecated. Replaced by SchedulerStatusDataBean.
public class GetJobStatusCmdImpl
extends ControllerCommandImpl
implements GetJobStatusCmd

Gets the status of a broadcast Job.

See Also:
Serialized Form

Field Summary
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
Constructor Summary
GetJobStatusCmdImpl()
Deprecated.
Method Summary
java.lang.String getJobStatus()
Deprecated. Gets the job status.
protected java.lang.String getUrl()
Deprecated. Gets the URL to be redirected to at the end of the command.
void performExecute()
Deprecated. Gets the Scheduler Job's status.
void setJobInstanceId(java.lang.Long lJobInstanceId)
Deprecated. Sets the instance id of the particular run a of job to retrieve.
void setRequestProperties(TypedProperty reqParms)
Deprecated. This method extracts the required parameters from the request properties and sets it locally in the command.
void setUrl(java.lang.String strUrl)
Deprecated. Sets the URL to redirect to after the command executes.
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, setAccCheck
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters

Constructor Detail

GetJobStatusCmdImpl

public GetJobStatusCmdImpl()
Deprecated.
Method Detail

getJobStatus

public java.lang.String getJobStatus()
Deprecated.
Gets the job status.
Specified by:
getJobStatus in interface GetJobStatusCmd
Returns:
The status of the specified job.

getUrl

protected java.lang.String getUrl()
Deprecated.
Gets the URL to be redirected to at the end of the command.
Returns:
The URL to redirect to.

performExecute

public void performExecute()
                    throws ECException
Deprecated.
Gets the Scheduler Job's status.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException - if there is a problem retrieve the job status.

setJobInstanceId

public void setJobInstanceId(java.lang.Long lJobInstanceId)
Deprecated.
Sets the instance id of the particular run a of job to retrieve.
Specified by:
setJobInstanceId in interface GetJobStatusCmd

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECException
Deprecated.
This method extracts the required parameters from the request properties and sets it locally in the command. It throws an ECApplicationException if a required parameter is missing.
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ControllerCommandImpl
Parameters:
reqParms - the command parameters.
Throws:
ECException - if there was missing parameters.

setUrl

public void setUrl(java.lang.String strUrl)
Deprecated.
Sets the URL to redirect to after the command executes.

Feedback