|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImportRunningJob
Represents a running import job.
| Method Summary | |
|---|---|
void |
addBadRow(ImportBadRow importBadRow)
Add an ImportBadRow. |
java.util.List |
getBadRows()
Returns a list of ImportBadRow. |
int |
getCurrentRow()
Returns the current row number is in importing. |
java.util.Date |
getEndTime()
Returns the import job end time. |
int |
getFailedRows()
Returns the row number that failed the imported. |
ImportJob |
getImportJob()
Returns the import job that is running. |
int |
getLeftRows()
Returns the left rows to import. |
java.util.Date |
getStartTime()
Returns the import job start time. |
int |
getSucceededRows()
Returns the row number that has been imported successfully. |
int |
getTotalRows()
Returns the total number of rows to import. |
boolean |
isFinished()
Returns true if the job is finished, otherwise, false. |
void |
setCurrentRow(int currentRow)
Set the current row number. |
void |
setFinished()
Sets the finished flag to true. |
void |
setImportJob(ImportJob importJob)
Set the import job to run. |
void |
updateFailedRows(int num)
Adds the given number to the failed rows number. |
void |
updateSucceededRows(int num)
Adds the given number to the succeeded rows number. |
| Methods inherited from interface com.elasticpath.domain.EpDomain |
|---|
getElasticPath, setElasticPath |
| Method Detail |
|---|
void addBadRow(ImportBadRow importBadRow)
ImportBadRow.
importBadRow - the import bad row to add.java.util.List getBadRows()
ImportBadRow.
ImportBadRowint getCurrentRow()
java.util.Date getEndTime()
int getFailedRows()
ImportJob getImportJob()
int getLeftRows()
java.util.Date getStartTime()
int getSucceededRows()
int getTotalRows()
boolean isFinished()
true if the job is finished, otherwise, false.
true if the job is finished, otherwise, falsevoid setCurrentRow(int currentRow)
currentRow - the current row numbervoid setFinished()
true.
void setImportJob(ImportJob importJob)
importJob - the import job to setvoid updateFailedRows(int num)
num - the numbervoid updateSucceededRows(int num)
num - the number
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||