public interface EvaluationLevelAware extends ModelInstanceAware, EntityWithId
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears evaluation data.
|
EvaluationLevelAware |
getBaseLevelEntity()
Returns element corresponding to this element in the base evaluation level.
|
Long |
getBaseLevelEntityId()
Returns id of element corresponding to this element in the base evaluation level.
|
String |
getEvaluationLevel()
Returns evaluation level.
|
EvaluationLevelAware |
getLowerLevelEntity()
Returns element corresponding to this element in the lower existing evaluation level.
|
Long |
getLowerLevelEntityId()
Returns id of element corresponding to this element in the lower existing evaluation level.
|
EvaluationLevelAware |
getLowestLevelEntity()
Returns element corresponding to this element in the lowest existing evaluation level.
|
Long |
getLowestLevelEntityId()
Returns id of element corresponding to this element in the lowest existing evaluation level.
|
String |
internalVersionConflictMessage(EvaluationLevelAware entity)
Returns message for internal versioning conflict.
|
boolean |
isInternalyVersioned()
Returns true if the entity is internally (in scope of model instance) versioned.
|
boolean |
isLocked()
Returns true if the entity is locked for modifications.
|
boolean |
isLowestExistingEntity()
Returns true if this entity is the lowest existing entity.
|
void |
replaceIdAndEvaluationLevel(Long newId,
Long newBaseId,
String newEvaluationLevel)
Replace id, base evaluation level entity id and evaluation level in the entity.
|
void |
replaceReferencedIds(Map<Long,Long> replacementMap)
Replace referenced ids to other entities in this entity.
|
void |
updateLevelData(Long baseLevelEntityId,
Long lowestLevelEntityId,
Long lowerLevelEntityId)
Updates references to the corresponding elements in other evaluation levels.
|
getModelInstance, rebind
getId
collect, getReferences, isPersistent
String getEvaluationLevel()
Long getBaseLevelEntityId()
EvaluationLevelAware getBaseLevelEntity()
Long getLowestLevelEntityId()
EvaluationLevelAware getLowestLevelEntity()
Long getLowerLevelEntityId()
EvaluationLevelAware getLowerLevelEntity()
boolean isLowestExistingEntity()
void updateLevelData(Long baseLevelEntityId, Long lowestLevelEntityId, Long lowerLevelEntityId)
baseLevelEntityId
- lowestLevelEntityId
- lowerLevelEntityId
- void replaceIdAndEvaluationLevel(Long newId, Long newBaseId, String newEvaluationLevel)
newId
- newBaseId
- newEvaluationLevel
- void replaceReferencedIds(Map<Long,Long> replacementMap)
replacementMap
- boolean isLocked()
boolean isInternalyVersioned()
String internalVersionConflictMessage(EvaluationLevelAware entity)
entity
- void clear()
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.