Trait

play.api.rest

Resource1

Related Doc: package rest

Permalink

trait Resource1[A] extends ResourceHandler1[A] with ResourceLifecycle1[A]

Resource implementations for various levels of resources

NOTE: The file was automatically generated

Linear Supertypes
ResourceLifecycle1[A], ResourceHandler1[A], ResourceHandler[A, Handler], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Resource1
  2. ResourceLifecycle1
  3. ResourceHandler1
  4. ResourceHandler
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class AllResults extends AnyRef

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

    Permalink
    Definition Classes
    ResourceLifecycle1
  3. abstract type Context <: rest.Context

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

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

    Permalink
    Definition Classes
    ResourceLifecycle1

Abstract Value Members

  1. abstract def contextFactory: ContextFactory1[Context]

    Permalink
    Attributes
    protected
  2. abstract def delete(v1: A)(implicit context: Context): ItemOrError

    Permalink
    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  3. implicit abstract def errorWrites: Writes[Error]

    Permalink
    Attributes
    protected
  4. abstract def errors: Errors

    Permalink
    Attributes
    protected
  5. implicit abstract def formats: (Context) ⇒ Format[A]

    Permalink
    Attributes
    protected
  6. abstract def list()(implicit context: Context): CollectionOrError

    Permalink
    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  7. abstract def load(id: Long)(implicit context: rest.Context): Either[Error, A]

    Permalink
    Definition Classes
    ResourceHandler
  8. abstract def patch(v1: A, d1: A)(implicit context: Context): ItemOrError

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    ResourceLifecycle1
  12. implicit abstract def transaction: TransactionBuilder

    Permalink
    Attributes
    protected

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def get(v1: A)(implicit context: Context): ItemOrError

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

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

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

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

    Permalink
    Definition Classes
    ResourceHandler1ResourceHandler
  33. def handleList: Handler

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

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

    Permalink
    Definition Classes
    ResourceHandler1ResourceHandler
  36. def handlePost: Handler

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

    Permalink
    Definition Classes
    ResourceHandler1ResourceHandler
  38. def hashCode(): Int

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  48. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  49. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  50. final def notifyAll(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  63. def toDeleteResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  73. def validatePatch(v1: A, d1: A)(implicit context: Context): ItemOrError

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ResourceLifecycle1[A]

Inherited from ResourceHandler1[A]

Inherited from ResourceHandler[A, Handler]

Inherited from AnyRef

Inherited from Any

Ungrouped