com.ibm.commerce.contract.catalogfilter.beans

Class CatalogFilterListDataBeanCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.CacheableCommandImpl
      • com.ibm.commerce.command.MeasuredCacheableCommandImpl
        • com.ibm.commerce.command.AbstractECTargetableCommand
          • com.ibm.commerce.command.DataBeanCommandImpl
            • com.ibm.commerce.contract.catalogfilter.beans.CatalogFilterListDataBeanCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.DataBeanCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.command.TargetableECCommand, CatalogFilterListDataBeanCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.TargetableCommand


    public class CatalogFilterListDataBeanCmdImpl
    extends com.ibm.commerce.command.DataBeanCommandImpl
    implements CatalogFilterListDataBeanCmd
    This is the data bean command implementation for the list data bean CatalogFilterListDataBean.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CATALOG_FILTER_TC_ID_PROPERTY
      This is the catalog filter property for that is used to get the identifier.
      static java.lang.String CATALOG_FILTER_TC_SUBTYPE
      This is the term and condition sub-type name for catalog filter.
      • Fields inherited from class com.ibm.commerce.command.DataBeanCommandImpl

        emptyString, EURO_CODE
      • Fields inherited from interface com.ibm.commerce.command.TargetableECCommand

        defaultCommandClassName
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.ArrayList getCatalogFilters(java.util.ArrayList storeIds, java.lang.Long contractId, java.lang.Long catalogId)
      This method returns the catalog filters for the given parameters.
      void performExecute()
      This method executes the main business logic of this command implementation.
      void reset()
      This method resets the command fields.
      • Methods inherited from class com.ibm.commerce.command.DataBeanCommandImpl

        getDataBean, populateDataBeanCommand, setDataBean, setRequestProperties
      • 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, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
      • Methods inherited from interface com.ibm.commerce.command.TargetableECCommand

        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

      • CATALOG_FILTER_TC_ID_PROPERTY

        public static final java.lang.String CATALOG_FILTER_TC_ID_PROPERTY
        This is the catalog filter property for that is used to get the identifier.
        See Also:
        Constant Field Values
      • CATALOG_FILTER_TC_SUBTYPE

        public static final java.lang.String CATALOG_FILTER_TC_SUBTYPE
        This is the term and condition sub-type name for catalog filter.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CatalogFilterListDataBeanCmdImpl

        public CatalogFilterListDataBeanCmdImpl()
        The default constructor.
    • Method Detail

      • getCatalogFilters

        public java.util.ArrayList getCatalogFilters(java.util.ArrayList storeIds,
                                                     java.lang.Long contractId,
                                                     java.lang.Long catalogId)
                                              throws com.ibm.commerce.exception.ECException
        This method returns the catalog filters for the given parameters.
        Parameters:
        storeIds -
        contractId -
        catalogId -
        Returns:
        The catalog filters
        Throws:
        com.ibm.commerce.exception.ECException
      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        This method executes the main business logic of this command implementation.
        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
      • reset

        public void reset()

        This method resets the command fields.

        After this method is invoked, and proper attributes are set, the command can be executed again.

        Overrides:
        reset in class com.ibm.commerce.command.AbstractECTargetableCommand