Class BulkUpdateError
java.lang.Object
com.broadleafcommerce.bulk.domain.BulkUpdateError
- All Implemented Interfaces:
Serializable
A rich object detailing a reason why a
BulkUpdate failed.- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
BulkUpdate.errors- Serialized Form
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanA message describing the error encountered.IftypeisBulkUpdateErrorType.RECORD, this value should hold the ID of the record that experienced the error.IftypeisBulkUpdateErrorType.RECORD, this value should hold the domain/type of the record that experienced the error.The string representation of the stacktrace.getType()The type of error that was encountered.inthashCode()setDescription(String description) A message describing the error encountered.setRecordId(String recordId) IftypeisBulkUpdateErrorType.RECORD, this value should hold the ID of the record that experienced the error.setRecordType(String recordType) IftypeisBulkUpdateErrorType.RECORD, this value should hold the domain/type of the record that experienced the error.setStackTrace(String stackTrace) The string representation of the stacktrace.The type of error that was encountered.toString()
-
Constructor Details
-
BulkUpdateError
public BulkUpdateError()
-
-
Method Details
-
getType
The type of error that was encountered.- Returns:
- the type of error that was encountered
- See Also:
-
getRecordType
IftypeisBulkUpdateErrorType.RECORD, this value should hold the domain/type of the record that experienced the error.- Returns:
- the domain/type of the specific record that encountered an error
-
getRecordId
IftypeisBulkUpdateErrorType.RECORD, this value should hold the ID of the record that experienced the error.- Returns:
- the ID of the specific record that encountered an error
-
getDescription
A message describing the error encountered.- Returns:
- a message describing the error encountered
-
getStackTrace
The string representation of the stacktrace.- Returns:
- the string representation of the stacktrace
-
setType
The type of error that was encountered.- Parameters:
type- the type of error that was encountered- Returns:
this.- See Also:
-
setRecordType
IftypeisBulkUpdateErrorType.RECORD, this value should hold the domain/type of the record that experienced the error.- Parameters:
recordType- the domain/type of the specific record that encountered an error- Returns:
this.
-
setRecordId
IftypeisBulkUpdateErrorType.RECORD, this value should hold the ID of the record that experienced the error.- Parameters:
recordId- the ID of the specific record that encountered an error- Returns:
this.
-
setDescription
A message describing the error encountered.- Parameters:
description- a message describing the error encountered- Returns:
this.
-
setStackTrace
The string representation of the stacktrace.- Parameters:
stackTrace- the string representation of the stacktrace- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-