Packages

trait AppServiceBase[User] extends AppProvider[User] with AppStateExtractor with JsonConverterProvider with DbAccessProvider with AppI18nService with Marshalling

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AppServiceBase
  2. Marshalling
  3. DtoMarshalling
  4. QuereaseMarshalling
  5. QuereaseResultMarshalling
  6. BasicJsonMarshalling
  7. BasicMarshalling
  8. OptionMarshalling
  9. SprayJsonSupport
  10. AppI18nService
  11. DbAccessProvider
  12. JsonConverterProvider
  13. AppStateExtractor
  14. AppProvider
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type App <: AppBase[User]
    Definition Classes
    AppProvider
  2. case class GeneratedFile(name: String, contentType: ContentType, content: Array[Byte], contentDispositionType: ContentDispositionType = ContentDispositionTypes.attachment) extends Product with Serializable
    Definition Classes
    BasicMarshalling
  3. case class StreamedFile(name: String, contentType: ContentType, content: Source[ByteString, Any], contentDispositionType: ContentDispositionType = ContentDispositionTypes.attachment) extends Product with Serializable
    Definition Classes
    BasicMarshalling

Abstract Value Members

  1. abstract def initApp: (AppServiceBase.this)#App

    Override this method in subclass to initialize

    Override this method in subclass to initialize

    app

    . app }}}

    Attributes
    protected
    Definition Classes
    AppProvider

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. val ApplicationLanguageCookiePostfix: String
    Definition Classes
    AppI18nService
  5. val ApplicationStateCookiePrefix: String
    Definition Classes
    AppStateExtractor
  6. implicit val ContentTypeUnmarshaller: FromEntityUnmarshaller[ContentType]
    Definition Classes
    BasicMarshalling
  7. val DefaultResourceExtensions: Set[String]
  8. val DefaultResourcePathBase: String
  9. implicit val HeadersUnmarshaller: FromResponseUnmarshaller[Seq[HttpHeader]]
    Definition Classes
    BasicMarshalling
  10. implicit val SourceUnmarshaller: FromEntityUnmarshaller[Source[ByteString, Any]]
    Definition Classes
    BasicMarshalling
  11. implicit val StatusCodeUnmarshaller: FromResponseUnmarshaller[StatusCode]
    Definition Classes
    BasicMarshalling
  12. implicit def TupleUnmarshaller[A, B, P](implicit ma: Unmarshaller[P, A], mb: Unmarshaller[P, B]): Unmarshaller[P, (A, B)]
    Definition Classes
    BasicMarshalling
  13. implicit val UnitUnmarshaller: FromResponseUnmarshaller[Unit]
    Definition Classes
    BasicMarshalling
  14. def apiAction(implicit user: User): StandardRoute
  15. def apiPath: Directive[Unit]
  16. final val app: (AppServiceBase.this)#App
    Definition Classes
    AppProvider
  17. def applicationLocale: Directive[(Locale)]
    Definition Classes
    AppI18nService
  18. def applicationState: Directive1[ApplicationState]
    Definition Classes
    AppStateExtractor
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  21. def combinedWithEC[A, B, C](marshal: (ExecutionContext) ⇒ (A) ⇒ B)(implicit m2: Marshaller[B, C]): Marshaller[A, C]
    Definition Classes
    BasicMarshalling
  22. def contentDisposition(fileName: String, dispositionType: ContentDispositionType): List[RawHeader]
    Definition Classes
    BasicMarshalling
  23. def countAction(viewName: String)(implicit user: User, state: ApplicationState, timeout: QueryTimeout): (RequestContext) ⇒ Future[RouteResult]
  24. def countPath: Directive[(String)]
  25. def createAction(viewName: String)(implicit user: User, state: ApplicationState, timeout: QueryTimeout): (RequestContext) ⇒ Future[RouteResult]
  26. def createPath: Directive[(String)]
  27. def crudAction(implicit user: User): Route
  28. def crudActionOnKeyInPath(implicit user: User): (RequestContext) ⇒ Future[RouteResult]
    Annotations
    @nowarn()
  29. def crudPath: Directive[Unit]
  30. def currentLangFromHeader(request: HttpRequest): Option[String]
    Definition Classes
    AppI18nService
  31. def dbAccess: AppBase[User] with DbAccess with Authorization[User] with ValidationEngine with DbConstraintMessage with Audit[User]
    Definition Classes
    AppServiceBaseDbAccessProvider
  32. def decodeMultiParams(params: Map[String, List[String]]): Map[String, List[Any]]
  33. def decodeParam(key: String, value: String): Any
  34. def decodeParams(params: Map[String, List[String]]): Map[String, Any]
  35. def deleteAction(viewName: String, id: Long)(implicit user: User, state: ApplicationState, timeout: QueryTimeout): (RequestContext) ⇒ Future[RouteResult]
  36. def deleteByKeyAction(viewName: String, keyValues: Seq[Any])(implicit user: User, state: ApplicationState, timeout: QueryTimeout): Route
  37. def deleteByKeyPath: Directive[(String, List[String])]
  38. def deletePath: Directive[(String, Long)]
  39. implicit val dtoForViewMarshaller: ToEntityMarshaller[(Dto, String)]
    Definition Classes
    DtoMarshalling
  40. implicit val dtoMarshaller: ToEntityMarshaller[Dto]
    Definition Classes
    DtoMarshalling
  41. implicit val dtoSeqForViewMarshaller: ToEntityMarshaller[(Seq[Dto], String)]
    Definition Classes
    DtoMarshalling
  42. implicit val dtoSeqMarshaller: ToEntityMarshaller[Seq[Dto]]
    Definition Classes
    DtoMarshalling
  43. implicit def dtoSeqUnmarshaller[T <: Dto](implicit m: Manifest[T]): FromEntityUnmarshaller[Seq[T]]
    Definition Classes
    DtoMarshalling
  44. implicit def dtoUnmarshaller[T <: Dto](implicit m: Manifest[T]): FromEntityUnmarshaller[T]
    Definition Classes
    DtoMarshalling
  45. def entityAsMapOrException(viewName: String): Directive1[Map[String, Any]]
  46. def entityOrException[T](um: FromRequestUnmarshaller[T]): Directive1[T]
  47. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  49. def escapeReflectedXss(msg: String): String
  50. def extractState(req: HttpRequest, prefix: String): ApplicationState
    Attributes
    protected
    Definition Classes
    AppStateExtractor
  51. def fallbackFilename(filename: String): String
    Definition Classes
    BasicMarshalling
  52. def fileStreamerConfigs: Seq[AppFileStreamerConfig]
    Attributes
    protected
  53. def filterPars(params: Map[String, List[String]]): Map[String, Any]
  54. implicit def fromResponseOptionUnmarshaller[T](implicit unm: FromResponseUnmarshaller[T]): FromResponseUnmarshaller[Option[T]]
    Definition Classes
    OptionMarshalling
  55. implicit def futureMapMarshaller: ToEntityMarshaller[Future[Map[String, Any]]]
    Definition Classes
    BasicJsonMarshalling
  56. implicit val generatedFileMarshaller: ToResponseMarshaller[(AppServiceBase.this)#GeneratedFile]
    Definition Classes
    BasicMarshalling
  57. def getApplicationLocale(state: ApplicationState): Locale
    Definition Classes
    AppI18nService
  58. def getByIdAction(viewName: String, id: Long)(implicit user: User, state: ApplicationState, timeout: QueryTimeout): (RequestContext) ⇒ Future[RouteResult]
  59. def getByIdPath: Directive[(String, Long)]
  60. def getByKeyAction(viewName: String, keyValues: Seq[String])(implicit user: User, state: ApplicationState, timeout: QueryTimeout): (RequestContext) ⇒ Future[RouteResult]
  61. def getByKeyPath: Directive[(String, List[String])]
  62. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  63. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  64. implicit def i18BundleMarshaller: ToEntityMarshaller[I18Bundle]
    Definition Classes
    AppI18nService
  65. val i18n: I18n
    Definition Classes
    AppI18nService
  66. def i18nLanguagePath: Directive[(String)]
    Definition Classes
    AppI18nService
  67. def i18nPath: Directive[Unit]
    Definition Classes
    AppI18nService
  68. def i18nResourcePath: Directive[(String)]
    Definition Classes
    AppI18nService
  69. def i18nResources: Route
    Definition Classes
    AppI18nService
  70. def i18nResourcesFromBundle: Route
    Definition Classes
    AppI18nService
  71. def i18nTranslate: Route
    Definition Classes
    AppI18nService
  72. def i18nTranslatePath: Directive[(String, String, Path)]
    Definition Classes
    AppI18nService
  73. def initI18n: I18n
    Attributes
    protected
    Definition Classes
    AppI18nService
  74. def initJsonConverter: AppQuereaseIo[Dto]

    Override this method in subclass to initialize

    Override this method in subclass to initialize

    jsonConverter
    Attributes
    protected
    Definition Classes
    AppServiceBaseJsonConverterProvider
  75. def insertAction(viewName: String, keyValues: Seq[Any])(implicit user: User, state: ApplicationState, timeout: QueryTimeout): (RequestContext) ⇒ Future[RouteResult]
  76. def insertPath: Directive[(String, List[String])]
  77. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  78. implicit def jsObjectUnmarshaller(implicit jsonUnmarshaller: FromEntityUnmarshaller[JsValue]): Unmarshaller[HttpEntity, JsObject]
    Definition Classes
    BasicJsonMarshalling
  79. final lazy val jsonConverter: JsonConverter[_]
    Definition Classes
    JsonConverterProvider
  80. def keyFromQueryToPath(context: RequestContext): RequestContext

    Enables alternative URI where row key is in special query string

  81. def langCookieTransformer(cookie: HttpCookie): HttpCookie
    Attributes
    protected
    Definition Classes
    AppI18nService
  82. def listAction(viewName: String, params: Map[String, List[String]])(implicit user: User, state: ApplicationState, timeout: QueryTimeout): (RequestContext) ⇒ Future[RouteResult]
    Attributes
    protected
  83. implicit val listOfMapsMarshaller: ToEntityMarshaller[List[Map[String, Any]]]
    Definition Classes
    BasicJsonMarshalling
  84. def listOrGetAction(viewName: String)(implicit user: User, state: ApplicationState, timeout: QueryTimeout): (RequestContext) ⇒ Future[RouteResult]
  85. def listOrGetPath: Directive[(String)]
  86. implicit val mapForViewMarshaller: ToEntityMarshaller[(Map[String, Any], String, ResultFilter)]
    Definition Classes
    QuereaseMarshalling
  87. implicit val mapMarshaller: ToEntityMarshaller[Map[String, Any]]
    Definition Classes
    BasicJsonMarshalling
  88. def mapUnmarshaller(implicit jsonUnmarshaller: FromEntityUnmarshaller[JsValue]): FromEntityUnmarshaller[Map[String, Any]]
    Definition Classes
    BasicJsonMarshalling
  89. def metadataAction(viewName: String)(implicit user: User, state: ApplicationState): Route
  90. def metadataPath: Directive[(String)]
  91. val namesForInts: Set[String]
  92. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  93. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  94. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  95. implicit val seqOfMapsForViewMarshaller: ToEntityMarshaller[(Seq[Map[String, Any]], String, ResultFilter)]
    Definition Classes
    QuereaseMarshalling
  96. def setLanguage: Route
    Definition Classes
    AppI18nService
  97. implicit def sprayJsValueByteStringUnmarshaller[T]: FromByteStringUnmarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  98. implicit def sprayJsValueMarshaller(implicit printer: JsonPrinter): ToEntityMarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  99. implicit def sprayJsValueUnmarshaller: FromEntityUnmarshaller[JsValue]
    Definition Classes
    SprayJsonSupport
  100. implicit def sprayJsonByteStringUnmarshaller[T](implicit reader: RootJsonReader[T]): FromByteStringUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  101. implicit def sprayJsonMarshaller[T](implicit writer: RootJsonWriter[T], printer: JsonPrinter): ToEntityMarshaller[T]
    Definition Classes
    SprayJsonSupport
  102. implicit def sprayJsonMarshallerConverter[T](writer: RootJsonWriter[T])(implicit printer: JsonPrinter): ToEntityMarshaller[T]
    Definition Classes
    SprayJsonSupport
  103. implicit def sprayJsonSourceReader[T](implicit reader: RootJsonReader[T], support: EntityStreamingSupport): FromEntityUnmarshaller[Source[T, NotUsed]]
    Definition Classes
    SprayJsonSupport
  104. implicit def sprayJsonUnmarshaller[T](implicit reader: RootJsonReader[T]): FromEntityUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  105. implicit def sprayJsonUnmarshallerConverter[T](reader: RootJsonReader[T]): FromEntityUnmarshaller[T]
    Definition Classes
    SprayJsonSupport
  106. def staticResources(extensions: Set[String] = DefaultResourceExtensions, basePath: String = DefaultResourcePathBase): Route
  107. implicit val streamedFileMarshaller: ToResponseMarshaller[(AppServiceBase.this)#StreamedFile]
    Definition Classes
    BasicMarshalling
  108. def stripAccents(s: String): String
    Definition Classes
    BasicMarshalling
  109. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  110. implicit val toEntityAnyResultMarshaller: ToEntityMarshaller[AnyResult]
    Definition Classes
    QuereaseResultMarshalling
  111. implicit val toEntityConfResultMarshaller: ToEntityMarshaller[ConfResult]
    Definition Classes
    QuereaseResultMarshalling
  112. implicit val toEntityHttpEntityResultMarshaller: ToEntityMarshaller[HttpEntityResult]
    Definition Classes
    QuereaseResultMarshalling
  113. implicit val toEntityQuereaseDeleteResultMarshaller: ToEntityMarshaller[QuereaseDeleteResult]
    Definition Classes
    QuereaseResultMarshalling
  114. implicit val toEntityQuereaseIdResultMarshaller: ToEntityMarshaller[IdResult]
    Definition Classes
    QuereaseResultMarshalling
  115. implicit val toEntityQuereaseLongResultMarshaller: ToEntityMarshaller[LongResult]
    Definition Classes
    QuereaseResultMarshalling
  116. implicit def toEntityQuereaseMapResultMarshaller(viewName: String, resFilter: ResultFilter): ToEntityMarshaller[MapResult]
    Definition Classes
    QuereaseResultMarshalling
  117. implicit val toEntityQuereaseNoResultMarshaller: ToEntityMarshaller[NoResult.type]
    Definition Classes
    QuereaseResultMarshalling
  118. implicit val toEntityQuereaseNumberResultMarshaller: ToEntityMarshaller[NumberResult]
    Definition Classes
    QuereaseResultMarshalling
  119. def toEntityQuereaseSerializedResultMarshaller(viewName: String, resultFilter: ResultFilter): ToEntityMarshaller[QuereaseSerializedResult]
    Definition Classes
    QuereaseResultMarshalling
  120. implicit val toEntityQuereaseStringResultMarshaller: ToEntityMarshaller[StringResult]
    Definition Classes
    QuereaseResultMarshalling
  121. def toEntityRequestPartResultMarshaller(ac: AppProvider.App.AppActionContext): ToEntityMarshaller[RequestPartResult]
    Definition Classes
    QuereaseResultMarshalling
  122. def toEntitySerializedResultMarshaller(contentType: ContentType, createEncoder: EncoderFactory): ToEntityMarshaller[SerializedResult]
    Definition Classes
    QuereaseResultMarshalling
  123. def toMapUnmarshaller: FromEntityUnmarshaller[Map[String, Any]]
    Definition Classes
    QuereaseMarshalling
  124. def toMapUnmarshallerForView(viewName: String): FromEntityUnmarshaller[Map[String, Any]]
    Definition Classes
    QuereaseMarshalling
  125. def toResponseCompatibleResultMarshaller(wr: AppProvider.App.WabaseResult): ToResponseMarshaller[CompatibleResult]
    Definition Classes
    QuereaseResultMarshalling
  126. implicit val toResponseFileResultMarshaller: ToResponseMarshaller[FileResult]
    Definition Classes
    QuereaseResultMarshalling
  127. implicit val toResponseHttpResultMarshaller: ToResponseMarshaller[HttpResult]
    Definition Classes
    QuereaseResultMarshalling
  128. implicit def toResponseOptionMarshaller[A](implicit m: ToResponseMarshaller[A]): ToResponseMarshaller[Option[A]]
    Definition Classes
    OptionMarshalling
  129. implicit val toResponseQuereaseIteratorMarshaller: ToResponseMarshaller[QuereaseIteratorResult[Dto]]
    Definition Classes
    QuereaseResultMarshalling
  130. implicit def toResponseQuereaseKeyResultMarshaller: ToResponseMarshaller[KeyResult]
    Definition Classes
    QuereaseResultMarshalling
  131. implicit val toResponseQuereaseStatusResultMarshaller: ToResponseMarshaller[StatusResult]
    Definition Classes
    QuereaseResultMarshalling
  132. implicit val toResponseResourceResultMarshaller: ToResponseMarshaller[ResourceResult]
    Definition Classes
    QuereaseResultMarshalling
  133. implicit val toResponseTemplateResultMarshaller: ToResponseMarshaller[TemplateResult]
    Definition Classes
    QuereaseResultMarshalling
  134. implicit def toResponseTresqlResultMarshaller(implicit res: Resources): ToEntityMarshaller[RowLike]
    Definition Classes
    QuereaseResultMarshalling
  135. implicit def toResponseWabaseResultMarshaller(implicit ec: ExecutionContext): ToResponseMarshaller[AppProvider.App.WabaseResult]
    Definition Classes
    QuereaseResultMarshalling
  136. def toSeqOfMapsUnmarshaller: FromEntityUnmarshaller[Seq[Map[String, Any]]]
    Definition Classes
    QuereaseMarshalling
  137. def toSeqOfMapsUnmarshallerForView(viewName: String): FromEntityUnmarshaller[Seq[Map[String, Any]]]
    Definition Classes
    QuereaseMarshalling
  138. def toString(): String
    Definition Classes
    AnyRef → Any
  139. def updateAction(viewName: String, id: Long)(implicit user: User, state: ApplicationState, timeout: QueryTimeout): Route
  140. def updateByKeyAction(viewName: String, keyValues: Seq[Any])(implicit user: User, state: ApplicationState, timeout: QueryTimeout): Route
  141. def updateByKeyPath: Directive[(String, List[String])]
  142. def updatePath: Directive[(String, Long)]
  143. def viewWithIdPath: Directive[(String, Long)]
  144. def viewWithKeyPath: Directive[(String, List[String])]
  145. def viewWithoutIdPath: Directive[(String)]
  146. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  147. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  148. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. def getByNameAction(viewName: String, name: String, value: String)(implicit user: User, state: ApplicationState, timeout: QueryTimeout): (RequestContext) ⇒ Future[RouteResult]
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0) Use key without field name. This method will be removed

  3. def getByNamePath: Directive[(String, String, String)]
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0) Use key without field name. This method will be removed

  4. def viewWithNamePath: Directive[(String, String, String)]
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0) Use key without field name. This method will be removed

Inherited from Marshalling

Inherited from DtoMarshalling

Inherited from QuereaseMarshalling

Inherited from QuereaseResultMarshalling

Inherited from BasicJsonMarshalling

Inherited from BasicMarshalling

Inherited from OptionMarshalling

Inherited from SprayJsonSupport

Inherited from AppI18nService

Inherited from DbAccessProvider

Inherited from JsonConverterProvider

Inherited from AppStateExtractor

Inherited from AppProvider[User]

Inherited from AnyRef

Inherited from Any

Ungrouped