Class CompareSyncUtils


  • public class CompareSyncUtils
    extends java.lang.Object
    • Constructor Detail

      • CompareSyncUtils

        public CompareSyncUtils()
    • Method Detail

      • getCatalogs

        public static java.util.Map<java.lang.String,​Catalog> getCatalogs()
        method for the jsp page. Displays all catalogs in the PIM.
        Returns:
        a map with the catalog name and the item itself
      • getSyncJob

        public static java.util.Map<java.lang.String,​CatalogVersionSyncJob> getSyncJob​(Catalog cat)
        method for the jsp page. Displays all the CatalogVersionSyncJobs (not the Superclass SyncItemJob!) for the given Catalog. With this item, the synchronization can be compared. So this item is needed for starting the check.
        Parameters:
        cat - the catalog item from the previous method
        Returns:
        a map with the name of the CatalogVersionSyncJob and the item itself.
      • createHTMLResultTable

        public static java.lang.String createHTMLResultTable​(ItemCompareResult icr,
                                                             boolean fulloutput,
                                                             boolean withheader)