com.ibm.commerce.pagelayout.facade.server.commands

Class PageDesignEMarketingSpotListTaskCmdImpl

    • Field Detail

      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The class name.
    • Constructor Detail

      • PageDesignEMarketingSpotListTaskCmdImpl

        public PageDesignEMarketingSpotListTaskCmdImpl()
    • Method Detail

      • setPageDesign

        public void setPageDesign(com.ibm.commerce.pagelayout.facade.datatypes.PageDesignType pageDesignType)
        Sets the pageDesign for which list of eSpots will be generated.
        Specified by:
        setPageDesign in interface PageDesignEMarketingSpotListTaskCmd
        Parameters:
        pageDesignType -
      • getPageDesignContributingESpotsHierarchy

        public java.util.List<java.util.List<java.lang.String>> getPageDesignContributingESpotsHierarchy()
        Return list of eSpots associated with pageDesign object in hierarchical manner.
        Specified by:
        getPageDesignContributingESpotsHierarchy in interface PageDesignEMarketingSpotListTaskCmd
        Returns:
        List of eSpots in hierarchical structure.
      • performExecute

        public void performExecute()
                            throws ECException
        Executes the task command if pageDesign object is set. Identifies the list of eSpots associated with the pageDesign object and builds hierarchical as well as flat list of eSpots which needs to be evaluated to find the layout associated with pageDesign.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException