Package org.ehrbase.aql.containment
Class Templates
- java.lang.Object
-
- org.ehrbase.aql.containment.Templates
-
public class Templates extends Object
Process jsonpath queries on WebTemplates
-
-
Constructor Summary
Constructors Constructor Description Templates(KnowledgeCacheService knowledgeCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JsonPathQueryResult>resolve(List<org.ehrbase.webtemplate.parser.NodeId> jsonQueryExpression)build the results for a jsonpath query applied to all defined templates in the KnowledgeCacheServiceJsonPathQueryResultresolveForTemplate(String templateId, List<org.ehrbase.webtemplate.parser.NodeId> jsonQueryExpression)build the results for a jsonpath query applied to a defined templates in the KnowledgeCacheServiceStringrootArchetypeNodeId(String templateId)retrieve composition Node Id from template
-
-
-
Constructor Detail
-
Templates
public Templates(KnowledgeCacheService knowledgeCache)
-
-
Method Detail
-
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:
-
-