|
|||||||||
| 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.impl.AbstractPersistenceImpl
com.elasticpath.domain.impl.AbstractEntityImpl
com.elasticpath.domain.dataimport.impl.ImportJobImpl
public class ImportJobImpl
A default implementation of ImportJob.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Constructor Summary | |
|---|---|
ImportJobImpl()
|
|
| Method Summary | |
|---|---|
CmUser |
getCmUser()
Returns the cm user whom started the import job. |
char |
getCsvFileColDelimeter()
Returns the import csv data file column delimeter. |
java.lang.String |
getCsvFileName()
Returns the import csv data file name. |
char |
getCsvFileTextQualifier()
Returns the import csv data file text qualifier. |
java.lang.String |
getImportDataTypeName()
Returns the import data type. |
ImportType |
getImportType()
Returns the import type. |
java.util.Map |
getMappings()
Returns the mappings between import data type fields and csv file columns. |
int |
getMaxAllowErrors()
Returns the maximum allowable errors before teminating import. |
java.lang.String |
getName()
Returns the name of import job. |
int |
getTotalRows()
Returns the total number of rows to import. |
void |
setCmUser(CmUser cmUser)
Set the cm user whom started the import job. |
void |
setCsvFileColDelimeter(char colDelimeter)
Set the csv file column delimeter. |
void |
setCsvFileName(java.lang.String csvFileName)
Set the csv file name. |
void |
setCsvFileTextQualifier(char textQualifier)
Set the csv file text qualifier. |
void |
setDefaultValues()
Set default values for those fields need default values. |
void |
setImportDataTypeName(java.lang.String importDataTypeName)
Set the import data type name. |
void |
setImportType(ImportType importType)
Set the import type. |
void |
setMappings(java.util.Map mappings)
Set the mappings between import data type fields and csv file columns. |
void |
setMaxAllowErrors(int maxAllowErrors)
Set the maximum allowable errors before teminating import. |
void |
setName(java.lang.String name)
Set the name of import job. |
void |
setTotalRows(int totalRows)
Set total number of rows. |
| Methods inherited from class com.elasticpath.domain.impl.AbstractEntityImpl |
|---|
convertAttributeGroupAttributes, getGuid, setGuid |
| Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setUidPk |
| 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.Entity |
|---|
getGuid, setGuid |
| Methods inherited from interface com.elasticpath.domain.Persistence |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setUidPk |
| Methods inherited from interface com.elasticpath.domain.EpDomain |
|---|
getElasticPath, setElasticPath |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public ImportJobImpl()
| Method Detail |
|---|
public CmUser getCmUser()
getCmUser in interface ImportJobpublic char getCsvFileColDelimeter()
getCsvFileColDelimeter in interface ImportJobpublic java.lang.String getCsvFileName()
getCsvFileName in interface ImportJobpublic char getCsvFileTextQualifier()
getCsvFileTextQualifier in interface ImportJobpublic java.lang.String getImportDataTypeName()
getImportDataTypeName in interface ImportJobpublic ImportType getImportType()
getImportType in interface ImportJobpublic java.util.Map getMappings()
getMappings in interface ImportJobpublic int getMaxAllowErrors()
getMaxAllowErrors in interface ImportJobpublic java.lang.String getName()
getName in interface ImportJobpublic int getTotalRows()
getTotalRows in interface ImportJobpublic void setCmUser(CmUser cmUser)
setCmUser in interface ImportJobcmUser - the cm user to setpublic void setCsvFileColDelimeter(char colDelimeter)
setCsvFileColDelimeter in interface ImportJobcolDelimeter - the csv file column delimeterpublic void setCsvFileName(java.lang.String csvFileName)
setCsvFileName in interface ImportJobcsvFileName - the csv file namepublic void setCsvFileTextQualifier(char textQualifier)
setCsvFileTextQualifier in interface ImportJobtextQualifier - the text qualifierpublic void setDefaultValues()
setDefaultValues in interface PersistencesetDefaultValues in class AbstractEntityImplpublic void setImportDataTypeName(java.lang.String importDataTypeName)
setImportDataTypeName in interface ImportJobimportDataTypeName - the import data type namepublic void setImportType(ImportType importType)
setImportType in interface ImportJobimportType - the import type to set.public void setMappings(java.util.Map mappings)
setMappings in interface ImportJobmappings - the mappings to setpublic void setMaxAllowErrors(int maxAllowErrors)
setMaxAllowErrors in interface ImportJobmaxAllowErrors - the maximum allowable errorspublic void setName(java.lang.String name)
setName in interface ImportJobname - the name to setpublic void setTotalRows(int totalRows)
setTotalRows in interface ImportJobtotalRows - the total number of rows
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||