public class EntityReplacementStrategyImpl extends Object implements EntityReplacementStrategy
Constructor and Description |
---|
EntityReplacementStrategyImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addEntityReplacement(Class<?> entityType,
Serializable entityId,
Serializable replacementEntityId) |
Serializable |
getReplacementEntityId(Class<?> entityType,
Serializable entityId) |
boolean |
hasReplacementEntities(Class<?> entityType) |
boolean |
hasReplacementEntity(Class<?> entityType,
Serializable entityId) |
public void addEntityReplacement(Class<?> entityType, Serializable entityId, Serializable replacementEntityId)
public boolean hasReplacementEntities(Class<?> entityType)
hasReplacementEntities
in interface EntityReplacementStrategy
public boolean hasReplacementEntity(Class<?> entityType, Serializable entityId)
hasReplacementEntity
in interface EntityReplacementStrategy
public Serializable getReplacementEntityId(Class<?> entityType, Serializable entityId)
getReplacementEntityId
in interface EntityReplacementStrategy
Copyright © 2019. All rights reserved.