JsonLookupService¶
-
public interface
JsonLookupService
¶ Service for managing lookups coming from JSON files.
Methods¶
createJsonLookup¶
-
void
createJsonLookup
(JsonLookupDto jsonLookup)¶ Stores the given
jsonLookup
in the database.Parameters: - jsonLookup – the lookup to be stored.
exists¶
-
boolean
exists
(String entityClassName, String originLookupName)¶ Checks if a lookup with the given
originLookupName
was already added for the entity with the givenentityClassName
.Parameters: - entityClassName – the class name of the entity
- originLookupName – the origin name of the lookup
Returns: true if the lookup was added, false otherwise