com.ibm.commerce.scheduler.commands
Class AddBroadcastJobCmdImpl

com.ibm.commerce.command.AbstractECTargetableCommand
  |
  +--com.ibm.commerce.command.ControllerCommandImpl
        |
        +--com.ibm.commerce.scheduler.commands.AddJobCmdImpl
              |
              +--com.ibm.commerce.scheduler.commands.AddBroadcastJobCmdImpl
All Implemented Interfaces:
AccCommand, AddBroadcastJobCmd, AddJobCmd, ControllerCommand, ECCommand, ECTargetableCommand, Protectable

public class AddBroadcastJobCmdImpl
extends AddJobCmdImpl
implements AddBroadcastJobCmd

Add a broadcast job to scheduler table.


Field Summary
static java.lang.String COPYRIGHT
           
 
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.AddBroadcastJobCmd
defaultCommandClassName, NAME, URLNAME
 
Fields inherited from interface com.ibm.commerce.scheduler.commands.AddJobCmd
defaultCommandClassName, NAME
 
Constructor Summary
AddBroadcastJobCmdImpl()
          AddBroadcastJobCmdImpl constructor.
 
Method Summary
 void setRequestProperties(TypedProperty reqParms)
          This method extracts the required parameters from the request properties and sets it locally in the command.
 void validateParameters()
          Checks the validity of the parameters
 
Methods inherited from class com.ibm.commerce.scheduler.commands.AddJobCmdImpl
convertTime, getApplicationType, getAttempts, getCheckCommandId, getDelay, getEndTime, getErrorUrl, getHost, getInterfaceName, getInterval, getJobId, getJobInstanceId, getName, getPathInfo, getPriority, getQueryString, getResources, getSequence, getStartTime, getStoreId, getStringEndTime, getStringStartTime, getUrl, getUserRefNum, performExecute, setApplicationType, setAttempts, setCheckCommandId, setDelay, setEndTime, setErrorUrl, setHost, setInterfaceName, setInterval, setJobId, setJobInfo, setName, setPathInfo, setPriority, setQueryString, setSequence, setStartTime, setStoreId, setStringEndTime, setStringStartTime, setUrl, setUserRefNum
 
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, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from interface com.ibm.commerce.scheduler.commands.AddBroadcastJobCmd
getJobId, getJobInstanceId, setName, setPathInfo, setQueryString, setUrl, setUserRefNum
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

AddBroadcastJobCmdImpl

public AddBroadcastJobCmdImpl()
AddBroadcastJobCmdImpl constructor.
Method Detail

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.
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class AddJobCmdImpl
Parameters:
reqParms - com.ibm.commerce.datatype.TypedProperty
Throws:
ECApplicationException -  

validateParameters

public void validateParameters()
                        throws ECException
Checks the validity of the parameters
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AddJobCmdImpl
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
ECException. -