com.ibm.commerce.emarketing.commands
Class DeleteScheduledJobTaskCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.TaskCommandImpl
              com.ibm.commerce.emarketing.commands.DeleteScheduledJobTaskCmdImpl
All Implemented Interfaces:
DeleteScheduledJobTaskCmd, ECCommand, ECTargetableCommand, TaskCommand

public class DeleteScheduledJobTaskCmdImpl
extends TaskCommandImpl
implements DeleteScheduledJobTaskCmd

the default implementation of DeleteScheduledJobTaskCmd.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
Copyright.
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
Fields inherited from interface com.ibm.commerce.emarketing.commands.DeleteScheduledJobTaskCmd
defaultCommandClassName
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
Constructor Summary
DeleteScheduledJobTaskCmdImpl()
Method Summary
boolean isReadyToCallExecute()
Checks to see if the command is ready to execute.
void performExecute()
Performs the commands operations.
void setJobReferenceNumber(java.lang.Long jobReferenceNumber)
Sets the job reference number of the scheduled job to be deleted
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, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
Constructor Detail

DeleteScheduledJobTaskCmdImpl

public DeleteScheduledJobTaskCmdImpl()
Method Detail

isReadyToCallExecute

public boolean isReadyToCallExecute()
Checks to see if the command is ready to execute.
Overrides:
isReadyToCallExecute in class AbstractECTargetableCommand
Returns:
true if the job reference number is not null; false otherwise.

performExecute

public void performExecute()
                    throws ECException
Performs the commands operations.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException - Thrown when the RemoveJobCmd command cannot successfully remove the assigned job.

setJobReferenceNumber

public void setJobReferenceNumber(java.lang.Long jobReferenceNumber)
Sets the job reference number of the scheduled job to be deleted
Specified by:
setJobReferenceNumber in interface DeleteScheduledJobTaskCmd
Parameters:
jobReferenceNumber - the ID of the job to be deleted.

Feedback