java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modals.utility.ModalUtils

public final class ModalUtils extends Object
  • Method Details

    • isAlphaNumericName

      public static boolean isAlphaNumericName(String serviceName)
    • isServiceNameUnique

      public static boolean isServiceNameUnique(String serviceName, ReadService readService)
    • isAliasUnique

      public static boolean isAliasUnique(String alias, String qualifier, List<AbstractListItemDTO> attributes)
    • isVADMCodeUnique

      public static boolean isVADMCodeUnique(String code, ReadService readService)
    • executeMediaDownload

      public static void executeMediaDownload(byte[] fileContent, String fileFormat, String fileName)
      Calls the appropriate method to download the file in the given format using the browser's download functionality
      Parameters:
      fileContent - Content of file in byte[] format
      fileFormat - Format that the file is saved as
      fileName - Name of the file
    • executeReportDownload

      public static void executeReportDownload(InputStream stream, String fileFormat, String fileName)
    • isInboundChannelConfigNameUnique

      public static boolean isInboundChannelConfigNameUnique(String IntegrationObjectName, ReadService readService)
      Calls the appropriate method to check if an InboundChannelConfiguration with given IO has already existed.
      Parameters:
      IntegrationObjectName - The IO name with which an ICC will be created.
      readService - The service used to handles the read requests.