view 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
line wrap: on
line source

// @SOURCE:/Users/aotokage/workspace/Consensus/conf/routes
// @HASH:f5c672b7256d9fa8e950b3ac1ed290083dabeefe
// @DATE:Wed Oct 03 15:56:50 JST 2012

import play.core._
import play.core.Router._
import play.core.j._

import play.api.mvc._
import play.libs.F

import Router.queryString


// @LINE:27
// @LINE:23
// @LINE:22
// @LINE:18
// @LINE:17
// @LINE:16
// @LINE:14
// @LINE:13
// @LINE:11
// @LINE:10
// @LINE:9
// @LINE:8
// @LINE:7
// @LINE:6
package controllers {

// @LINE:18
// @LINE:17
// @LINE:16
// @LINE:14
// @LINE:13
class ReverseClaim {
    


 
// @LINE:16
def crateClaim() = {
   Call("POST", "/claims/create")
}
                                                        
 
// @LINE:18
// @LINE:14
def getClaimTree(id:String) = {
   (id) match {
// @LINE:14
case (id) if true => Call("GET", "/claims/consensus/" + implicitly[PathBindable[String]].unbind("id", id))
                                                                
// @LINE:18
case (id) if true => Call("GET", "/consensus/browse/" + implicitly[PathBindable[String]].unbind("id", id))
                                                                    
   }
}
                                                        
 
// @LINE:17
def createMention(mentionType:String, id:String) = {
   Call("POST", "/claims/" + implicitly[PathBindable[String]].unbind("mentionType", mentionType) + "/" + implicitly[PathBindable[String]].unbind("id", id) + "/create")
}
                                                        
 
// @LINE:13
def getClaimInfo(id:String) = {
   Call("GET", "/claims/browse/" + implicitly[PathBindable[String]].unbind("id", id))
}
                                                        

                      
    
}
                            

// @LINE:23
// @LINE:22
// @LINE:6
class ReverseApplication {
    


 
// @LINE:23
def test() = {
   Call("GET", "/test")
}
                                                        
 
// @LINE:6
def index() = {
   Call("GET", "/")
}
                                                        
 
// @LINE:22
def hello() = {
   Call("POST", "/hello")
}
                                                        

                      
    
}
                            

// @LINE:27
class ReverseAssets {
    


 
// @LINE:27
def at(file:String) = {
   Call("GET", "/assets/" + implicitly[PathBindable[String]].unbind("file", file))
}
                                                        

                      
    
}
                            

// @LINE:11
// @LINE:10
// @LINE:9
// @LINE:8
// @LINE:7
class ReverseUser {
    


 
// @LINE:7
def createUser(name:String) = {
   Call("PUT", "/users/create/" + implicitly[PathBindable[String]].unbind("name", name))
}
                                                        
 
// @LINE:9
def getUserRequests(name:String) = {
   Call("GET", "/users/requests/" + implicitly[PathBindable[String]].unbind("name", name))
}
                                                        
 
// @LINE:8
def getUser(name:String) = {
   Call("GET", "/users/browse/" + implicitly[PathBindable[String]].unbind("name", name))
}
                                                        
 
// @LINE:10
def getUserConsensus(name:String) = {
   Call("GET", "/users/consensus/" + implicitly[PathBindable[String]].unbind("name", name))
}
                                                        
 
// @LINE:11
def getUserClaims(name:String) = {
   Call("GET", "/users/claims/" + implicitly[PathBindable[String]].unbind("name", name))
}
                                                        

                      
    
}
                            
}
                    


// @LINE:27
// @LINE:23
// @LINE:22
// @LINE:18
// @LINE:17
// @LINE:16
// @LINE:14
// @LINE:13
// @LINE:11
// @LINE:10
// @LINE:9
// @LINE:8
// @LINE:7
// @LINE:6
package controllers.javascript {

// @LINE:18
// @LINE:17
// @LINE:16
// @LINE:14
// @LINE:13
class ReverseClaim {
    


 
// @LINE:16
def crateClaim = JavascriptReverseRoute(
   "controllers.Claim.crateClaim",
   """
      function() {
      return _wA({method:"POST", url:"/claims/create"})
      }
   """
)
                                                        
 
// @LINE:18
// @LINE:14
def getClaimTree = JavascriptReverseRoute(
   "controllers.Claim.getClaimTree",
   """
      function(id) {
      if (true) {
      return _wA({method:"GET", url:"/claims/consensus/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("id", id)})
      }
      if (true) {
      return _wA({method:"GET", url:"/consensus/browse/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("id", id)})
      }
      }
   """
)
                                                        
 
// @LINE:17
def createMention = JavascriptReverseRoute(
   "controllers.Claim.createMention",
   """
      function(mentionType,id) {
      return _wA({method:"POST", url:"/claims/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("mentionType", mentionType) + "/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("id", id) + "/create"})
      }
   """
)
                                                        
 
// @LINE:13
def getClaimInfo = JavascriptReverseRoute(
   "controllers.Claim.getClaimInfo",
   """
      function(id) {
      return _wA({method:"GET", url:"/claims/browse/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("id", id)})
      }
   """
)
                                                        

                      
    
}
                            

// @LINE:23
// @LINE:22
// @LINE:6
class ReverseApplication {
    


 
// @LINE:23
def test = JavascriptReverseRoute(
   "controllers.Application.test",
   """
      function() {
      return _wA({method:"GET", url:"/test"})
      }
   """
)
                                                        
 
// @LINE:6
def index = JavascriptReverseRoute(
   "controllers.Application.index",
   """
      function() {
      return _wA({method:"GET", url:"/"})
      }
   """
)
                                                        
 
// @LINE:22
def hello = JavascriptReverseRoute(
   "controllers.Application.hello",
   """
      function() {
      return _wA({method:"POST", url:"/hello"})
      }
   """
)
                                                        

                      
    
}
                            

// @LINE:27
class ReverseAssets {
    


 
// @LINE:27
def at = JavascriptReverseRoute(
   "controllers.Assets.at",
   """
      function(file) {
      return _wA({method:"GET", url:"/assets/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("file", file)})
      }
   """
)
                                                        

                      
    
}
                            

// @LINE:11
// @LINE:10
// @LINE:9
// @LINE:8
// @LINE:7
class ReverseUser {
    


 
// @LINE:7
def createUser = JavascriptReverseRoute(
   "controllers.User.createUser",
   """
      function(name) {
      return _wA({method:"PUT", url:"/users/create/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("name", name)})
      }
   """
)
                                                        
 
// @LINE:9
def getUserRequests = JavascriptReverseRoute(
   "controllers.User.getUserRequests",
   """
      function(name) {
      return _wA({method:"GET", url:"/users/requests/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("name", name)})
      }
   """
)
                                                        
 
// @LINE:8
def getUser = JavascriptReverseRoute(
   "controllers.User.getUser",
   """
      function(name) {
      return _wA({method:"GET", url:"/users/browse/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("name", name)})
      }
   """
)
                                                        
 
// @LINE:10
def getUserConsensus = JavascriptReverseRoute(
   "controllers.User.getUserConsensus",
   """
      function(name) {
      return _wA({method:"GET", url:"/users/consensus/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("name", name)})
      }
   """
)
                                                        
 
// @LINE:11
def getUserClaims = JavascriptReverseRoute(
   "controllers.User.getUserClaims",
   """
      function(name) {
      return _wA({method:"GET", url:"/users/claims/" + (""" + implicitly[PathBindable[String]].javascriptUnbind + """)("name", name)})
      }
   """
)
                                                        

                      
    
}
                            
}
                    


// @LINE:27
// @LINE:23
// @LINE:22
// @LINE:18
// @LINE:17
// @LINE:16
// @LINE:14
// @LINE:13
// @LINE:11
// @LINE:10
// @LINE:9
// @LINE:8
// @LINE:7
// @LINE:6
package controllers.ref {

// @LINE:18
// @LINE:17
// @LINE:16
// @LINE:14
// @LINE:13
class ReverseClaim {
    


 
// @LINE:16
def crateClaim() = new play.api.mvc.HandlerRef(
   controllers.Claim.crateClaim(), HandlerDef(this, "controllers.Claim", "crateClaim", Seq())
)
                              
 
// @LINE:14
def getClaimTree(id:String) = new play.api.mvc.HandlerRef(
   controllers.Claim.getClaimTree(id), HandlerDef(this, "controllers.Claim", "getClaimTree", Seq(classOf[String]))
)
                              
 
// @LINE:17
def createMention(mentionType:String, id:String) = new play.api.mvc.HandlerRef(
   controllers.Claim.createMention(mentionType, id), HandlerDef(this, "controllers.Claim", "createMention", Seq(classOf[String], classOf[String]))
)
                              
 
// @LINE:13
def getClaimInfo(id:String) = new play.api.mvc.HandlerRef(
   controllers.Claim.getClaimInfo(id), HandlerDef(this, "controllers.Claim", "getClaimInfo", Seq(classOf[String]))
)
                              

                      
    
}
                            

// @LINE:23
// @LINE:22
// @LINE:6
class ReverseApplication {
    


 
// @LINE:23
def test() = new play.api.mvc.HandlerRef(
   controllers.Application.test(), HandlerDef(this, "controllers.Application", "test", Seq())
)
                              
 
// @LINE:6
def index() = new play.api.mvc.HandlerRef(
   controllers.Application.index(), HandlerDef(this, "controllers.Application", "index", Seq())
)
                              
 
// @LINE:22
def hello() = new play.api.mvc.HandlerRef(
   controllers.Application.hello(), HandlerDef(this, "controllers.Application", "hello", Seq())
)
                              

                      
    
}
                            

// @LINE:27
class ReverseAssets {
    


 
// @LINE:27
def at(path:String, file:String) = new play.api.mvc.HandlerRef(
   controllers.Assets.at(path, file), HandlerDef(this, "controllers.Assets", "at", Seq(classOf[String], classOf[String]))
)
                              

                      
    
}
                            

// @LINE:11
// @LINE:10
// @LINE:9
// @LINE:8
// @LINE:7
class ReverseUser {
    


 
// @LINE:7
def createUser(name:String) = new play.api.mvc.HandlerRef(
   controllers.User.createUser(name), HandlerDef(this, "controllers.User", "createUser", Seq(classOf[String]))
)
                              
 
// @LINE:9
def getUserRequests(name:String) = new play.api.mvc.HandlerRef(
   controllers.User.getUserRequests(name), HandlerDef(this, "controllers.User", "getUserRequests", Seq(classOf[String]))
)
                              
 
// @LINE:8
def getUser(name:String) = new play.api.mvc.HandlerRef(
   controllers.User.getUser(name), HandlerDef(this, "controllers.User", "getUser", Seq(classOf[String]))
)
                              
 
// @LINE:10
def getUserConsensus(name:String) = new play.api.mvc.HandlerRef(
   controllers.User.getUserConsensus(name), HandlerDef(this, "controllers.User", "getUserConsensus", Seq(classOf[String]))
)
                              
 
// @LINE:11
def getUserClaims(name:String) = new play.api.mvc.HandlerRef(
   controllers.User.getUserClaims(name), HandlerDef(this, "controllers.User", "getUserClaims", Seq(classOf[String]))
)
                              

                      
    
}
                            
}