Class ExportRequest
java.lang.Object
com.broadleafcommerce.common.dataexport.domain.ExportRequest
- All Implemented Interfaces:
Serializable
This is the request DTO which should be sent by API callers to request the creation of a
Export
.- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
ConstructorDescriptionExportRequest
(String name, String fileType, List<String> inclusions, List<String> exclusions, String parentId, String exportingSandboxId, String exportingApplicationId, String exportingCatalogId, String exportingCustomerContextId, String timeZoneId, Map<String, Object> parameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The ID of the application that that the export's data will be sourced from.The ID of the catalog that that the export's data will be sourced from.The ID of the customer context that that the export's data will be sourced from.The ID of the sandbox that the export's data will be sourced from.The type of file that the export should ultimately produce for download by the user.getName()
The name of this export.int
hashCode()
void
setExclusions
(List<String> exclusions) void
setExportingApplicationId
(String exportingApplicationId) The ID of the application that that the export's data will be sourced from.void
setExportingCatalogId
(String exportingCatalogId) The ID of the catalog that that the export's data will be sourced from.void
setExportingCustomerContextId
(String exportingCustomerContextId) The ID of the customer context that that the export's data will be sourced from.void
setExportingSandboxId
(String exportingSandboxId) The ID of the sandbox that the export's data will be sourced from.void
setFileType
(String fileType) The type of file that the export should ultimately produce for download by the user.void
setFilterString
(String filterString) void
setInclusions
(List<String> inclusions) void
The name of this export.void
setParameters
(Map<String, Object> parameters) void
setParentId
(String parentId) void
setTimeZoneId
(String timeZoneId) toString()
-
Constructor Details
-
ExportRequest
public ExportRequest(@Nullable String name, String fileType, List<String> inclusions, List<String> exclusions, @Nullable String parentId, @Nullable String exportingSandboxId, @Nullable String exportingApplicationId, @Nullable String exportingCatalogId, @Nullable String exportingCustomerContextId, @Nullable String timeZoneId, Map<String, Object> parameters) -
ExportRequest
public ExportRequest()
-
-
Method Details
-
getName
The name of this export. If this is leftnull
, a name will be generated with the following format:$target + " - " + $timestamp
- See Also:
-
Export.name
Export.target
-
getFileType
The type of file that the export should ultimately produce for download by the user.- See Also:
-
Export.fileType
-
getInclusions
- See Also:
-
Export.inclusions
-
getExclusions
- See Also:
-
Export.exclusions
-
getParentId
- See Also:
-
getExportingSandboxId
The ID of the sandbox that the export's data will be sourced from.If not supplied, the value will be sourced from the request's
ContextInfo
. -
getExportingApplicationId
The ID of the application that that the export's data will be sourced from.If not supplied, the value will be sourced from the request's
ContextInfo
. -
getExportingCatalogId
The ID of the catalog that that the export's data will be sourced from.If not supplied, the value will be sourced from the request's
ContextInfo
. -
getExportingCustomerContextId
The ID of the customer context that that the export's data will be sourced from.If not supplied, the value will be sourced from the request's
ContextInfo
. -
getTimeZoneId
- See Also:
-
getFilterString
- See Also:
-
getParameters
- See Also:
-
setName
The name of this export. If this is leftnull
, a name will be generated with the following format:$target + " - " + $timestamp
- See Also:
-
Export.name
Export.target
-
setFileType
The type of file that the export should ultimately produce for download by the user.- See Also:
-
Export.fileType
-
setInclusions
- See Also:
-
Export.inclusions
-
setExclusions
- See Also:
-
Export.exclusions
-
setParentId
- See Also:
-
setExportingSandboxId
The ID of the sandbox that the export's data will be sourced from.If not supplied, the value will be sourced from the request's
ContextInfo
. -
setExportingApplicationId
The ID of the application that that the export's data will be sourced from.If not supplied, the value will be sourced from the request's
ContextInfo
. -
setExportingCatalogId
The ID of the catalog that that the export's data will be sourced from.If not supplied, the value will be sourced from the request's
ContextInfo
. -
setExportingCustomerContextId
The ID of the customer context that that the export's data will be sourced from.If not supplied, the value will be sourced from the request's
ContextInfo
. -
setTimeZoneId
- See Also:
-
setFilterString
- See Also:
-
setParameters
- See Also:
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-