Class BulkUpdateError
- java.lang.Object
- 
- com.broadleafcommerce.bulk.domain.BulkUpdateError
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class BulkUpdateError extends Object implements Serializable A rich object detailing a reason why aBulkUpdatefailed.- Author:
- Samarth Dhruva (samarthd)
- See Also:
- BulkUpdate.errors, Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description BulkUpdateError()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetDescription()A message describing the error encountered.StringgetRecordId()IftypeisBulkUpdateErrorType.RECORD, this value should hold the ID of the record that experienced the error.StringgetRecordType()IftypeisBulkUpdateErrorType.RECORD, this value should hold the domain/type of the record that experienced the error.StringgetStackTrace()The string representation of the stacktrace.StringgetType()The type of error that was encountered.inthashCode()BulkUpdateErrorsetDescription(String description)A message describing the error encountered.BulkUpdateErrorsetRecordId(String recordId)IftypeisBulkUpdateErrorType.RECORD, this value should hold the ID of the record that experienced the error.BulkUpdateErrorsetRecordType(String recordType)IftypeisBulkUpdateErrorType.RECORD, this value should hold the domain/type of the record that experienced the error.BulkUpdateErrorsetStackTrace(String stackTrace)The string representation of the stacktrace.BulkUpdateErrorsetType(String type)The type of error that was encountered.StringtoString()
 
- 
- 
- 
Method Detail- 
getTypepublic String getType() The type of error that was encountered.- Returns:
- the type of error that was encountered
- See Also:
- BulkUpdateErrorType
 
 - 
getRecordTypepublic String 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
 
 - 
getRecordIdpublic String 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
 
 - 
getDescriptionpublic String getDescription() A message describing the error encountered.- Returns:
- a message describing the error encountered
 
 - 
getStackTracepublic String getStackTrace() The string representation of the stacktrace.- Returns:
- the string representation of the stacktrace
 
 - 
setTypepublic BulkUpdateError setType(String type) The type of error that was encountered.- Parameters:
- type- the type of error that was encountered
- Returns:
- this.
- See Also:
- BulkUpdateErrorType
 
 - 
setRecordTypepublic BulkUpdateError setRecordType(String recordType) 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.
 
 - 
setRecordIdpublic BulkUpdateError setRecordId(String recordId) 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.
 
 - 
setDescriptionpublic BulkUpdateError setDescription(String description) A message describing the error encountered.- Parameters:
- description- a message describing the error encountered
- Returns:
- this.
 
 - 
setStackTracepublic BulkUpdateError setStackTrace(String stackTrace) The string representation of the stacktrace.- Parameters:
- stackTrace- the string representation of the stacktrace
- Returns:
- this.
 
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-