Package de.metalcon.socialgraph

Examples of de.metalcon.socialgraph.User


    // create new status update node
    final Node crrUpdate = NeoUtils.createStatusUpdateNode(content.getId());

    // prepare status update for JSON parsing
    content.setTimestamp(timestamp);
    content.setCreator(new User(user));

    // fill status update node
    crrUpdate.setProperty(Properties.StatusUpdate.TIMESTAMP, timestamp);
    crrUpdate.setProperty(Properties.StatusUpdate.CONTENT_TYPE,
        content.getType());
View Full Code Here


    // create new status update node
    final Node crrUpdate = NeoUtils.createStatusUpdateNode(content.getId());

    // prepare status update for JSON parsing
    content.setTimestamp(timestamp);
    content.setCreator(new User(user));

    // fill status update node
    crrUpdate.setProperty(Properties.StatusUpdate.TIMESTAMP, timestamp);
    crrUpdate.setProperty(Properties.StatusUpdate.CONTENT_TYPE,
        content.getType());
View Full Code Here

      e.printStackTrace();
    }

    // (create and) add user object
    if (this.userJSON == null) {
      final User user = new User(this.userNode);
      this.userJSON = user.toActorJSON();
    }
    statusUpdate.put("actor", this.userJSON);

    this.nextStatusUpdate();
    return statusUpdate;
View Full Code Here

TOP

Related Classes of de.metalcon.socialgraph.User

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.