com.ibm.commerce.scheduler.commands
Class GetBroadcastJobStatusCmdImpl

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

public class GetBroadcastJobStatusCmdImpl
extends ControllerCommandImpl
implements GetBroadcastJobStatusCmd

Gets the status of a broadcast Job.


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.ControllerCommand
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Fields inherited from interface com.ibm.commerce.command.ECTargetableCommand
COPYRIGHT
 
Constructor Summary
GetBroadcastJobStatusCmdImpl()
           
 
Method Summary
 java.lang.String getJobStatus()
          Gets the job status.
protected  java.lang.String getUrl()
          Gets the url to be redirected to at the end of the command.
 void performExecute()
          Gets the Broadcast Job's status.
 void setCloneId(java.lang.String strCloneId)
          Sets the clone Id.
 void setJobId(java.lang.Long lJobId)
          Sets the job Id.
 void setRequestProperties(TypedProperty reqParms)
          This method extracts the required parameters from the request properties and sets it locally in the command.
 void setUrl(java.lang.String strUrl)
          Sets the clone Id.
 
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
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, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Constructor Detail

GetBroadcastJobStatusCmdImpl

public GetBroadcastJobStatusCmdImpl()
Method Detail

getJobStatus

public java.lang.String getJobStatus()
Gets the job status.

Specified by:
getJobStatus in interface GetBroadcastJobStatusCmd
Parameters:
String - - job status

getUrl

protected java.lang.String getUrl()
Gets the url to be redirected to at the end of the command.

Returns:
String - url

performExecute

public void performExecute()
                    throws ECException
Gets the Broadcast Job's status.
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException - The exception description.

setCloneId

public void setCloneId(java.lang.String strCloneId)
Sets the clone Id.

Specified by:
setCloneId in interface GetBroadcastJobStatusCmd
Parameters:
String - - clone Id

setJobId

public void setJobId(java.lang.Long lJobId)
Sets the job Id.

Specified by:
setJobId in interface GetBroadcastJobStatusCmd
Parameters:
Long - - job id

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECException
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.
Overrides:
setRequestProperties in class ControllerCommandImpl
Parameters:
reqParms - com.ibm.commerce.datatype.TypedProperty
Throws:
ECApplicationException -  

setUrl

public void setUrl(java.lang.String strUrl)
Sets the clone Id.

Parameters:
String - - url