abstract
class
Level1[A, Ctx <: Context] extends Resource1[A] with Endpoint1[A]
Type Members
-
implicit
class
AllResults extends AnyRef
-
type
CollectionOrError = Either[Error, (Long, Traversable[A])]
-
type
Context = Ctx
-
type
ContextOrError = Either[Error, Context]
-
type
ItemOrError = Either[Error, A]
-
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
final
def
==(arg0: Any): Boolean
-
def
afterFailedDelete(error: Error)(implicit context: Context): Unit
-
def
afterFailedGet(error: Error)(implicit context: Context): Unit
-
def
afterFailedList(error: Error)(implicit context: Context): Unit
-
def
afterFailedPatch(error: Error)(implicit context: Context): Unit
-
def
afterFailedPost(error: Error)(implicit context: Context): Unit
-
def
afterFailedPut(error: Error)(implicit context: Context): Unit
-
def
afterFailure(error: Error)(implicit context: Context): Unit
-
def
afterSuccessfulDelete(v1: A)(implicit context: Context): Unit
-
def
afterSuccessfulGet(v1: A)(implicit context: Context): Unit
-
def
afterSuccessfulList()(implicit context: Context): Unit
-
def
afterSuccessfulPatch(v1: A)(implicit context: Context): Unit
-
def
afterSuccessfulPost(v1: A)(implicit context: Context): Unit
-
def
afterSuccessfulPut(v1: A)(implicit context: Context): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
beforeDelete(v1: A)(implicit context: Context): Unit
-
def
beforeGet(v1: A)(implicit context: Context): Unit
-
def
beforeList()(implicit context: Context): Unit
-
def
beforePatch(v1: A)(implicit context: Context): Unit
-
def
beforePost()(implicit context: Context): Unit
-
def
beforePut(v1: A)(implicit context: Context): Unit
-
def
clone(): AnyRef
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
implicit
def
errorWrites: Writes[Error]
-
-
def
finalize(): Unit
-
implicit
def
formats: (Context) ⇒ Format[A]
-
-
final
def
getClass(): Class[_]
-
def
handleDelete: (Res[A]) ⇒ Handler
-
def
handleGet: (Res[A]) ⇒ Handler
-
def
handleHead: (Res[A]) ⇒ Handler
-
def
handleList: Handler
-
def
handleOptions: (Res[A]) ⇒ Handler
-
def
handlePatch: (Res[A]) ⇒ Handler
-
def
handlePost: Handler
-
def
handlePut: (Res[A]) ⇒ Handler
-
val
handler: Router[A, Handler]
-
def
hashCode(): Int
-
def
isEligibleForDelete(id1: Long)(implicit context: Context): Boolean
-
def
isEligibleForGet(id1: Long)(implicit context: Context): Boolean
-
def
isEligibleForList()(implicit context: Context): Boolean
-
def
isEligibleForPatch(id1: Long)(implicit context: Context): Boolean
-
def
isEligibleForPost()(implicit context: Context): Boolean
-
def
isEligibleForPut(id1: Long)(implicit context: Context): Boolean
-
def
isEligibleForRead()(implicit context: Context): Boolean
-
def
isEligibleForWrite()(implicit context: Context): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
load(id: Long)(implicit context: rest.Context): Either[Error, A]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
processDelete(res1: Res[A]): Handler
-
def
processGet(res1: Res[A]): Handler
-
def
processHead(res1: Res[A]): Handler
-
def
processList(): Handler
-
def
processOptions(res1: Res[A]): Handler
-
def
processPatch(res1: Res[A]): Handler
-
def
processPost(): Handler
-
def
processPut(res1: Res[A]): Handler
-
def
serialize(error: Error)(implicit context: Context, writes: Writes[Error]): JsValue
-
def
serialize(collection: Traversable[A])(implicit context: Context, writes: (Context) ⇒ Writes[A]): JsValue
-
def
serialize(v1: A)(implicit context: Context, writes: (Context) ⇒ Writes[A]): JsValue
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
implicit
val
tagA: ClassTag[A]
-
def
toDeleteResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result
-
def
toErrorResult[Content](error: Error, data: Content)(implicit context: Context, writable: Writeable[Content]): Result
-
def
toGetResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result
-
implicit
def
toLeft(error: Error): Left[Error, Nothing]
-
def
toListResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result
-
def
toPatchResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result
-
def
toPostResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result
-
def
toPutResult[Content](data: Content)(implicit context: Context, writable: Writeable[Content]): Result
-
implicit
def
toRight(t: (Long, Traversable[A])): Right[Nothing, (Long, Traversable[A])]
-
implicit
def
toRight(t: A): Right[Nothing, A]
-
def
toString(): String
-
-
implicit
def
unpack(endpoint: Endpoint1[A]): ResourceRouter[A, Handler]
-
def
validatePatch(v1: A, d1: A)(implicit context: Context): ItemOrError
-
def
validatePost(d1: A)(implicit context: Context): ItemOrError
-
def
validatePut(v1: A, d1: A)(implicit context: Context): ItemOrError
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Level implementations for various levels of resources
NOTE: The file was automatically generated