view target/scala-2.9.1/src_managed/main/routes_reverseRouting.scala @ 17:a134edaebf6f

modified UserModel/appendRequests
author one
date Tue, 02 Oct 2012 14:51:24 +0900
parents 792fdb0c10bf
children ad7cfb1f9d03
line wrap: on
line source

// @SOURCE:/Users/aotokage/workspace/Consensus/conf/routes
// @HASH:59e0af1cf1b7de16f307bf871a5f5dfd5d4ad215
// @DATE:Tue Oct 02 11:52:43 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:22
// @LINE:18
// @LINE:17
// @LINE:13
// @LINE:11
// @LINE:10
// @LINE:9
// @LINE:8
// @LINE:7
// @LINE:6
package controllers {

// @LINE:13
class ReverseClaim {
    


 
// @LINE:13
def crateClaim() = {
   Call("POST", "/claims/create")
}
                                                        

                      
    
}
                            

// @LINE:18
// @LINE:17
// @LINE:6
class ReverseApplication {
    


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

                      
    
}
                            

// @LINE:22
class ReverseAssets {
    


 
// @LINE:22
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:22
// @LINE:18
// @LINE:17
// @LINE:13
// @LINE:11
// @LINE:10
// @LINE:9
// @LINE:8
// @LINE:7
// @LINE:6
package controllers.javascript {

// @LINE:13
class ReverseClaim {
    


 
// @LINE:13
def crateClaim = JavascriptReverseRoute(
   "controllers.Claim.crateClaim",
   """
      function() {
      return _wA({method:"POST", url:"/claims/create"})
      }
   """
)
                                                        

                      
    
}
                            

// @LINE:18
// @LINE:17
// @LINE:6
class ReverseApplication {
    


 
// @LINE:18
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:17
def hello = JavascriptReverseRoute(
   "controllers.Application.hello",
   """
      function() {
      return _wA({method:"POST", url:"/hello"})
      }
   """
)
                                                        

                      
    
}
                            

// @LINE:22
class ReverseAssets {
    


 
// @LINE:22
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:22
// @LINE:18
// @LINE:17
// @LINE:13
// @LINE:11
// @LINE:10
// @LINE:9
// @LINE:8
// @LINE:7
// @LINE:6
package controllers.ref {

// @LINE:13
class ReverseClaim {
    


 
// @LINE:13
def crateClaim() = new play.api.mvc.HandlerRef(
   controllers.Claim.crateClaim(), HandlerDef(this, "controllers.Claim", "crateClaim", Seq())
)
                              

                      
    
}
                            

// @LINE:18
// @LINE:17
// @LINE:6
class ReverseApplication {
    


 
// @LINE:18
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:17
def hello() = new play.api.mvc.HandlerRef(
   controllers.Application.hello(), HandlerDef(this, "controllers.Application", "hello", Seq())
)
                              

                      
    
}
                            

// @LINE:22
class ReverseAssets {
    


 
// @LINE:22
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]))
)
                              

                      
    
}
                            
}