Package org.structr.web.entity

Examples of org.structr.web.entity.Linkable


    final SecurityContext securityContext = getWebSocket().getSecurityContext();
    String sourceId                       = webSocketData.getId();
    Map<String, Object> properties        = webSocketData.getNodeData();
    String targetId                       = (String) properties.get("targetId");
    final LinkSource sourceNode           = (LinkSource) getNode(sourceId);
    final Linkable targetNode             = (Linkable) getNode(targetId);

    if ((sourceNode != null) && (targetNode != null)) {

      try {
        sourceNode.setProperty(LinkSource.linkable, targetNode);
View Full Code Here


  }

  // ----- private methods -----
  private void createChildNodes(final Node startNode, final DOMNode parent, Page page) throws FrameworkException {

    Linkable res = null;
    final List<Node> children = startNode.childNodes();
    for (Node node : children) {

      String tag = node.nodeName();
View Full Code Here

TOP

Related Classes of org.structr.web.entity.Linkable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.