Mercurial > hg > Members > nobuyasu > Consensus
comparison app/Global.java @ 8:7b314898fddd
create action User.getUser()
author | one |
---|---|
date | Mon, 01 Oct 2012 19:53:43 +0900 |
parents | 2122c50278bd |
children | f3db6edc61ad |
comparison
equal
deleted
inserted
replaced
7:2122c50278bd | 8:7b314898fddd |
---|---|
14 public void onStart(Application app) { | 14 public void onStart(Application app) { |
15 TPGraph tpgraph = TPGraph.getInstance(); | 15 TPGraph tpgraph = TPGraph.getInstance(); |
16 tpgraph.setPath(null); | 16 tpgraph.setPath(null); |
17 Graph graph = tpgraph.newGraph(); | 17 Graph graph = tpgraph.newGraph(); |
18 Vertex claimV = graph.addVertex(null); | 18 Vertex claimV = graph.addVertex(null); |
19 tpgraph.setClaimRootVertex(claimV); | 19 tpgraph.setClaimRootId(claimV.getId()); |
20 Vertex userV = graph.addVertex(null); | 20 Vertex userV = graph.addVertex(null); |
21 tpgraph.setUserRootVertex(userV); | 21 tpgraph.setUserRootId(userV.getId()); |
22 } | 22 } |
23 | 23 |
24 @Override | 24 @Override |
25 public void onStop(Application app) { | 25 public void onStop(Application app) { |
26 Logger.info("Application shutdown..."); | 26 Logger.info("Application shutdown..."); |