com.ibm.commerce.store.commands

Class SaveReportDeliverySettingsCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.CacheableCommandImpl
      • com.ibm.commerce.command.MeasuredCacheableCommandImpl
        • com.ibm.commerce.command.AbstractECTargetableCommand
          • com.ibm.commerce.command.ControllerCommandImpl
            • com.ibm.commerce.tools.command.ToolsControllerCommandImpl
              • com.ibm.commerce.store.commands.SaveReportDeliverySettingsCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.AccCommand, com.ibm.commerce.command.ControllerCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.security.Protectable, SaveReportDeliverySettingsCmd, com.ibm.commerce.tools.command.ToolsControllerCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command


    public class SaveReportDeliverySettingsCmdImpl
    extends com.ibm.commerce.tools.command.ToolsControllerCommandImpl
    implements SaveReportDeliverySettingsCmd
    Saves the commerce report delivery settings. The delivery settings are used to determine when the commerce reports will be sent to the store.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The copyright statement.
      • Fields inherited from interface com.ibm.commerce.command.ECCommand

        defaultCommandClassName
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getFiscalYear()
      Get the fiscal year for the store.
      java.lang.String getFormat()
      Get the format for the report.
      java.lang.String getFrequency()
      Get the frequency for the report.
      java.util.Hashtable getNLS()
      Get the NLS messages hashtable.
      java.lang.String getRedirectURL()
      Get the redirect url.
      com.ibm.commerce.accesscontrol.AccessVector getResources()
      Gets the access vector accessed by this command.
      java.lang.String getXmlFile()
      Get the xmlFile to return to when the command has completed.
      void performExecute()
      Business logic of the command to send the message type using the messaging subsystem.
      void setFiscalYear(java.lang.String newFiscalYear)
      Set the fiscal year for the store.
      void setFormat(java.lang.String newFormat)
      Set the format of the report.
      void setFrequency(java.lang.String newFrequency)
      Set the frequency for the report.
      void setNLS(java.util.Hashtable newNLS)
      Set the NLS hashtable.
      void setRedirectURL(java.lang.String newURL)
      Set the redirect url.
      void setXmlFile(java.lang.String newXmlFile)
      Set XML file.
      void validateParameters()
      This method gets XMLObject from the GUI Dialog and get ready to parse it.
      • Methods inherited from class java.lang.Object

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

        getViewInputProperties, setRequestProperties
      • Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl

        checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
      • Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand

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

        checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
      • Methods inherited from interface com.ibm.commerce.command.AccCommand

        accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
      • Methods inherited from interface com.ibm.commerce.security.Protectable

        fulfills, getOwner
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The copyright statement.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SaveReportDeliverySettingsCmdImpl

        public SaveReportDeliverySettingsCmdImpl()
    • Method Detail

      • getFiscalYear

        public java.lang.String getFiscalYear()
        Get the fiscal year for the store.
        Returns:
        The fiscal year (i.e. MM/DD)
      • getFormat

        public java.lang.String getFormat()
        Get the format for the report.
        Returns:
        The format
      • getFrequency

        public java.lang.String getFrequency()
        Get the frequency for the report.
        Returns:
        The frequency
      • getNLS

        public java.util.Hashtable getNLS()
        Get the NLS messages hashtable.
        Returns:
        The messages hashtable
      • getRedirectURL

        public java.lang.String getRedirectURL()
        Get the redirect url.
        Returns:
        The redirect url
      • getResources

        public com.ibm.commerce.accesscontrol.AccessVector getResources()
                                                                 throws com.ibm.commerce.exception.ECException
        Gets the access vector accessed by this command. The default implementation returns null indicating that no protectable resource is accessed by this command.

        Specified by:
        getResources in interface com.ibm.commerce.command.ECCommand
        Overrides:
        getResources in class com.ibm.commerce.command.AbstractECTargetableCommand
        Returns:
        A vector of resource action pairs used by the command.
        Throws:
        com.ibm.commerce.exception.ECException
      • getXmlFile

        public java.lang.String getXmlFile()
        Get the xmlFile to return to when the command has completed.
        Returns:
        The xmlFile of the tool widget
      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        Business logic of the command to send the message type using the messaging subsystem.
        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
      • setFiscalYear

        public void setFiscalYear(java.lang.String newFiscalYear)
        Set the fiscal year for the store.
        Parameters:
        newFiscalYear - The fiscal year of the store.
      • setFormat

        public void setFormat(java.lang.String newFormat)
        Set the format of the report.
        Parameters:
        newFormat - The format of the report.
      • setFrequency

        public void setFrequency(java.lang.String newFrequency)
        Set the frequency for the report.
        Parameters:
        newFrequency - The frequency of the report.
      • setNLS

        public void setNLS(java.util.Hashtable newNLS)
        Set the NLS hashtable.
        Parameters:
        newNLS - The hashtable with NLS messages
      • setRedirectURL

        public void setRedirectURL(java.lang.String newURL)
        Set the redirect url.
        Parameters:
        newURL - The redirect url.
      • setXmlFile

        public void setXmlFile(java.lang.String newXmlFile)
        Set XML file.
        Parameters:
        newXMLFile - The XML file used.
      • validateParameters

        public void validateParameters()
                                throws com.ibm.commerce.exception.ECException
        This method gets XMLObject from the GUI Dialog and get ready to parse it.
        Specified by:
        validateParameters in interface com.ibm.commerce.command.ECCommand
        Overrides:
        validateParameters in class com.ibm.commerce.command.AbstractECTargetableCommand
        Throws:
        com.ibm.commerce.exception.ECException - If cannot parse the XMLObject, throw ECApplicationException