| Constructor and Description |
|---|
InstallationPackageImportExportService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canImportInstallationPackages() |
InputStream |
exportInstallationPackages(Iterable<InstallationPackage> installationPackages)
Exports installation packages cables to an Excel spreadsheet.
|
LoaderResult<InstallationPackage> |
importInstallationPackages(InputStream inputStream)
Imports installation packages from Excel spreadsheet.
|
LoaderResult<InstallationPackage> |
importInstallationPackages(InputStream inputStream,
boolean test)
Imports installation packages from Excel spreadsheet.
|
public InstallationPackageImportExportService()
public LoaderResult<InstallationPackage> importInstallationPackages(InputStream inputStream)
inputStream - the input stream representing the Excel fileIllegalStateException - if current user does not have permission for this actionpublic LoaderResult<InstallationPackage> importInstallationPackages(InputStream inputStream, boolean test)
inputStream - the input stream representing the Excel filetest - if true, only a test whether the import would succeed is performed,
and no installation packages are importedIllegalStateException - if current user does not have permission for this actionpublic InputStream exportInstallationPackages(Iterable<InstallationPackage> installationPackages)
installationPackages - the installation packages to exportIllegalStateException - if current user does not have permission for this actionpublic boolean canImportInstallationPackages()
Copyright © 2025 European Spallation Source. All rights reserved.