annotate target/scala-2.9.1/src_managed/main/routes_reverseRouting.scala @ 32:be6bbd4967e4

create createMentions
author one
date Wed, 03 Oct 2012 16:47:44 +0900
parents 80b5628f17d8
children bc3ac73320f9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
1 // @SOURCE:/Users/aotokage/workspace/Consensus/conf/routes
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
2 // @HASH:f5c672b7256d9fa8e950b3ac1ed290083dabeefe
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
3 // @DATE:Wed Oct 03 15:56:50 JST 2012
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 import play.core._
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 import play.core.Router._
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 import play.core.j._
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 import play.api.mvc._
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 import play.libs.F
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 import Router.queryString
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
15 // @LINE:27
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
16 // @LINE:23
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
17 // @LINE:22
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
18 // @LINE:18
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
19 // @LINE:17
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
20 // @LINE:16
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
21 // @LINE:14
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
22 // @LINE:13
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
23 // @LINE:11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
24 // @LINE:10
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
25 // @LINE:9
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
26 // @LINE:8
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 // @LINE:7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 // @LINE:6
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 package controllers {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
31 // @LINE:18
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
32 // @LINE:17
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
33 // @LINE:16
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
34 // @LINE:14
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
35 // @LINE:13
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
36 class ReverseClaim {
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
37
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
38
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
39
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
40
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
41 // @LINE:16
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
42 def crateClaim() = {
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
43 Call("POST", "/claims/create")
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
44 }
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
45
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
46
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
47 // @LINE:18
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
48 // @LINE:14
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
49 def getClaimTree(id:String) = {
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
50 (id) match {
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
51 // @LINE:14
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
52 case (id) if true => Call("GET", "/claims/consensus/" + implicitly[PathBindable[String]].unbind("id", id))
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
53
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
54 // @LINE:18
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
55 case (id) if true => Call("GET", "/consensus/browse/" + implicitly[PathBindable[String]].unbind("id", id))
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
56
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
57 }
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
58 }
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
59
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
60
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
61 // @LINE:17
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
62 def createMention(mentionType:String, id:String) = {
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
63 Call("POST", "/claims/" + implicitly[PathBindable[String]].unbind("mentionType", mentionType) + "/" + implicitly[PathBindable[String]].unbind("id", id) + "/create")
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
64 }
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
65
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
66
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
67 // @LINE:13
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
68 def getClaimInfo(id:String) = {
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
69 Call("GET", "/claims/browse/" + implicitly[PathBindable[String]].unbind("id", id))
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
70 }
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
71
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
72
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
73
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
74
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
75 }
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
76
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
77
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
78 // @LINE:23
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
79 // @LINE:22
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
80 // @LINE:6
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
81 class ReverseApplication {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
82
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
83
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
84
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
85
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
86 // @LINE:23
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
87 def test() = {
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
88 Call("GET", "/test")
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
89 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
90
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
91
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
92 // @LINE:6
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
93 def index() = {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
94 Call("GET", "/")
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
95 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
96
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
97
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
98 // @LINE:22
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
99 def hello() = {
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
100 Call("POST", "/hello")
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
101 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
102
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
103
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
104
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
105
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
106 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
107
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
108
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
109 // @LINE:27
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
110 class ReverseAssets {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
111
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
112
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
113
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
114
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
115 // @LINE:27
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
116 def at(file:String) = {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
117 Call("GET", "/assets/" + implicitly[PathBindable[String]].unbind("file", file))
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
118 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
119
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
120
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
121
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
122
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
123 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
124
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
125
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
126 // @LINE:11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
127 // @LINE:10
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
128 // @LINE:9
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
129 // @LINE:8
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
130 // @LINE:7
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
131 class ReverseUser {
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
132
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
133
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
134
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
135
14
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
136 // @LINE:7
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
137 def createUser(name:String) = {
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
138 Call("PUT", "/users/create/" + implicitly[PathBindable[String]].unbind("name", name))
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
139 }
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
140
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
141
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
142 // @LINE:9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
143 def getUserRequests(name:String) = {
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
144 Call("GET", "/users/requests/" + implicitly[PathBindable[String]].unbind("name", name))
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
145 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
146
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
147
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
148 // @LINE:8
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
149 def getUser(name:String) = {
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
150 Call("GET", "/users/browse/" + implicitly[PathBindable[String]].unbind("name", name))
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
151 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
152
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
153
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
154 // @LINE:10
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
155 def getUserConsensus(name:String) = {
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
156 Call("GET", "/users/consensus/" + implicitly[PathBindable[String]].unbind("name", name))
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
157 }
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
158
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
159
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
160 // @LINE:11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
161 def getUserClaims(name:String) = {
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
162 Call("GET", "/users/claims/" + implicitly[PathBindable[String]].unbind("name", name))
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
163 }
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
164
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
165
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
166
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
167
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
168 }
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
169
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
170 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
171
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
172
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
173
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
174 // @LINE:27
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
175 // @LINE:23
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
176 // @LINE:22
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
177 // @LINE:18
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
178 // @LINE:17
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
179 // @LINE:16
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
180 // @LINE:14
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
181 // @LINE:13
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
182 // @LINE:11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
183 // @LINE:10
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
184 // @LINE:9
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
185 // @LINE:8
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
186 // @LINE:7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
187 // @LINE:6
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
188 package controllers.javascript {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
189
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
190 // @LINE:18
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
191 // @LINE:17
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
192 // @LINE:16
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
193 // @LINE:14
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
194 // @LINE:13
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
195 class ReverseClaim {
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
196
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
197
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
198
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
199
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
200 // @LINE:16
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
201 def crateClaim = JavascriptReverseRoute(
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
202 "controllers.Claim.crateClaim",
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
203 """
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
204 function() {
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
205 return _wA({method:"POST", url:"/claims/create"})
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
206 }
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
207 """
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
208 )
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
209
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
210
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
211 // @LINE:18
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
212 // @LINE:14
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
213 def getClaimTree = JavascriptReverseRoute(
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
214 "controllers.Claim.getClaimTree",
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
215 """
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
216 function(id) {
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
217 if (true) {
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
218 return _wA({method:"GET", url:"/claims/consensus/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("id", id)})
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
219 }
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
220 if (true) {
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
221 return _wA({method:"GET", url:"/consensus/browse/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("id", id)})
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
222 }
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
223 }
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
224 """
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
225 )
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
226
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
227
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
228 // @LINE:17
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
229 def createMention = JavascriptReverseRoute(
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
230 "controllers.Claim.createMention",
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
231 """
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
232 function(mentionType,id) {
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
233 return _wA({method:"POST", url:"/claims/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("mentionType", mentionType) + "/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("id", id) + "/create"})
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
234 }
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
235 """
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
236 )
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
237
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
238
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
239 // @LINE:13
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
240 def getClaimInfo = JavascriptReverseRoute(
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
241 "controllers.Claim.getClaimInfo",
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
242 """
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
243 function(id) {
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
244 return _wA({method:"GET", url:"/claims/browse/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("id", id)})
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
245 }
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
246 """
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
247 )
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
248
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
249
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
250
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
251
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
252 }
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
253
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
254
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
255 // @LINE:23
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
256 // @LINE:22
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
257 // @LINE:6
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
258 class ReverseApplication {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
259
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
260
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
261
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
262
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
263 // @LINE:23
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
264 def test = JavascriptReverseRoute(
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
265 "controllers.Application.test",
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
266 """
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
267 function() {
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
268 return _wA({method:"GET", url:"/test"})
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
269 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
270 """
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
271 )
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
272
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
273
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
274 // @LINE:6
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
275 def index = JavascriptReverseRoute(
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
276 "controllers.Application.index",
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
277 """
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
278 function() {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
279 return _wA({method:"GET", url:"/"})
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
280 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
281 """
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
282 )
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
283
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
284
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
285 // @LINE:22
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
286 def hello = JavascriptReverseRoute(
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
287 "controllers.Application.hello",
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
288 """
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
289 function() {
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
290 return _wA({method:"POST", url:"/hello"})
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
291 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
292 """
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
293 )
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
294
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
295
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
296
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
297
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
298 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
299
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
300
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
301 // @LINE:27
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
302 class ReverseAssets {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
303
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
304
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
305
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
306
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
307 // @LINE:27
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
308 def at = JavascriptReverseRoute(
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
309 "controllers.Assets.at",
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
310 """
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
311 function(file) {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
312 return _wA({method:"GET", url:"/assets/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("file", file)})
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
313 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
314 """
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
315 )
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
316
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
317
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
318
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
319
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
320 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
321
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
322
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
323 // @LINE:11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
324 // @LINE:10
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
325 // @LINE:9
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
326 // @LINE:8
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
327 // @LINE:7
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
328 class ReverseUser {
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
329
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
330
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
331
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
332
14
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
333 // @LINE:7
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
334 def createUser = JavascriptReverseRoute(
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
335 "controllers.User.createUser",
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
336 """
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
337 function(name) {
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
338 return _wA({method:"PUT", url:"/users/create/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("name", name)})
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
339 }
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
340 """
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
341 )
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
342
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
343
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
344 // @LINE:9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
345 def getUserRequests = JavascriptReverseRoute(
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
346 "controllers.User.getUserRequests",
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
347 """
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
348 function(name) {
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
349 return _wA({method:"GET", url:"/users/requests/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("name", name)})
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
350 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
351 """
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
352 )
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
353
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
354
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
355 // @LINE:8
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
356 def getUser = JavascriptReverseRoute(
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
357 "controllers.User.getUser",
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
358 """
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
359 function(name) {
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
360 return _wA({method:"GET", url:"/users/browse/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("name", name)})
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
361 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
362 """
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
363 )
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
364
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
365
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
366 // @LINE:10
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
367 def getUserConsensus = JavascriptReverseRoute(
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
368 "controllers.User.getUserConsensus",
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
369 """
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
370 function(name) {
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
371 return _wA({method:"GET", url:"/users/consensus/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("name", name)})
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
372 }
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
373 """
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
374 )
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
375
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
376
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
377 // @LINE:11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
378 def getUserClaims = JavascriptReverseRoute(
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
379 "controllers.User.getUserClaims",
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
380 """
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
381 function(name) {
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
382 return _wA({method:"GET", url:"/users/claims/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("name", name)})
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
383 }
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
384 """
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
385 )
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
386
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
387
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
388
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
389
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
390 }
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
391
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
392 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
393
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
394
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
395
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
396 // @LINE:27
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
397 // @LINE:23
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
398 // @LINE:22
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
399 // @LINE:18
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
400 // @LINE:17
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
401 // @LINE:16
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
402 // @LINE:14
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
403 // @LINE:13
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
404 // @LINE:11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
405 // @LINE:10
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
406 // @LINE:9
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
407 // @LINE:8
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
408 // @LINE:7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
409 // @LINE:6
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
410 package controllers.ref {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
411
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
412 // @LINE:18
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
413 // @LINE:17
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
414 // @LINE:16
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
415 // @LINE:14
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
416 // @LINE:13
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
417 class ReverseClaim {
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
418
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
419
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
420
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
421
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
422 // @LINE:16
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
423 def crateClaim() = new play.api.mvc.HandlerRef(
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
424 controllers.Claim.crateClaim(), HandlerDef(this, "controllers.Claim", "crateClaim", Seq())
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
425 )
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
426
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
427
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
428 // @LINE:14
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
429 def getClaimTree(id:String) = new play.api.mvc.HandlerRef(
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
430 controllers.Claim.getClaimTree(id), HandlerDef(this, "controllers.Claim", "getClaimTree", Seq(classOf[String]))
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
431 )
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
432
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
433
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
434 // @LINE:17
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
435 def createMention(mentionType:String, id:String) = new play.api.mvc.HandlerRef(
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
436 controllers.Claim.createMention(mentionType, id), HandlerDef(this, "controllers.Claim", "createMention", Seq(classOf[String], classOf[String]))
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
437 )
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
438
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
439
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
440 // @LINE:13
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
441 def getClaimInfo(id:String) = new play.api.mvc.HandlerRef(
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
442 controllers.Claim.getClaimInfo(id), HandlerDef(this, "controllers.Claim", "getClaimInfo", Seq(classOf[String]))
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
443 )
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
444
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
445
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
446
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
447
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
448 }
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
449
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
450
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
451 // @LINE:23
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
452 // @LINE:22
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
453 // @LINE:6
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
454 class ReverseApplication {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
455
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
456
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
457
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
458
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
459 // @LINE:23
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
460 def test() = new play.api.mvc.HandlerRef(
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
461 controllers.Application.test(), HandlerDef(this, "controllers.Application", "test", Seq())
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
462 )
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
463
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
464
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
465 // @LINE:6
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
466 def index() = new play.api.mvc.HandlerRef(
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
467 controllers.Application.index(), HandlerDef(this, "controllers.Application", "index", Seq())
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
468 )
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
469
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
470
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
471 // @LINE:22
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
472 def hello() = new play.api.mvc.HandlerRef(
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
473 controllers.Application.hello(), HandlerDef(this, "controllers.Application", "hello", Seq())
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
474 )
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
475
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
476
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
477
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
478
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
479 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
480
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
481
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
482 // @LINE:27
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
483 class ReverseAssets {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
484
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
485
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
486
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
487
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
488 // @LINE:27
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
489 def at(path:String, file:String) = new play.api.mvc.HandlerRef(
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
490 controllers.Assets.at(path, file), HandlerDef(this, "controllers.Assets", "at", Seq(classOf[String], classOf[String]))
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
491 )
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
492
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
493
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
494
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
495
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
496 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
497
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
498
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
499 // @LINE:11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
500 // @LINE:10
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
501 // @LINE:9
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
502 // @LINE:8
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
503 // @LINE:7
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
504 class ReverseUser {
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
505
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
506
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
507
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
508
14
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
509 // @LINE:7
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
510 def createUser(name:String) = new play.api.mvc.HandlerRef(
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
511 controllers.User.createUser(name), HandlerDef(this, "controllers.User", "createUser", Seq(classOf[String]))
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
512 )
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
513
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
514
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
515 // @LINE:9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
516 def getUserRequests(name:String) = new play.api.mvc.HandlerRef(
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
517 controllers.User.getUserRequests(name), HandlerDef(this, "controllers.User", "getUserRequests", Seq(classOf[String]))
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
518 )
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
519
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
520
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
521 // @LINE:8
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
522 def getUser(name:String) = new play.api.mvc.HandlerRef(
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
523 controllers.User.getUser(name), HandlerDef(this, "controllers.User", "getUser", Seq(classOf[String]))
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
524 )
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
525
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
526
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
527 // @LINE:10
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
528 def getUserConsensus(name:String) = new play.api.mvc.HandlerRef(
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
529 controllers.User.getUserConsensus(name), HandlerDef(this, "controllers.User", "getUserConsensus", Seq(classOf[String]))
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
530 )
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
531
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
532
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
533 // @LINE:11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
534 def getUserClaims(name:String) = new play.api.mvc.HandlerRef(
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
535 controllers.User.getUserClaims(name), HandlerDef(this, "controllers.User", "getUserClaims", Seq(classOf[String]))
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
536 )
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
537
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
538
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
539
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
540
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
541 }
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
542
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
543 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
544
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
545