com.elasticpath.domain.dataimport.impl
Class AbstractImportDataTypeImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractTransientImpl
          extended by com.elasticpath.domain.dataimport.impl.AbstractImportDataTypeImpl
All Implemented Interfaces:
ImportDataType, EpDomain, Transient, java.io.Serializable
Direct Known Subclasses:
ImportDataTypeCategoryImpl, ImportDataTypeCustomerAddressImpl, ImportDataTypeCustomerImpl, ImportDataTypeProductAssociationImpl, ImportDataTypeProductCategoryAssociationImpl, ImportDataTypeProductImpl, ImportDataTypeProductPriceImpl, ImportDataTypeProductSkuImpl, ImportDataTypeProductSkuPriceImpl

public abstract class AbstractImportDataTypeImpl
extends AbstractTransientImpl
implements ImportDataType

Represents a template ImportDataType.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version id.
 
Fields inherited from interface com.elasticpath.domain.dataimport.ImportDataType
SEPARATOR
 
Constructor Summary
AbstractImportDataTypeImpl()
          The default constructor.
 
Method Summary
 void clearValueObjects(Entity entity)
          A dummy implementation.
 ImportField getImportField(java.lang.String importFieldName)
          Return an import field with the given name.
 java.util.Map getImportFields()
          Return all import fields as a Map The name of an import field will be used as key, and the import field itself will be put as a value.
 java.util.List getOptionalImportFields()
          Return all optional import fields.
 java.util.List getRequiredImportFields()
          Return all required import fields.
 Utility getUtility()
          Returns the utility.
 
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.dataimport.ImportDataType
createValueObject, getGuidFieldName, getImportJobRunnerBeanName, getMetaObject, getName, init, isEntityImport, isValueObjectImport, saveOrUpdate
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

AbstractImportDataTypeImpl

public AbstractImportDataTypeImpl()
The default constructor.

Method Detail

clearValueObjects

public void clearValueObjects(Entity entity)
A dummy implementation.

Specified by:
clearValueObjects in interface ImportDataType
Parameters:
entity - -- not used.

getImportField

public ImportField getImportField(java.lang.String importFieldName)
Return an import field with the given name.

Specified by:
getImportField in interface ImportDataType
Parameters:
importFieldName - the import field name.
Returns:
an import field with the given name

getImportFields

public java.util.Map getImportFields()
Return all import fields as a Map The name of an import field will be used as key, and the import field itself will be put as a value.

Specified by:
getImportFields in interface ImportDataType
Returns:
all import fields as a Map

getOptionalImportFields

public java.util.List getOptionalImportFields()
Return all optional import fields.

Specified by:
getOptionalImportFields in interface ImportDataType
Returns:
all optional import fields.

getRequiredImportFields

public java.util.List getRequiredImportFields()
Return all required import fields.

Specified by:
getRequiredImportFields in interface ImportDataType
Returns:
all required import fields.

getUtility

public Utility getUtility()
Returns the utility.

Returns:
the utility