|
|||||||||
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.ImportDataTypeCategoryImpl
public class ImportDataTypeCategoryImpl
Defines fields and necessary information to import Category
.
Field Summary | |
---|---|
static java.lang.String |
PREFIX_OF_FIELD_NAME
A prefix used in product import field name. |
static long |
serialVersionUID
Serial version ID. |
Fields inherited from interface com.elasticpath.domain.dataimport.ImportDataType |
---|
SEPARATOR |
Constructor Summary | |
---|---|
ImportDataTypeCategoryImpl()
|
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 meta object used to intialize the import data type. |
java.lang.String |
getName()
Returns import data type name. |
void |
init(java.lang.Object categoryType)
Initialize the category 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 java.lang.String PREFIX_OF_FIELD_NAME
public static final long serialVersionUID
Constructor Detail |
---|
public ImportDataTypeCategoryImpl()
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 categoryType)
categoryType
- the CategoryType
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 |