Interface InputTranslationEngine
-
public interface InputTranslationEngine
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MappedIdentity
getExistingIdentity(MappingResult result)
boolean
identitiesNotPresentInDb(MappingResult result)
void
mergeWithExisting(MappingResult result, EntityParam baseEntity)
Merges the information obtained after execution of an input translation profile with a manually specified entity.void
process(MappingResult result)
Entry point.Entity
resolveMappedIdentity(MappedIdentity checked)
-
-
-
Method Detail
-
process
void process(MappingResult result) throws EngineException
Entry point.- Parameters:
result
-- Throws:
EngineException
-
mergeWithExisting
void mergeWithExisting(MappingResult result, EntityParam baseEntity) throws EngineException
Merges the information obtained after execution of an input translation profile with a manually specified entity.- Parameters:
result
-baseEntity
-- Throws:
EngineException
-
identitiesNotPresentInDb
boolean identitiesNotPresentInDb(MappingResult result)
- Parameters:
result
-- Returns:
- true only if no one of mapped identities is present in db.
-
resolveMappedIdentity
Entity resolveMappedIdentity(MappedIdentity checked) throws EngineException
- Throws:
EngineException
-
getExistingIdentity
MappedIdentity getExistingIdentity(MappingResult result)
-
-