play.api.rest

Level1

Related Doc: package rest

abstract class Level1[A, Ctx <: Context] extends Resource1[A] with Endpoint1[A]

Level implementations for various levels of resources

NOTE: The file was automatically generated

Self Type
Level1[A, Ctx]
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Level1
  2. Endpoint1
  3. Bindable
  4. Resource1
  5. ResourceLifecycle1
  6. ResourceHandler1
  7. ResourceHandler
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Level1()(implicit _errors: Errors, _formats: (Ctx) ⇒ Format[A], _errorWrites: Writes[Error], _contextFactory: ContextFactory1[Ctx], _transaction: TransactionBuilder, _loader: (Long) ⇒ (rest.Context) ⇒ Either[Error, A], tagA: ClassTag[A])

Type Members

  1. implicit class AllResults extends AnyRef

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  2. type CollectionOrError = Either[Error, (Long, Traversable[A])]

    Definition Classes
    ResourceLifecycle1
  3. type Context = Ctx

    Definition Classes
    Level1ResourceLifecycle1
  4. type ContextOrError = Either[Error, Context]

    Definition Classes
    ResourceLifecycle1
  5. type ItemOrError = Either[Error, A]

    Definition Classes
    ResourceLifecycle1
  6. class NestedEndpoint extends AnyRef

    Definition Classes
    Endpoint1

Abstract Value Members

  1. abstract def bind(): Unit

    Definition Classes
    Bindable
  2. abstract def delete(v1: A)(implicit context: Context): ItemOrError

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  3. abstract def list()(implicit context: Context): CollectionOrError

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  4. abstract def patch(v1: A, d1: A)(implicit context: Context): ItemOrError

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  5. abstract def post(d1: A)(implicit context: Context): ItemOrError

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  6. abstract def put(v1: A, d1: A)(implicit context: Context): ItemOrError

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def /(name: String): NestedEndpoint

    Definition Classes
    Endpoint1
  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. def afterFailedDelete(error: Error)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  6. def afterFailedGet(error: Error)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  7. def afterFailedList(error: Error)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  8. def afterFailedPatch(error: Error)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  9. def afterFailedPost(error: Error)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  10. def afterFailedPut(error: Error)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  11. def afterFailure(error: Error)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  12. def afterSuccessfulDelete(v1: A)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  13. def afterSuccessfulGet(v1: A)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  14. def afterSuccessfulList()(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  15. def afterSuccessfulPatch(v1: A)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  16. def afterSuccessfulPost(v1: A)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  17. def afterSuccessfulPut(v1: A)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  18. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  19. def beforeDelete(v1: A)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  20. def beforeGet(v1: A)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  21. def beforeList()(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  22. def beforePatch(v1: A)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  23. def beforePost()(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  24. def beforePut(v1: A)(implicit context: Context): Unit

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  25. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def contextFactory: ContextFactory1[Ctx]

    Attributes
    protected
    Definition Classes
    Level1Resource1
  27. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  29. implicit def errorWrites: Writes[Error]

    Attributes
    protected
    Definition Classes
    Level1Resource1
  30. def errors: Errors

    Attributes
    protected
    Definition Classes
    Level1Resource1
  31. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. implicit def formats: (Context) ⇒ Format[A]

    Attributes
    protected
    Definition Classes
    Level1Resource1
  33. def get(v1: A)(implicit context: Context): ItemOrError

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  34. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  35. def handleDelete: (Res[A]) ⇒ Handler

    Definition Classes
    ResourceHandler1ResourceHandler
  36. def handleGet: (Res[A]) ⇒ Handler

    Definition Classes
    ResourceHandler1ResourceHandler
  37. def handleHead: (Res[A]) ⇒ Handler

    Definition Classes
    ResourceHandler1ResourceHandler
  38. def handleList: Handler

    Definition Classes
    ResourceHandler1ResourceHandler
  39. def handleOptions: (Res[A]) ⇒ Handler

    Definition Classes
    ResourceHandler1ResourceHandler
  40. def handlePatch: (Res[A]) ⇒ Handler

    Definition Classes
    ResourceHandler1ResourceHandler
  41. def handlePost: Handler

    Definition Classes
    ResourceHandler1ResourceHandler
  42. def handlePut: (Res[A]) ⇒ Handler

    Definition Classes
    ResourceHandler1ResourceHandler
  43. val handler: Router[A, Handler]

    Attributes
    protected
    Definition Classes
    Endpoint1
  44. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  45. def isEligibleForDelete(id1: Long)(implicit context: Context): Boolean

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  46. def isEligibleForGet(id1: Long)(implicit context: Context): Boolean

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  47. def isEligibleForList()(implicit context: Context): Boolean

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  48. def isEligibleForPatch(id1: Long)(implicit context: Context): Boolean

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  49. def isEligibleForPost()(implicit context: Context): Boolean

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  50. def isEligibleForPut(id1: Long)(implicit context: Context): Boolean

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  51. def isEligibleForRead()(implicit context: Context): Boolean

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  52. def isEligibleForWrite()(implicit context: Context): Boolean

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  53. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  54. def load(id: Long)(implicit context: rest.Context): Either[Error, A]

    Definition Classes
    Level1ResourceHandler
  55. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  56. final def notify(): Unit

    Definition Classes
    AnyRef
  57. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  58. def processDelete(res1: Res[A]): Handler

    Attributes
    protected
    Definition Classes
    Resource1ResourceHandler1
  59. def processGet(res1: Res[A]): Handler

    Attributes
    protected
    Definition Classes
    Resource1ResourceHandler1
  60. def processHead(res1: Res[A]): Handler

    Attributes
    protected
    Definition Classes
    Resource1ResourceHandler1
  61. def processList(): Handler

    Attributes
    protected
    Definition Classes
    Resource1ResourceHandler1
  62. def processOptions(res1: Res[A]): Handler

    Attributes
    protected
    Definition Classes
    Resource1ResourceHandler1
  63. def processPatch(res1: Res[A]): Handler

    Attributes
    protected
    Definition Classes
    Resource1ResourceHandler1
  64. def processPost(): Handler

    Attributes
    protected
    Definition Classes
    Resource1ResourceHandler1
  65. def processPut(res1: Res[A]): Handler

    Attributes
    protected
    Definition Classes
    Resource1ResourceHandler1
  66. def serialize(error: Error)(implicit context: Context, writes: Writes[Error]): JsValue

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  67. def serialize(collection: Traversable[A])(implicit context: Context, writes: (Context) ⇒ Writes[A]): JsValue

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  68. def serialize(v1: A)(implicit context: Context, writes: (Context) ⇒ Writes[A]): JsValue

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  69. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  70. implicit val tagA: ClassTag[A]

    Attributes
    protected
  71. def toDeleteResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  72. def toErrorResult[Content](error: Error, data: Content)(implicit context: Context, writable: Writeable[Content]): Result

    Attributes
    protected
    Definition Classes
    Level1ResourceLifecycle1
  73. def toGetResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  74. implicit def toLeft(error: Error): Left[Error, Nothing]

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  75. def toListResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  76. def toPatchResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  77. def toPostResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  78. def toPutResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  79. implicit def toRight(t: (Long, Traversable[A])): Right[Nothing, (Long, Traversable[A])]

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  80. implicit def toRight(t: A): Right[Nothing, A]

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  81. def toString(): String

    Definition Classes
    AnyRef → Any
  82. implicit def transaction: TransactionBuilder

    Attributes
    protected
    Definition Classes
    Level1Resource1
  83. implicit def unpack(endpoint: Endpoint1[A]): ResourceRouter[A, Handler]

    Definition Classes
    Endpoint1
  84. def validatePatch(v1: A, d1: A)(implicit context: Context): ItemOrError

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  85. def validatePost(d1: A)(implicit context: Context): ItemOrError

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  86. def validatePut(v1: A, d1: A)(implicit context: Context): ItemOrError

    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  87. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  88. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Endpoint1[A]

Inherited from Bindable

Inherited from Resource1[A]

Inherited from ResourceLifecycle1[A]

Inherited from ResourceHandler1[A]

Inherited from ResourceHandler[A, Handler]

Inherited from AnyRef

Inherited from Any

Ungrouped