com.ibm.commerce.store.commands

Interface StoreCategoryUpdateCmd

  • All Superinterfaces:
    com.ibm.commerce.command.AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.commerce.command.ControllerCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.security.Protectable
    All Known Implementing Classes:
    StoreCategoryUpdateCmdImpl


    public interface StoreCategoryUpdateCmd
    extends com.ibm.commerce.command.ControllerCommand
    Changes the category to which the store belongs. StoreCategoryUpdateCmd accepts the following parameters from the User Interface:
      Mandatory parameters
    • URL - URL that is executed upon completion of the command
    • targetStoreId - string of store id
    • storeCategoryId - string of store category id

    This command first take new store category id String and updates it to the store whose store id matches the targetStoreId.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The internal copyright field.
      static java.lang.String defaultCommandClassName
      The default implementation class is "com.ibm.commerce.store.commands.StoreCategoryUpdateCmdImpl".
      static java.lang.String NAME
      The name of this interface is "com.ibm.commerce.store.commands.StoreCategoryUpdateCmd".
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void setStoreCategoryId(java.lang.Long newStoreCategoryId)
      Set the new store category id Store Id
      void setTargetStoreId(java.lang.Long newTargetStoreId)
      Sets the list of targetStoreId to be updated.
      void setURL(java.lang.String newUrl)
      Sets the URL to be redirected to when the command completes successfully.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 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, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
      • Methods inherited from interface com.ibm.commerce.security.Protectable

        fulfills, getOwner
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class is "com.ibm.commerce.store.commands.StoreCategoryUpdateCmdImpl".
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The name of this interface is "com.ibm.commerce.store.commands.StoreCategoryUpdateCmd".
        See Also:
        Constant Field Values
    • Method Detail

      • setStoreCategoryId

        void setStoreCategoryId(java.lang.Long newStoreCategoryId)
        Set the new store category id Store Id
        Parameters:
        the - store category id Long type
      • setTargetStoreId

        void setTargetStoreId(java.lang.Long newTargetStoreId)
        Sets the list of targetStoreId to be updated. Store Id
        Parameters:
        the - store id Long type
      • setURL

        void setURL(java.lang.String newUrl)
        Sets the URL to be redirected to when the command completes successfully.
        Parameters:
        the - URL string to be redirected