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
ConstructorsConstructorDescriptionExportRequest(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 booleanbooleanThe 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.inthashCode()voidsetExclusions(List<String> exclusions) voidsetExportingApplicationId(String exportingApplicationId) The ID of the application that that the export's data will be sourced from.voidsetExportingCatalogId(String exportingCatalogId) The ID of the catalog that that the export's data will be sourced from.voidsetExportingCustomerContextId(String exportingCustomerContextId) The ID of the customer context that that the export's data will be sourced from.voidsetExportingSandboxId(String exportingSandboxId) The ID of the sandbox that the export's data will be sourced from.voidsetFileType(String fileType) The type of file that the export should ultimately produce for download by the user.voidsetFilterString(String filterString) voidsetInclusions(List<String> inclusions) voidThe name of this export.voidsetParameters(Map<String, Object> parameters) voidsetParentId(String parentId) voidsetTimeZoneId(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.nameExport.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.nameExport.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
-