play.api.rest

ResourceLifecycle2

Related Doc: package rest

trait ResourceLifecycle2[A, B] extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ResourceLifecycle2
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit class AllResults extends AnyRef

    Attributes
    protected
  2. type CollectionOrError = Either[Error, (Long, Traversable[B])]

  3. abstract type Context <: rest.Context

  4. type ContextOrError = Either[Error, Context]

  5. type ItemOrError = Either[Error, B]

Abstract Value Members

  1. abstract def delete(v1: A, v2: B)(implicit context: Context): ItemOrError

    Attributes
    protected
  2. abstract def list(v1: A)(implicit context: Context): CollectionOrError

    Attributes
    protected
  3. abstract def patch(v1: A, v2: B, d2: B)(implicit context: Context): ItemOrError

    Attributes
    protected
  4. abstract def post(v1: A, d2: B)(implicit context: Context): ItemOrError

    Attributes
    protected
  5. abstract def put(v1: A, v2: B, d2: B)(implicit context: Context): ItemOrError

    Attributes
    protected
  6. abstract def toErrorResult[Content](error: Error, data: Content)(implicit context: Context, writable: Writeable[Content]): Result

    Attributes
    protected

Concrete Value Members

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

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

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

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

    Attributes
    protected
  5. def afterFailedGet(error: Error)(implicit context: Context): Unit

    Attributes
    protected
  6. def afterFailedList(error: Error)(implicit context: Context): Unit

    Attributes
    protected
  7. def afterFailedPatch(error: Error)(implicit context: Context): Unit

    Attributes
    protected
  8. def afterFailedPost(error: Error)(implicit context: Context): Unit

    Attributes
    protected
  9. def afterFailedPut(error: Error)(implicit context: Context): Unit

    Attributes
    protected
  10. def afterFailure(error: Error)(implicit context: Context): Unit

    Attributes
    protected
  11. def afterSuccessfulDelete(v1: A, v2: B)(implicit context: Context): Unit

    Attributes
    protected
  12. def afterSuccessfulGet(v1: A, v2: B)(implicit context: Context): Unit

    Attributes
    protected
  13. def afterSuccessfulList(v1: A)(implicit context: Context): Unit

    Attributes
    protected
  14. def afterSuccessfulPatch(v1: A, v2: B)(implicit context: Context): Unit

    Attributes
    protected
  15. def afterSuccessfulPost(v1: A, v2: B)(implicit context: Context): Unit

    Attributes
    protected
  16. def afterSuccessfulPut(v1: A, v2: B)(implicit context: Context): Unit

    Attributes
    protected
  17. final def asInstanceOf[T0]: T0

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

    Attributes
    protected
  19. def beforeGet(v1: A, v2: B)(implicit context: Context): Unit

    Attributes
    protected
  20. def beforeList(v1: A)(implicit context: Context): Unit

    Attributes
    protected
  21. def beforePatch(v1: A, v2: B)(implicit context: Context): Unit

    Attributes
    protected
  22. def beforePost(v1: A)(implicit context: Context): Unit

    Attributes
    protected
  23. def beforePut(v1: A, v2: B)(implicit context: Context): Unit

    Attributes
    protected
  24. def clone(): AnyRef

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

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

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

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

    Attributes
    protected
  29. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  30. def hashCode(): Int

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

    Attributes
    protected
  32. def isEligibleForGet(id1: Long, id2: Long)(implicit context: Context): Boolean

    Attributes
    protected
  33. def isEligibleForList(id1: Long)(implicit context: Context): Boolean

    Attributes
    protected
  34. def isEligibleForPatch(id1: Long, id2: Long)(implicit context: Context): Boolean

    Attributes
    protected
  35. def isEligibleForPost(id1: Long)(implicit context: Context): Boolean

    Attributes
    protected
  36. def isEligibleForPut(id1: Long, id2: Long)(implicit context: Context): Boolean

    Attributes
    protected
  37. def isEligibleForRead(id1: Long)(implicit context: Context): Boolean

    Attributes
    protected
  38. def isEligibleForWrite(id1: Long)(implicit context: Context): Boolean

    Attributes
    protected
  39. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  43. def serialize(error: Error)(implicit context: Context, writes: Writes[Error]): JsValue

    Attributes
    protected
  44. def serialize(collection: Traversable[B])(implicit context: Context, writes: (Context) ⇒ Writes[B]): JsValue

    Attributes
    protected
  45. def serialize(v2: B)(implicit context: Context, writes: (Context) ⇒ Writes[B]): JsValue

    Attributes
    protected
  46. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Attributes
    protected
  49. implicit def toLeft(error: Error): Left[Error, Nothing]

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

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

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

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

    Attributes
    protected
  54. implicit def toRight(t: (Long, Traversable[B])): Right[Nothing, (Long, Traversable[B])]

    Attributes
    protected
  55. implicit def toRight(t: B): Right[Nothing, B]

    Attributes
    protected
  56. def toString(): String

    Definition Classes
    AnyRef → Any
  57. def validatePatch(v1: A, v2: B, d2: B)(implicit context: Context): ItemOrError

    Attributes
    protected
  58. def validatePost(v1: A, d2: B)(implicit context: Context): ItemOrError

    Attributes
    protected
  59. def validatePut(v1: A, v2: B, d2: B)(implicit context: Context): ItemOrError

    Attributes
    protected
  60. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped