|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 ImportJob
public char getCsvFileColDelimeter()
getCsvFileColDelimeter
in interface ImportJob
public java.lang.String getCsvFileName()
getCsvFileName
in interface ImportJob
public char getCsvFileTextQualifier()
getCsvFileTextQualifier
in interface ImportJob
public java.lang.String getImportDataTypeName()
getImportDataTypeName
in interface ImportJob
public ImportType getImportType()
getImportType
in interface ImportJob
public java.util.Map getMappings()
getMappings
in interface ImportJob
public int getMaxAllowErrors()
getMaxAllowErrors
in interface ImportJob
public java.lang.String getName()
getName
in interface ImportJob
public int getTotalRows()
getTotalRows
in interface ImportJob
public void setCmUser(CmUser cmUser)
setCmUser
in interface ImportJob
cmUser
- the cm user to setpublic void setCsvFileColDelimeter(char colDelimeter)
setCsvFileColDelimeter
in interface ImportJob
colDelimeter
- the csv file column delimeterpublic void setCsvFileName(java.lang.String csvFileName)
setCsvFileName
in interface ImportJob
csvFileName
- the csv file namepublic void setCsvFileTextQualifier(char textQualifier)
setCsvFileTextQualifier
in interface ImportJob
textQualifier
- the text qualifierpublic void setDefaultValues()
setDefaultValues
in interface Persistence
setDefaultValues
in class AbstractEntityImpl
public void setImportDataTypeName(java.lang.String importDataTypeName)
setImportDataTypeName
in interface ImportJob
importDataTypeName
- the import data type namepublic void setImportType(ImportType importType)
setImportType
in interface ImportJob
importType
- the import type to set.public void setMappings(java.util.Map mappings)
setMappings
in interface ImportJob
mappings
- the mappings to setpublic void setMaxAllowErrors(int maxAllowErrors)
setMaxAllowErrors
in interface ImportJob
maxAllowErrors
- the maximum allowable errorspublic void setName(java.lang.String name)
setName
in interface ImportJob
name
- the name to setpublic void setTotalRows(int totalRows)
setTotalRows
in interface ImportJob
totalRows
- the total number of rows
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |