Class ExportRequest
- java.lang.Object
-
- fr.gouv.vitam.common.model.export.ExportRequest
-
public class ExportRequest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EXPORT_QUERY_FILE_NAME
-
Constructor Summary
Constructors Constructor Description ExportRequest()
ExportRequest(com.fasterxml.jackson.databind.JsonNode dslRequest)
ExportRequest(DataObjectVersions dataObjectVersionToExport, com.fasterxml.jackson.databind.JsonNode dslRequest, boolean withLogBookLFC)
Seda version to export is setted to default value "2.2"ExportRequest(DataObjectVersions dataObjectVersionToExport, com.fasterxml.jackson.databind.JsonNode dslRequest, boolean withLogBookLFC, java.lang.Long maxSizeThreshold, java.lang.String sedaVersion)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportRequest
from(DipRequest dipRequest)
static ExportRequest
from(TransferRequest transferRequest)
DataObjectVersions
getDataObjectVersionToExport()
com.fasterxml.jackson.databind.JsonNode
getDslRequest()
ExportRequestParameters
getExportRequestParameters()
ExportType
getExportType()
java.lang.Long
getMaxSizeThreshold()
java.lang.String
getSedaVersion()
boolean
isExportWithLogBookLFC()
void
setDataObjectVersionToExport(DataObjectVersions dataObjectVersionToExport)
void
setDslRequest(com.fasterxml.jackson.databind.JsonNode dslRequest)
void
setExportRequestParameters(ExportRequestParameters exportRequestParameters)
void
setExportType(ExportType exportType)
void
setExportWithLogBookLFC(boolean exportWithLogBookLFC)
void
setMaxSizeThreshold(java.lang.Long maxSizeThreshold)
void
setSedaVersion(java.lang.String sedaVersion)
-
-
-
Field Detail
-
EXPORT_QUERY_FILE_NAME
public static final java.lang.String EXPORT_QUERY_FILE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExportRequest
public ExportRequest()
-
ExportRequest
public ExportRequest(com.fasterxml.jackson.databind.JsonNode dslRequest)
-
ExportRequest
public ExportRequest(DataObjectVersions dataObjectVersionToExport, com.fasterxml.jackson.databind.JsonNode dslRequest, boolean withLogBookLFC, java.lang.Long maxSizeThreshold, java.lang.String sedaVersion)
-
ExportRequest
public ExportRequest(DataObjectVersions dataObjectVersionToExport, com.fasterxml.jackson.databind.JsonNode dslRequest, boolean withLogBookLFC)
Seda version to export is setted to default value "2.2"- Parameters:
dataObjectVersionToExport
-dslRequest
-withLogBookLFC
-
-
-
Method Detail
-
from
public static ExportRequest from(DipRequest dipRequest)
-
from
public static ExportRequest from(TransferRequest transferRequest)
-
getDataObjectVersionToExport
public DataObjectVersions getDataObjectVersionToExport()
-
setDataObjectVersionToExport
public void setDataObjectVersionToExport(DataObjectVersions dataObjectVersionToExport)
-
getDslRequest
public com.fasterxml.jackson.databind.JsonNode getDslRequest()
-
setDslRequest
public void setDslRequest(com.fasterxml.jackson.databind.JsonNode dslRequest)
-
getExportType
public ExportType getExportType()
-
setExportType
public void setExportType(ExportType exportType)
-
getExportRequestParameters
public ExportRequestParameters getExportRequestParameters()
-
setExportRequestParameters
public void setExportRequestParameters(ExportRequestParameters exportRequestParameters)
-
isExportWithLogBookLFC
public boolean isExportWithLogBookLFC()
-
setExportWithLogBookLFC
public void setExportWithLogBookLFC(boolean exportWithLogBookLFC)
-
getMaxSizeThreshold
public java.lang.Long getMaxSizeThreshold()
-
setMaxSizeThreshold
public void setMaxSizeThreshold(java.lang.Long maxSizeThreshold)
-
getSedaVersion
public java.lang.String getSedaVersion()
-
setSedaVersion
public void setSedaVersion(java.lang.String sedaVersion)
-
-