annotate target/scala-2.9.1/src_managed/main/routes_reverseRouting.scala @ 26:ad7cfb1f9d03

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