annotate target/scala-2.9.1/src_managed/main/routes_routing.scala @ 42:4321d97da830

modified updateUserConsensusStatus
author one
date Thu, 04 Oct 2012 04:15:14 +0900
parents 1d5c086e069b
children a76259e2ca9f
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
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
2 // @HASH:6a5ff5e69f08e272e929ec024197558b3eee836d
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
3 // @DATE:Thu Oct 04 02:27:02 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 object Routes extends Router.Routes {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 // @LINE:6
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 val controllers_Application_index0 = Route("GET", PathPattern(List(StaticPart("/"))))
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 // @LINE:7
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
22 val controllers_User_getAllUsers1 = Route("GET", PathPattern(List(StaticPart("/users/all"))))
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
25 // @LINE:8
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
26 val controllers_User_createUser2 = Route("PUT", PathPattern(List(StaticPart("/users/create/"),DynamicPart("name", """[^/]+"""))))
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
27
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
28
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
29 // @LINE:9
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
30 val controllers_User_getUser3 = Route("GET", PathPattern(List(StaticPart("/users/browse/"),DynamicPart("name", """[^/]+"""))))
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
32
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
33 // @LINE:10
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
34 val controllers_User_getUserRequests4 = Route("GET", PathPattern(List(StaticPart("/users/requests/"),DynamicPart("name", """[^/]+"""))))
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
35
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
36
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
37 // @LINE:11
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
38 val controllers_User_getUserConsensus5 = Route("GET", PathPattern(List(StaticPart("/users/consensus/"),DynamicPart("name", """[^/]+"""))))
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
39
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
41 // @LINE:12
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
42 val controllers_User_getUserClaims6 = Route("GET", PathPattern(List(StaticPart("/users/claims/"),DynamicPart("name", """[^/]+"""))))
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
43
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
44
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
45 // @LINE:13
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
46 val controllers_Claim_getClaimInfo7 = Route("GET", PathPattern(List(StaticPart("/claims/browse/"),DynamicPart("id", """[^/]+"""))))
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
47
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
48
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
49 // @LINE:14
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
50 val controllers_Claim_getClaimTree8 = Route("GET", PathPattern(List(StaticPart("/claims/consensus/"),DynamicPart("id", """[^/]+"""))))
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
51
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
52
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
53 // @LINE:15
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
54 val controllers_Claim_getClaimTree9 = Route("GET", PathPattern(List(StaticPart("/consensus/browse/"),DynamicPart("id", """[^/]+"""))))
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
55
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
56
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
57 // @LINE:16
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
58 val controllers_Claim_getUserConsensusStatus10 = Route("GET", PathPattern(List(StaticPart("/claims/answer/"),DynamicPart("id", """[^/]+"""),StaticPart("/"),DynamicPart("name", """[^/]+"""))))
32
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
59
be6bbd4967e4 create createMentions
one
parents: 30
diff changeset
60
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
61 // @LINE:17
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
62 val controllers_Claim_updateUserConsensusStatus11 = Route("POST", PathPattern(List(StaticPart("/claims/answer/"),DynamicPart("id", """[^/]+"""),StaticPart("/"),DynamicPart("name", """[^/]+"""),StaticPart("/"),DynamicPart("status", """[^/]+"""))))
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
63
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
64
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
65 // @LINE:18
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
66 val controllers_Claim_crateClaim12 = Route("POST", PathPattern(List(StaticPart("/claims/create"))))
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
67
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
68
37
bc3ac73320f9 fix const value FAILED from FAIL
one
parents: 32
diff changeset
69 // @LINE:19
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
70 val controllers_Claim_createMention13 = Route("POST", PathPattern(List(StaticPart("/claims/"),DynamicPart("mentionType", """[^/]+"""),StaticPart("/"),DynamicPart("id", """[^/]+"""),StaticPart("/create"))))
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
71
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
72
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
73 // @LINE:20
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
74 val controllers_Claim_editClaim14 = Route("POST", PathPattern(List(StaticPart("/claims/edit/"),DynamicPart("id", """[^/]+"""))))
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
75
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
76
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
77 // @LINE:24
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
78 val controllers_Application_hello15 = Route("POST", PathPattern(List(StaticPart("/hello"))))
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
79
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
80
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
81 // @LINE:25
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
82 val controllers_Application_test16 = Route("GET", PathPattern(List(StaticPart("/test"))))
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
83
37
bc3ac73320f9 fix const value FAILED from FAIL
one
parents: 32
diff changeset
84
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
85 // @LINE:29
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
86 val controllers_Assets_at17 = Route("GET", PathPattern(List(StaticPart("/assets/"),DynamicPart("file", """.+"""))))
37
bc3ac73320f9 fix const value FAILED from FAIL
one
parents: 32
diff changeset
87
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
88 def documentation = List(("""GET""","""/""","""controllers.Application.index()"""),("""GET""","""/users/all""","""controllers.User.getAllUsers()"""),("""PUT""","""/users/create/$name<[^/]+>""","""controllers.User.createUser(name:String)"""),("""GET""","""/users/browse/$name<[^/]+>""","""controllers.User.getUser(name:String)"""),("""GET""","""/users/requests/$name<[^/]+>""","""controllers.User.getUserRequests(name:String)"""),("""GET""","""/users/consensus/$name<[^/]+>""","""controllers.User.getUserConsensus(name:String)"""),("""GET""","""/users/claims/$name<[^/]+>""","""controllers.User.getUserClaims(name:String)"""),("""GET""","""/claims/browse/$id<[^/]+>""","""controllers.Claim.getClaimInfo(id:String)"""),("""GET""","""/claims/consensus/$id<[^/]+>""","""controllers.Claim.getClaimTree(id:String)"""),("""GET""","""/consensus/browse/$id<[^/]+>""","""controllers.Claim.getClaimTree(id:String)"""),("""GET""","""/claims/answer/$id<[^/]+>/$name<[^/]+>""","""controllers.Claim.getUserConsensusStatus(id:String, name:String)"""),("""POST""","""/claims/answer/$id<[^/]+>/$name<[^/]+>/$status<[^/]+>""","""controllers.Claim.updateUserConsensusStatus(id:String, name:String, status:String)"""),("""POST""","""/claims/create""","""controllers.Claim.crateClaim()"""),("""POST""","""/claims/$mentionType<[^/]+>/$id<[^/]+>/create""","""controllers.Claim.createMention(mentionType:String, id:String)"""),("""POST""","""/claims/edit/$id<[^/]+>""","""controllers.Claim.editClaim(id:String)"""),("""POST""","""/hello""","""controllers.Application.hello()"""),("""GET""","""/test""","""controllers.Application.test()"""),("""GET""","""/assets/$file<.+>""","""controllers.Assets.at(path:String = "/public", file:String)"""))
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
89
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
90
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
91 def routes:PartialFunction[RequestHeader,Handler] = {
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 // @LINE:6
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
94 case controllers_Application_index0(params) => {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
95 call {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
96 invokeHandler(_root_.controllers.Application.index(), HandlerDef(this, "controllers.Application", "index", Nil))
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 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
99
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
100
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
101 // @LINE:7
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
102 case controllers_User_getAllUsers1(params) => {
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
103 call {
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
104 invokeHandler(_root_.controllers.User.getAllUsers(), HandlerDef(this, "controllers.User", "getAllUsers", Nil))
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
105 }
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
106 }
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
107
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
108
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
109 // @LINE:8
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
110 case controllers_User_createUser2(params) => {
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
111 call(params.fromPath[String]("name", None)) { (name) =>
14
792fdb0c10bf add ClaimModel.java
one
parents: 11
diff changeset
112 invokeHandler(_root_.controllers.User.createUser(name), HandlerDef(this, "controllers.User", "createUser", Seq(classOf[String])))
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
113 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
114 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
115
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
116
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
117 // @LINE:9
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
118 case controllers_User_getUser3(params) => {
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
119 call(params.fromPath[String]("name", None)) { (name) =>
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
120 invokeHandler(_root_.controllers.User.getUser(name), HandlerDef(this, "controllers.User", "getUser", Seq(classOf[String])))
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
121 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
122 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
123
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
124
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
125 // @LINE:10
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
126 case controllers_User_getUserRequests4(params) => {
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
127 call(params.fromPath[String]("name", None)) { (name) =>
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
128 invokeHandler(_root_.controllers.User.getUserRequests(name), HandlerDef(this, "controllers.User", "getUserRequests", Seq(classOf[String])))
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
129 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
130 }
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
131
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
132
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
133 // @LINE:11
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
134 case controllers_User_getUserConsensus5(params) => {
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
135 call(params.fromPath[String]("name", None)) { (name) =>
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
136 invokeHandler(_root_.controllers.User.getUserConsensus(name), HandlerDef(this, "controllers.User", "getUserConsensus", Seq(classOf[String])))
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
137 }
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
138 }
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
139
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
140
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
141 // @LINE:12
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
142 case controllers_User_getUserClaims6(params) => {
11
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
143 call(params.fromPath[String]("name", None)) { (name) =>
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
144 invokeHandler(_root_.controllers.User.getUserClaims(name), HandlerDef(this, "controllers.User", "getUserClaims", Seq(classOf[String])))
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
145 }
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
146 }
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
147
6aa0452a7f9f add controllers/Claim.java
one
parents: 9
diff changeset
148
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
149 // @LINE:13
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
150 case controllers_Claim_getClaimInfo7(params) => {
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
151 call(params.fromPath[String]("id", None)) { (id) =>
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
152 invokeHandler(_root_.controllers.Claim.getClaimInfo(id), HandlerDef(this, "controllers.Claim", "getClaimInfo", Seq(classOf[String])))
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
153 }
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
154 }
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
155
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
156
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
157 // @LINE:14
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
158 case controllers_Claim_getClaimTree8(params) => {
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
159 call(params.fromPath[String]("id", None)) { (id) =>
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
160 invokeHandler(_root_.controllers.Claim.getClaimTree(id), HandlerDef(this, "controllers.Claim", "getClaimTree", Seq(classOf[String])))
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
161 }
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
162 }
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
163
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
164
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
165 // @LINE:15
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
166 case controllers_Claim_getClaimTree9(params) => {
30
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
167 call(params.fromPath[String]("id", None)) { (id) =>
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
168 invokeHandler(_root_.controllers.Claim.getClaimTree(id), HandlerDef(this, "controllers.Claim", "getClaimTree", Seq(classOf[String])))
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
169 }
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
170 }
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
171
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
172
80b5628f17d8 modified ClaimModel/getInfo action
one
parents: 26
diff changeset
173 // @LINE:16
40
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
174 case controllers_Claim_getUserConsensusStatus10(params) => {
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
175 call(params.fromPath[String]("id", None), params.fromPath[String]("name", None)) { (id, name) =>
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
176 invokeHandler(_root_.controllers.Claim.getUserConsensusStatus(id, name), HandlerDef(this, "controllers.Claim", "getUserConsensusStatus", Seq(classOf[String], classOf[String])))
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
177 }
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
178 }
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
179
1d5c086e069b create getAllUsers() action.
one
parents: 37
diff changeset
180
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
181 // @LINE:17
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
182 case controllers_Claim_updateUserConsensusStatus11(params) => {
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
183 call(params.fromPath[String]("id", None), params.fromPath[String]("name", None), params.fromPath[String]("status", None)) { (id, name, status) =>
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
184 invokeHandler(_root_.controllers.Claim.updateUserConsensusStatus(id, name, status), HandlerDef(this, "controllers.Claim", "updateUserConsensusStatus", Seq(classOf[String], classOf[String], classOf[String])))
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
185 }
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
186 }
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
187
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
188
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
189 // @LINE:18
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
190 case controllers_Claim_crateClaim12(params) => {
17
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
191 call {
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
192 invokeHandler(_root_.controllers.Claim.crateClaim(), HandlerDef(this, "controllers.Claim", "crateClaim", Nil))
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
a134edaebf6f modified UserModel/appendRequests
one
parents: 14
diff changeset
196
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
197 // @LINE:19
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
198 case controllers_Claim_createMention13(params) => {
26
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
199 call(params.fromPath[String]("mentionType", None), params.fromPath[String]("id", None)) { (mentionType, id) =>
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
200 invokeHandler(_root_.controllers.Claim.createMention(mentionType, id), HandlerDef(this, "controllers.Claim", "createMention", Seq(classOf[String], classOf[String])))
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
201 }
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
202 }
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
203
ad7cfb1f9d03 modified checkconsensus
one
parents: 17
diff changeset
204
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
205 // @LINE:20
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
206 case controllers_Claim_editClaim14(params) => {
37
bc3ac73320f9 fix const value FAILED from FAIL
one
parents: 32
diff changeset
207 call(params.fromPath[String]("id", None)) { (id) =>
bc3ac73320f9 fix const value FAILED from FAIL
one
parents: 32
diff changeset
208 invokeHandler(_root_.controllers.Claim.editClaim(id), HandlerDef(this, "controllers.Claim", "editClaim", Seq(classOf[String])))
bc3ac73320f9 fix const value FAILED from FAIL
one
parents: 32
diff changeset
209 }
bc3ac73320f9 fix const value FAILED from FAIL
one
parents: 32
diff changeset
210 }
bc3ac73320f9 fix const value FAILED from FAIL
one
parents: 32
diff changeset
211
bc3ac73320f9 fix const value FAILED from FAIL
one
parents: 32
diff changeset
212
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
213 // @LINE:24
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
214 case controllers_Application_hello15(params) => {
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
215 call {
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
216 invokeHandler(_root_.controllers.Application.hello(), HandlerDef(this, "controllers.Application", "hello", Nil))
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 }
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
219
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
220
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
221 // @LINE:25
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
222 case controllers_Application_test16(params) => {
9
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
223 call {
d050b7fb4cda create getUserRequests action
one
parents: 7
diff changeset
224 invokeHandler(_root_.controllers.Application.test(), HandlerDef(this, "controllers.Application", "test", Nil))
6
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
225 }
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
226 }
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
227
d6afc58ce3f5 remove target/
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
228
42
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
229 // @LINE:29
4321d97da830 modified updateUserConsensusStatus
one
parents: 40
diff changeset
230 case controllers_Assets_at17(params) => {
0
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
231 call(Param[String]("path", Right("/public")), params.fromPath[String]("file", None)) { (path, file) =>
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
232 invokeHandler(_root_.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
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