Class InsertMorePromotionCodeFileUploadJobDataCmdImpl

  • All Implemented Interfaces:

    public class InsertMorePromotionCodeFileUploadJobDataCmdImpl
    extends AbstractInsertMoreNounDataCmdImpl
    If user imports the code with some error such as duplicate promotion code in CSV file or duplicate promotion code in the Database, this command will format the code generate report information and make it readable. And the return information is customizable, user just need to override the getFormateProcessInfo() method to have a new type of format.
    See Also:
    Serialized Form
    • Field Summary

      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
      • Fields inherited from class

      • Fields inherited from interface

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getFormatProcessInfo()
      Format the processInfo.
      void performExecute()
      Get the process information and print to the console.
      • Methods inherited from class

        execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
      • Methods inherited from class

        getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface

      • Methods inherited from interface

        getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
    • Field Detail


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

      • InsertMorePromotionCodeFileUploadJobDataCmdImpl

        public InsertMorePromotionCodeFileUploadJobDataCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws java.lang.Exception
        Get the process information and print to the console.
        Specified by:
        performExecute in interface
        Specified by:
        performExecute in class
        See Also:
      • getFormatProcessInfo

        public java.lang.String getFormatProcessInfo()
        Format the processInfo. It will use the errorType and the errorCodeList to build the error information String and return.
        Formated processInfo string.