|
|||||||||
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.AbstractTransientImpl com.elasticpath.domain.dataimport.impl.AbstractImportDataTypeImpl com.elasticpath.domain.dataimport.impl.ImportDataTypeProductSkuImpl
public class ImportDataTypeProductSkuImpl
Defines fields and necessary information to import ProductSku
.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version ID. |
Fields inherited from interface com.elasticpath.domain.dataimport.ImportDataType |
---|
SEPARATOR |
Constructor Summary | |
---|---|
ImportDataTypeProductSkuImpl()
|
Method Summary | |
---|---|
ValueObject |
createValueObject()
Create and return a new value object. |
java.lang.String |
getGuidFieldName()
Return the field name for guid. |
java.lang.String |
getImportJobRunnerBeanName()
Returns the import job runner bean name. |
java.lang.Object |
getMetaObject()
Returns the base object used to intialize the import data type. |
java.lang.String |
getName()
Returns import data type name. |
void |
init(java.lang.Object productType)
Initialize the product import type. |
boolean |
isEntityImport()
Returns true if allowing to create entity. |
boolean |
isValueObjectImport()
Returns true if this import data type imports value object. |
void |
saveOrUpdate(Entity entity,
ValueObject object)
Add or update the given value object to the given entity. |
Methods inherited from class com.elasticpath.domain.dataimport.impl.AbstractImportDataTypeImpl |
---|
clearValueObjects, getImportField, getImportFields, getOptionalImportFields, getRequiredImportFields, getUtility |
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 ImportDataTypeProductSkuImpl()
Method Detail |
---|
public ValueObject createValueObject()
public java.lang.String getGuidFieldName()
null
.
public java.lang.String getImportJobRunnerBeanName()
public java.lang.Object getMetaObject()
public java.lang.String getName()
public void init(java.lang.Object productType)
productType
- the ProductType
instance used to initialize the import data type.public boolean isEntityImport()
true
if allowing to create entity.
true
if allowing to create entitypublic boolean isValueObjectImport()
true
if this import data type imports value object.
true
if this import data type imports value objectpublic void saveOrUpdate(Entity entity, ValueObject object)
entity
- the entityobject
- the value object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |