|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImportDataType
Represents an import data type.
Field Summary | |
---|---|
static java.lang.String |
SEPARATOR
Separtor used in import data type name. |
Method Summary | |
---|---|
void |
clearValueObjects(Entity entity)
Clear the value objects of the given entity. |
ValueObject |
createValueObject()
Create and return a new value object. |
java.lang.String |
getGuidFieldName()
Return the field name for guid. |
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.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. |
java.util.List |
getOptionalImportFields()
Return all optional import fields. |
java.util.List |
getRequiredImportFields()
Return all required import fields. |
void |
init(java.lang.Object baseObject)
Initialize the import data type based on the given base object. |
boolean |
isEntityImport()
Returns true if this import data type imports 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 interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
static final java.lang.String SEPARATOR
Method Detail |
---|
void clearValueObjects(Entity entity)
entity
- the entityValueObject createValueObject()
java.lang.String getGuidFieldName()
null
.
ImportField getImportField(java.lang.String importFieldName)
importFieldName
- the import field name.
java.util.Map getImportFields()
Map
The name of an import field will be used as key, and the import field itself will be put as a
value.
Map
java.lang.String getImportJobRunnerBeanName()
java.lang.Object getMetaObject()
java.lang.String getName()
java.util.List getOptionalImportFields()
java.util.List getRequiredImportFields()
void init(java.lang.Object baseObject)
baseObject
- the base object used to initialize the import data type.boolean isEntityImport()
true
if this import data type imports entity.
true
if this import data type imports entityboolean isValueObjectImport()
true
if this import data type imports value object.
true
if this import data type imports value objectvoid 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 |