com.ibm.commerce.pagelayout.dataload.helper

Class LayoutDataLoadHelper

  • java.lang.Object
    • com.ibm.commerce.pagelayout.dataload.helper.LayoutDataLoadHelper
    • Method Detail

      • constructLayoutWebActivityName

        public static java.lang.String constructLayoutWebActivityName(java.lang.String pageGroupType,
                                                                      java.lang.String pageID,
                                                                      java.lang.String identifier)
        This method constructs the activity name based on the parameters specified. By default, the layout web activity uses the CurrentTime as the name.
        Parameters:
        pageGroupType - The pageGroup type
        pageID - The ID of the page
        identifier - The identifier
        Returns:
        The name of the web activity.
      • isSEOURLPatternFeatureEnabled

        public static boolean isSEOURLPatternFeatureEnabled(java.lang.Integer storeId)
        Checks whether SEO is enabled for the store
        Parameters:
        storeId - The store ID
        Returns:
        true: SEO is enabled
        false: SEO is disabled or not enabled
      • parseSEOLoadingParameters

        public static void parseSEOLoadingParameters()
                                              throws javax.xml.parsers.ParserConfigurationException,
                                                     org.xml.sax.SAXException,
                                                     java.io.IOException
        This method parse the component configuration file to get SEO loading parameters.
        Throws:
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
        java.io.IOException
      • resolveIdentifierByStoreID

        public static java.lang.String resolveIdentifierByStoreID(java.lang.String storeId)
        Resolves the identifier (IDENTIFIER column of STOREENT table) according to store id (STOREENT_ID column of STOREENT table). If store id is null, empty string or cannot be resolved, null will be returned.
        Parameters:
        storeId - the store id
        Returns:
        the identifier of the store