com.ibm.commerce.emarketing.commands

Class DeleteScheduledJobTaskCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.CacheableCommandImpl
      • com.ibm.commerce.command.MeasuredCacheableCommandImpl
        • com.ibm.commerce.command.AbstractECTargetableCommand
          • com.ibm.commerce.command.TaskCommandImpl
            • com.ibm.commerce.emarketing.commands.DeleteScheduledJobTaskCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.command.TaskCommand, DeleteScheduledJobTaskCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command


    public class DeleteScheduledJobTaskCmdImpl
    extends com.ibm.commerce.command.TaskCommandImpl
    implements DeleteScheduledJobTaskCmd
    The default implementation of DeleteScheduledJobTaskCmd.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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 java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand

        accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
      • Methods inherited from interface com.ibm.commerce.command.CacheableECCommand

        execute
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

    • 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 com.ibm.commerce.command.AbstractECTargetableCommand
        Returns:
        True if the job reference number is not null; false otherwise.
      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        Performs the commands operations.
        Specified by:
        performExecute in interface com.ibm.commerce.command.ECCommand
        Overrides:
        performExecute in class com.ibm.commerce.command.AbstractECTargetableCommand
        Throws:
        com.ibm.commerce.exception.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.