Package org.ehrbase.aql.containment
Class Templates
java.lang.Object
org.ehrbase.aql.containment.Templates
Process jsonpath queries on WebTemplates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild the results for a jsonpath query applied to all defined templates in the KnowledgeCacheServiceresolveForTemplate(String templateId, List<org.ehrbase.webtemplate.parser.NodeId> jsonQueryExpression) build the results for a jsonpath query applied to a defined templates in the KnowledgeCacheServicerootArchetypeNodeId(String templateId) retrieve composition Node Id from template
-
Constructor Details
-
Templates
-
-
Method Details
-
resolve
public List<JsonPathQueryResult> resolve(List<org.ehrbase.webtemplate.parser.NodeId> jsonQueryExpression) build the results for a jsonpath query applied to all defined templates in the KnowledgeCacheService- Parameters:
jsonQueryExpression-- Returns:
-
resolveForTemplate
public JsonPathQueryResult resolveForTemplate(String templateId, List<org.ehrbase.webtemplate.parser.NodeId> jsonQueryExpression) build the results for a jsonpath query applied to a defined templates in the KnowledgeCacheService- Parameters:
templateId-jsonQueryExpression-- Returns:
-
rootArchetypeNodeId
retrieve composition Node Id from template- Parameters:
templateId-- Returns:
-