Class RowGenerationResponse
java.lang.Object
com.broadleafcommerce.common.dataexport.service.RowGenerationResponse
A response returned by
ExportProcessor.generateRows(List, Export)
indicating the results
of producing some rows in an export.- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static RowGenerationResponse
Ifsuccessful
is false, then this should contain a description of the error encountered when attempting to produce the rows.getRows()
Ifsuccessful
is true, then this should contain all of the generated rows.int
hashCode()
boolean
True if the rows were produced successfully, false otherwise.static RowGenerationResponse
toString()
-
Method Details
-
success
-
failure
-
isSuccessful
public boolean isSuccessful()True if the rows were produced successfully, false otherwise. -
getRows
Ifsuccessful
is true, then this should contain all of the generated rows. -
getErrorMessage
Ifsuccessful
is false, then this should contain a description of the error encountered when attempting to produce the rows. This will be used byExportManager
and set on the correspondingExport
. -
equals
-
hashCode
public int hashCode() -
toString
-