|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.dataimport.impl.ImportRunningJobImpl
public class ImportRunningJobImpl
Represents a running import job.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Constructor Summary | |
|---|---|
ImportRunningJobImpl()
|
|
| 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 class com.elasticpath.domain.impl.AbstractEpDomainImpl |
|---|
getElasticPath, setElasticPath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elasticpath.domain.EpDomain |
|---|
getElasticPath, setElasticPath |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public ImportRunningJobImpl()
| Method Detail |
|---|
public void addBadRow(ImportBadRow importBadRow)
ImportBadRow.
addBadRow in interface ImportRunningJobimportBadRow - the import bad row to add.public java.util.List getBadRows()
ImportBadRow.
getBadRows in interface ImportRunningJobImportBadRowpublic int getCurrentRow()
getCurrentRow in interface ImportRunningJobpublic java.util.Date getEndTime()
getEndTime in interface ImportRunningJobpublic int getFailedRows()
getFailedRows in interface ImportRunningJobpublic ImportJob getImportJob()
getImportJob in interface ImportRunningJobpublic int getLeftRows()
getLeftRows in interface ImportRunningJobpublic java.util.Date getStartTime()
getStartTime in interface ImportRunningJobpublic int getSucceededRows()
getSucceededRows in interface ImportRunningJobpublic int getTotalRows()
getTotalRows in interface ImportRunningJobpublic boolean isFinished()
true if the job is finished, otherwise, false.
isFinished in interface ImportRunningJobtrue if the job is finished, otherwise, falsepublic void setCurrentRow(int currentRow)
setCurrentRow in interface ImportRunningJobcurrentRow - the current row numberpublic void setFinished()
true.
setFinished in interface ImportRunningJobpublic void setImportJob(ImportJob importJob)
setImportJob in interface ImportRunningJobimportJob - the import job to setpublic void updateFailedRows(int num)
updateFailedRows in interface ImportRunningJobnum - the numberpublic void updateSucceededRows(int num)
updateSucceededRows in interface ImportRunningJobnum - the number
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||