Skip to content

Instantly share code, notes, and snippets.

@ieugen
ieugen / MutateQuestionnaireDataFetchers.java
Last active May 30, 2017 11:02
graphql-java schema wiring factory
@Data
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Configuration
public class MutateQuestionnaireDataFetchers {
@Autowired
DataCollectionService dataCollectionService;
@Autowired
@ieugen
ieugen / JcrQueryLibrary.md
Created March 7, 2018 10:59 — forked from floriankraft/JcrQueryLibrary.md
Some useful JCR queries (XPATH, SQL2) for AEM/CQ development.

SQL2

All nodes with a specific name

SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"

All pages below content path