@Override
public void processMessage(WebSocketMessage webSocketData) throws FrameworkException {
final SecurityContext securityContext = getWebSocket().getSecurityContext();
final App app = StructrApp.getInstance(securityContext);
final Query query = app.nodeQuery();
final List<? extends GraphObject> resultList = new LinkedList<>();
final Set<AbstractNode> filteredResults = new LinkedHashSet<>();
query.includeDeletedAndHidden();
query.orTypes(DOMElement.class);
query.orType(Content.class);
try (final Tx tx = app.tx()) {
resultList.addAll(query.getAsList());
// determine which of the nodes have incoming CONTAINS relationships and are not components
for (GraphObject obj : resultList) {
if (obj instanceof DOMNode) {