com.ibm.commerce.scheduler.commands
Class GetBroadcastJobStatusCmdImpl

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

Deprecated. Replaced by SchedulerStatusDataBean.
public class GetBroadcastJobStatusCmdImpl
extends ControllerCommandImpl
implements GetBroadcastJobStatusCmd

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.scheduler.commands.GetBroadcastJobStatusCmd
defaultCommandClassName
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
Constructor Summary
GetBroadcastJobStatusCmdImpl()
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 Broadcast Job's status based on the specified job reference number and cloneId.
void setCloneId(java.lang.String strCloneId)
Deprecated. Sets the clone Id.
void setJobId(java.lang.Long lJobId)
Deprecated. Sets the broadcast job reference number.
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 completes.
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

GetBroadcastJobStatusCmdImpl

public GetBroadcastJobStatusCmdImpl()
Deprecated.
Method Detail

getJobStatus

public java.lang.String getJobStatus()
Deprecated.
Gets the job status.
Specified by:
getJobStatus in interface GetBroadcastJobStatusCmd
Returns:
the status of the broadcast 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 after the command completes.

performExecute

public void performExecute()
                    throws ECException
Deprecated.
Gets the Broadcast Job's status based on the specified job reference number and cloneId. and puts it into the response properties.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException - if there was a problem retrieving the record.

setCloneId

public void setCloneId(java.lang.String strCloneId)
Deprecated.
Sets the clone Id.
Specified by:
setCloneId in interface GetBroadcastJobStatusCmd
Parameters:
strCloneId - the clone id of the scheduler clone instance .

setJobId

public void setJobId(java.lang.Long lJobId)
Deprecated.
Sets the broadcast job reference number.
Specified by:
setJobId in interface GetBroadcastJobStatusCmd

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 properties.
Throws:
ECException - if there is missing command parameters.

setUrl

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

Feedback