com.elasticpath.domain.dataimport
Interface ImportBadRow

All Superinterfaces:
EpDomain, java.io.Serializable, Transient
All Known Implementing Classes:
ImportBadRowImpl

public interface ImportBadRow
extends Transient

Represents an import bad row.


Method Summary
 void addImportFault(ImportFault importFault)
          Add the given ImportFault to the list.
 java.util.List getImportErrors()
          Returns a list of error messages.
 java.util.List getImportFaults()
          Returns a list of ImportFault.
 java.lang.String getRow()
          Returns the row that caused error.
 int getRowAreaEndNumber()
          Returns the row area end number(open).
 int getRowAreaStartNumber()
          Returns the row area start number(close).
 int getRowNumber()
          Returns the row number that caused error.
 void setImportFaults(java.util.List importFaults)
          Sets a list of ImportFault.
 void setRow(java.lang.String row)
          Set the row.
 void setRowArea(int startRowNumber, int endRowNumber)
          Sets the row area in which the bad row is in.
 void setRowNumber(int rowNumber)
          Set the row number that caused error.
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

addImportFault

void addImportFault(ImportFault importFault)
Add the given ImportFault to the list.

Parameters:
importFault - the ImportFault

getImportErrors

java.util.List getImportErrors()
Returns a list of error messages.

Returns:
a list of error messages

getImportFaults

java.util.List getImportFaults()
Returns a list of ImportFault.

Returns:
a list of ImportFault

getRow

java.lang.String getRow()
Returns the row that caused error.

Returns:
the row that caused error

getRowAreaEndNumber

int getRowAreaEndNumber()
Returns the row area end number(open).

Returns:
the row area end number(open).

getRowAreaStartNumber

int getRowAreaStartNumber()
Returns the row area start number(close).

Returns:
the row area start number(close).

getRowNumber

int getRowNumber()
Returns the row number that caused error.

Returns:
the row number that caused error

setImportFaults

void setImportFaults(java.util.List importFaults)
Sets a list of ImportFault.

Parameters:
importFaults - the list of ImportFault to set

setRow

void setRow(java.lang.String row)
Set the row.

Parameters:
row - the row to set

setRowArea

void setRowArea(int startRowNumber,
                int endRowNumber)
Sets the row area in which the bad row is in.

Parameters:
startRowNumber - the start row number of the row area(close)
endRowNumber - the end row number of the row area(open)

setRowNumber

void setRowNumber(int rowNumber)
Set the row number that caused error.

Parameters:
rowNumber - the row number that caused error