use of com.opentext.ia.sdk.dto.export.ExportConfiguration.Transformation in project infoarchive-sip-sdk by Enterprise-Content-Management.
the class PropertiesBasedConfigurer method createTenantLevelExportConfiguration.
private ExportConfiguration createTenantLevelExportConfiguration(String name) {
ExportConfiguration result = createObject(name, ExportConfiguration.class);
result.setDescription("configurations");
result.setExportType("ASYNCHRONOUS");
result.setPipeline(cache.getObjectUri(TYPE_EXPORT_PIPELINE, "search-results-csv-gzip"));
ExportConfiguration.Transformation transformation = new ExportConfiguration.Transformation();
transformation.setPortName("stylesheet");
transformation.setName(cache.getObjectUri(TYPE_EXPORT_TRANSFORMATION, "csv_xsl"));
addTransformation(result, transformation);
addOption(result, ExportConfiguration.DefaultOption.XSL_RESULT_FORMAT, "csv");
return result;
}
use of com.opentext.ia.sdk.dto.export.ExportConfiguration.Transformation in project infoarchive-sip-sdk by Enterprise-Content-Management.
the class PropertiesBasedApplicationConfigurer method createTenantLevelExportConfiguration.
private ExportConfiguration createTenantLevelExportConfiguration(String name) {
ExportConfiguration result = createObject(name, ExportConfiguration.class);
result.setDescription("configurations");
result.setExportType("ASYNCHRONOUS");
result.setPipeline(cache.getObjectUri(TYPE_EXPORT_PIPELINE, "search-results-csv-gzip"));
ExportConfiguration.Transformation transformation = new ExportConfiguration.Transformation();
transformation.setPortName("stylesheet");
transformation.setName(cache.getObjectUri(TYPE_EXPORT_TRANSFORMATION, "csv_xsl"));
addTransformation(result, transformation);
addOption(result, ExportConfiguration.DefaultOption.XSL_RESULT_FORMAT, "csv");
return result;
}
Aggregations