Class ApplicationExportTemplate

java.lang.Object
com.aquima.interactions.test.templates.ApplicationExportTemplateBase
com.aquima.interactions.test.templates.ApplicationExportTemplate
All Implemented Interfaces:
IApplicationTemplate

public final class ApplicationExportTemplate extends ApplicationExportTemplateBase
  • Method Details

    • createWithZipExport

      public static ApplicationExportTemplate createWithZipExport(com.aquima.interactions.foundation.io.IResource export)
      This method can be used to create an ApplicationExportTemplate with a zip export file.
      Parameters:
      export - The zip export file
      Returns:
      The application export template, never null
    • createWithDatasource

      public static ApplicationExportTemplate createWithDatasource(com.aquima.interactions.portal.ds.IApplicationDS datasource)
      This method can be used to create an ApplicationExportTemplate based on an application datasource.
      Parameters:
      datasource - The application datasource, may not be null.
      Returns:
      The application export template, never null
    • createWithDatasource

      public static ApplicationExportTemplate createWithDatasource(com.aquima.interactions.portal.ds.IPortalEngineDS datasource, com.aquima.interactions.foundation.ApplicationID applicationId)
      This method can be used to create an ApplicationExportTemplate based on an portal engine datasource.
      Parameters:
      datasource - The portal engine datasource, may not be null.
      applicationId - The application that should be loaded from the datasource, may be null when the datasource provides only one application.
      Returns:
      The application export template, never null
    • createWithStudioConnectionWithBasicAuthentication

      public static ApplicationExportTemplate createWithStudioConnectionWithBasicAuthentication(String name, String branchName, String repositoryName, String url, String username, String password)
      Constructs an application export template with the content of a release 8 studio repository with basic authentication.
      Parameters:
      name - The name of the application, may not be null or empty.
      branchName - The name of the branch, may not be null or empty.
      repositoryName - The name of the repository, may not be null or empty.
      url - Url to the studio repository, may not be null or empty.
      username - Username needed to connect to the studio repository, may not be null.
      password - Password needed to connect to the studio repository, may not be null.
      Returns:
      The application template that uses the Studio repository to retrieve its data, never null.
      Since:
      9.0
    • createWithStudioConnectionWithCustomConnection

      public static ApplicationExportTemplate createWithStudioConnectionWithCustomConnection(String name, String branchName, String repositoryName, com.aquima.interactions.foundation.connectivity.ISoapConnection connection)
      Constructs an application export template with the content of a release 8 studio repository with a custom soap connection.
      Parameters:
      name - The name of the application, may not be null or empty.
      branchName - The name of the branch, may not be null or empty.
      repositoryName - The name of the repository, may not be null or empty.
      connection - The custom soap connection, may not be null or empty.
      Returns:
      The application template that uses the Studio repository to retrieve its data, never null.
      Since:
      9.0