diff target/scala-2.9.1/src_managed/main/routes_routing.scala @ 93:d66ac07e1c36 draft

modified createMention action
author one
date Tue, 12 Mar 2013 17:44:03 +0900
parents d45f76774fd8
children
line wrap: on
line diff
--- a/target/scala-2.9.1/src_managed/main/routes_routing.scala	Tue Mar 12 16:18:51 2013 +0900
+++ b/target/scala-2.9.1/src_managed/main/routes_routing.scala	Tue Mar 12 17:44:03 2013 +0900
@@ -1,6 +1,6 @@
 // @SOURCE:/Users/aotokage/workspace/Consensus/conf/routes
-// @HASH:c63a64535bfaa3745457e0d67fb1553410200784
-// @DATE:Sat Mar 09 23:16:45 JST 2013
+// @HASH:140c6d47b554b05b65d9fef9de4b3aaeb403b922
+// @DATE:Tue Mar 12 16:12:18 JST 2013
 
 import play.core._
 import play.core.Router._
@@ -75,37 +75,41 @@
                     
 
 // @LINE:24
-val controllers_User_getUserLatestClaims15 = Route("GET", PathPattern(List(StaticPart("/users/latest/claims/"),DynamicPart("name", """[^/]+"""))))
+val controllers_Claim_getLatestClaimTree15 = Route("GET", PathPattern(List(StaticPart("/consensus/browse/latest/"),DynamicPart("id", """[^/]+"""))))
                     
 
-// @LINE:27
-val controllers_Claim_getClaimRevision16 = Route("GET", PathPattern(List(StaticPart("/claims/get/revision/"),DynamicPart("id", """[^/]+"""))))
+// @LINE:25
+val controllers_User_getUserLatestClaims16 = Route("GET", PathPattern(List(StaticPart("/users/latest/claims/"),DynamicPart("name", """[^/]+"""))))
                     
 
-// @LINE:30
-val controllers_Claim_copyClaims17 = Route("GET", PathPattern(List(StaticPart("/copytree/"),DynamicPart("id", """[^/]+"""))))
+// @LINE:28
+val controllers_Claim_getClaimRevision17 = Route("GET", PathPattern(List(StaticPart("/claims/get/revision/"),DynamicPart("id", """[^/]+"""))))
                     
 
-// @LINE:33
-val controllers_Claim_reset18 = Route("GET", PathPattern(List(StaticPart("/reset"))))
+// @LINE:31
+val controllers_Claim_copyClaims18 = Route("GET", PathPattern(List(StaticPart("/copytree/"),DynamicPart("id", """[^/]+"""))))
                     
 
-// @LINE:36
-val controllers_Application_hello19 = Route("POST", PathPattern(List(StaticPart("/hello"))))
+// @LINE:34
+val controllers_Claim_reset19 = Route("GET", PathPattern(List(StaticPart("/reset"))))
                     
 
 // @LINE:37
-val controllers_Application_test20 = Route("GET", PathPattern(List(StaticPart("/test"))))
+val controllers_Application_hello20 = Route("POST", PathPattern(List(StaticPart("/hello"))))
                     
 
-// @LINE:42
-val controllers_Assets_at21 = Route("GET", PathPattern(List(StaticPart("/"))))
+// @LINE:38
+val controllers_Application_test21 = Route("GET", PathPattern(List(StaticPart("/test"))))
                     
 
 // @LINE:43
-val controllers_Assets_at22 = Route("GET", PathPattern(List(StaticPart("/"),DynamicPart("file", """.+"""))))
+val controllers_Assets_at22 = Route("GET", PathPattern(List(StaticPart("/"))))
                     
-def documentation = List(("""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.createClaim()"""),("""POST""","""/claims/$mentionType<[^/]+>/$id<[^/]+>/create""","""controllers.Claim.createMention(mentionType:String, id:String)"""),("""POST""","""/claims/edit/$id<[^/]+>""","""controllers.Claim.editClaim(id:String)"""),("""GET""","""/users/latest/consensus/$name<[^/]+>""","""controllers.User.getUserLatestConsensus(name:String)"""),("""GET""","""/users/latest/claims/$name<[^/]+>""","""controllers.User.getUserLatestClaims(name:String)"""),("""GET""","""/claims/get/revision/$id<[^/]+>""","""controllers.Claim.getClaimRevision(id:String)"""),("""GET""","""/copytree/$id<[^/]+>""","""controllers.Claim.copyClaims(id:String)"""),("""GET""","""/reset""","""controllers.Claim.reset()"""),("""POST""","""/hello""","""controllers.Application.hello()"""),("""GET""","""/test""","""controllers.Application.test()"""),("""GET""","""/""","""controllers.Assets.at(path:String = "/public/viewer", file:String = "index.html")"""),("""GET""","""/$file<.+>""","""controllers.Assets.at(path:String = "/public/viewer", file:String)"""))
+
+// @LINE:44
+val controllers_Assets_at23 = Route("GET", PathPattern(List(StaticPart("/"),DynamicPart("file", """.+"""))))
+                    
+def documentation = List(("""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.createClaim()"""),("""POST""","""/claims/$mentionType<[^/]+>/$id<[^/]+>/create""","""controllers.Claim.createMention(mentionType:String, id:String)"""),("""POST""","""/claims/edit/$id<[^/]+>""","""controllers.Claim.editClaim(id:String)"""),("""GET""","""/users/latest/consensus/$name<[^/]+>""","""controllers.User.getUserLatestConsensus(name:String)"""),("""GET""","""/consensus/browse/latest/$id<[^/]+>""","""controllers.Claim.getLatestClaimTree(id:String)"""),("""GET""","""/users/latest/claims/$name<[^/]+>""","""controllers.User.getUserLatestClaims(name:String)"""),("""GET""","""/claims/get/revision/$id<[^/]+>""","""controllers.Claim.getClaimRevision(id:String)"""),("""GET""","""/copytree/$id<[^/]+>""","""controllers.Claim.copyClaims(id:String)"""),("""GET""","""/reset""","""controllers.Claim.reset()"""),("""POST""","""/hello""","""controllers.Application.hello()"""),("""GET""","""/test""","""controllers.Application.test()"""),("""GET""","""/""","""controllers.Assets.at(path:String = "/public/viewer", file:String = "index.html")"""),("""GET""","""/$file<.+>""","""controllers.Assets.at(path:String = "/public/viewer", file:String)"""))
              
     
 def routes:PartialFunction[RequestHeader,Handler] = {        
@@ -231,63 +235,71 @@
                     
 
 // @LINE:24
-case controllers_User_getUserLatestClaims15(params) => {
+case controllers_Claim_getLatestClaimTree15(params) => {
+   call(params.fromPath[String]("id", None)) { (id) =>
+        invokeHandler(_root_.controllers.Claim.getLatestClaimTree(id), HandlerDef(this, "controllers.Claim", "getLatestClaimTree", Seq(classOf[String])))
+   }
+}
+                    
+
+// @LINE:25
+case controllers_User_getUserLatestClaims16(params) => {
    call(params.fromPath[String]("name", None)) { (name) =>
         invokeHandler(_root_.controllers.User.getUserLatestClaims(name), HandlerDef(this, "controllers.User", "getUserLatestClaims", Seq(classOf[String])))
    }
 }
                     
 
-// @LINE:27
-case controllers_Claim_getClaimRevision16(params) => {
+// @LINE:28
+case controllers_Claim_getClaimRevision17(params) => {
    call(params.fromPath[String]("id", None)) { (id) =>
         invokeHandler(_root_.controllers.Claim.getClaimRevision(id), HandlerDef(this, "controllers.Claim", "getClaimRevision", Seq(classOf[String])))
    }
 }
                     
 
-// @LINE:30
-case controllers_Claim_copyClaims17(params) => {
+// @LINE:31
+case controllers_Claim_copyClaims18(params) => {
    call(params.fromPath[String]("id", None)) { (id) =>
         invokeHandler(_root_.controllers.Claim.copyClaims(id), HandlerDef(this, "controllers.Claim", "copyClaims", Seq(classOf[String])))
    }
 }
                     
 
-// @LINE:33
-case controllers_Claim_reset18(params) => {
+// @LINE:34
+case controllers_Claim_reset19(params) => {
    call { 
         invokeHandler(_root_.controllers.Claim.reset(), HandlerDef(this, "controllers.Claim", "reset", Nil))
    }
 }
                     
 
-// @LINE:36
-case controllers_Application_hello19(params) => {
+// @LINE:37
+case controllers_Application_hello20(params) => {
    call { 
         invokeHandler(_root_.controllers.Application.hello(), HandlerDef(this, "controllers.Application", "hello", Nil))
    }
 }
                     
 
-// @LINE:37
-case controllers_Application_test20(params) => {
+// @LINE:38
+case controllers_Application_test21(params) => {
    call { 
         invokeHandler(_root_.controllers.Application.test(), HandlerDef(this, "controllers.Application", "test", Nil))
    }
 }
                     
 
-// @LINE:42
-case controllers_Assets_at21(params) => {
+// @LINE:43
+case controllers_Assets_at22(params) => {
    call(Param[String]("path", Right("/public/viewer")), Param[String]("file", Right("index.html"))) { (path, file) =>
         invokeHandler(_root_.controllers.Assets.at(path, file), HandlerDef(this, "controllers.Assets", "at", Seq(classOf[String], classOf[String])))
    }
 }
                     
 
-// @LINE:43
-case controllers_Assets_at22(params) => {
+// @LINE:44
+case controllers_Assets_at23(params) => {
    call(Param[String]("path", Right("/public/viewer")), params.fromPath[String]("file", None)) { (path, file) =>
         invokeHandler(_root_.controllers.Assets.at(path, file), HandlerDef(this, "controllers.Assets", "at", Seq(classOf[String], classOf[String])))
    }