Class BulkUpdateRequest
java.lang.Object
com.broadleafcommerce.bulk.domain.BulkUpdateRequest
- All Implemented Interfaces:
Serializable
This is the request DTO which should be sent by API callers to request the creation of a
BulkUpdate.- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBulkUpdateRequest(String name, String updatingSandboxName, String type, List<String> inclusions, List<String> exclusions, String payload, String updatingApplicationId, String updatingCustomerContextId, String updatingCatalogId, boolean productionBulkUpdate) Manual constructor to utilizeJsonDeserializeforpayload. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetName()getType()The ID of the application in which the update will be applied.The ID of the catalog in which the update will be applied.The ID of the customer context in which the update will be applied.inthashCode()booleanvoidsetExclusions(List<String> exclusions) voidsetInclusions(List<String> inclusions) voidvoidsetPayload(String payload) voidsetProductionBulkUpdate(boolean productionBulkUpdate) voidvoidsetUpdatingApplicationId(String updatingApplicationId) The ID of the application in which the update will be applied.voidsetUpdatingCatalogId(String updatingCatalogId) The ID of the catalog in which the update will be applied.voidsetUpdatingCustomerContextId(String updatingCustomerContextId) The ID of the customer context in which the update will be applied.voidsetUpdatingSandboxName(String updatingSandboxName) toString()
-
Constructor Details
-
BulkUpdateRequest
public BulkUpdateRequest(String name, @Nullable String updatingSandboxName, String type, List<String> inclusions, List<String> exclusions, String payload, String updatingApplicationId, String updatingCustomerContextId, String updatingCatalogId, boolean productionBulkUpdate) Manual constructor to utilizeJsonDeserializeforpayload. -
BulkUpdateRequest
public BulkUpdateRequest()
-
-
Method Details
-
getName
- See Also:
-
BulkUpdate.name
-
getType
- See Also:
-
BulkUpdate.type
-
getInclusions
- See Also:
-
BulkUpdate.inclusions
-
getExclusions
- See Also:
-
BulkUpdate.exclusions
-
getPayload
- See Also:
-
BulkUpdate.serializedPayloadJsonToStringDeserializer
-
getUpdatingApplicationId
The ID of the application in which the update will be applied.If not supplied, the value will be sourced from the request's
ContextInfo. -
getUpdatingCatalogId
The ID of the catalog in which the update will be applied.If not supplied, the value will be sourced from the request's
ContextInfo. -
getUpdatingCustomerContextId
The ID of the customer context in which the update will be applied.If not supplied, the value will be sourced from the request's
ContextInfo. -
isProductionBulkUpdate
public boolean isProductionBulkUpdate()- See Also:
-
getUpdatingSandboxName
- See Also:
-
setName
- See Also:
-
BulkUpdate.name
-
setType
- See Also:
-
BulkUpdate.type
-
setInclusions
- See Also:
-
BulkUpdate.inclusions
-
setExclusions
- See Also:
-
BulkUpdate.exclusions
-
setPayload
- See Also:
-
BulkUpdate.serializedPayloadJsonToStringDeserializer
-
setUpdatingApplicationId
The ID of the application in which the update will be applied.If not supplied, the value will be sourced from the request's
ContextInfo. -
setUpdatingCatalogId
The ID of the catalog in which the update will be applied.If not supplied, the value will be sourced from the request's
ContextInfo. -
setUpdatingCustomerContextId
The ID of the customer context in which the update will be applied.If not supplied, the value will be sourced from the request's
ContextInfo. -
setProductionBulkUpdate
public void setProductionBulkUpdate(boolean productionBulkUpdate) - See Also:
-
setUpdatingSandboxName
- See Also:
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-