Package se.conciliate.extensions.xml
Interface ReferenceResolver
public interface ReferenceResolver
Used to resolve references to other entities when updating repository data from XML.
-
Method Summary
Modifier and TypeMethodDescription<T> T
getReferencedEntity
(Class<T> entityClass, String entityKey) Should return a reference by uuid.
-
Method Details
-
getReferencedEntity
Should return a reference by uuid. Ifnull
is returned, the referenced entity is assumed to not exist in the current repository.- Parameters:
entityClass
- The class of the entity being searched for, e.g.MTModel.class
.entityKey
- The key of the entity being searched for, in general the UUID except for users where the username is used.
-