Class ModalUtils
java.lang.Object
de.hybris.platform.integrationbackoffice.widgets.modals.utility.ModalUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidexecuteMediaDownload(byte[] fileContent, String fileFormat, String fileName) Calls the appropriate method to download the file in the given format using the browser's download functionalitystatic voidexecuteReportDownload(InputStream stream, String fileFormat, String fileName) static booleanisAliasUnique(String alias, String qualifier, List<AbstractListItemDTO> attributes) static booleanisAlphaNumericName(String serviceName) static booleanisInboundChannelConfigNameUnique(String IntegrationObjectName, ReadService readService) Calls the appropriate method to check if an InboundChannelConfiguration with given IO has already existed.static booleanisServiceNameUnique(String serviceName, ReadService readService) static booleanisVADMCodeUnique(String code, ReadService readService)
-
Method Details
-
isAlphaNumericName
-
isServiceNameUnique
-
isAliasUnique
public static boolean isAliasUnique(String alias, String qualifier, List<AbstractListItemDTO> attributes) -
isVADMCodeUnique
-
executeMediaDownload
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[] formatfileFormat- Format that the file is saved asfileName- Name of the file
-
executeReportDownload
-
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.
-