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 utilizeJsonDeserialize
forpayload
. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getName()
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.int
hashCode()
boolean
void
setExclusions
(List<String> exclusions) void
setInclusions
(List<String> inclusions) void
void
setPayload
(String payload) void
setProductionBulkUpdate
(boolean productionBulkUpdate) void
void
setUpdatingApplicationId
(String updatingApplicationId) The ID of the application in which the update will be applied.void
setUpdatingCatalogId
(String updatingCatalogId) The ID of the catalog in which the update will be applied.void
setUpdatingCustomerContextId
(String updatingCustomerContextId) The ID of the customer context in which the update will be applied.void
setUpdatingSandboxName
(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 utilizeJsonDeserialize
forpayload
. -
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.serializedPayload
JsonToStringDeserializer
-
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.serializedPayload
JsonToStringDeserializer
-
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
-