Packages

t

org.wabase

WabaseApp

trait WabaseApp[User] extends AnyRef

Self Type
AppBase[User] with Audit[User] with DbAccess with Authorization[User] with DbConstraintMessage with ValidationEngine
Source
WabaseApp.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WabaseApp
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ActionHandler = ((WabaseApp.this)#AppActionContext) ⇒ (WabaseApp.this)#ActionHandlerResult
  2. type ActionHandlerResult = QuereaseAction[(WabaseApp.this)#WabaseResult]
  3. case class AppActionContext(actionName: String, viewName: String, keyValues: Seq[Any], params: Map[String, Any], values: Map[String, Any], resultFilter: ResultFilter = null, oldValue: Map[String, Any] = null, serializedResult: Source[ByteString, _] = null)(implicit user: User, state: ApplicationState, ec: ExecutionContext, as: ActorSystem, appFs: AppFileStreamer[User], httpReq: HttpRequest) extends Product with Serializable
  4. case class WabaseResult(ctx: (WabaseApp.this)#AppActionContext, result: QuereaseResult) extends Product with Serializable

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 SerializationBufferMaxFileSize: Long
  5. val SerializationBufferMaxFileSizes: Map[String, Long]
  6. val SerializationBufferSize: Int
  7. def addResultFilter(context: (WabaseApp.this)#AppActionContext): (WabaseApp.this)#AppActionContext
    Attributes
    protected
  8. def afterWabaseAction(context: (WabaseApp.this)#AppActionContext, result: Try[QuereaseResult]): Unit
    Attributes
    protected
  9. def applyReadonlyValues(viewDef: ViewDef, old: Map[String, Any], instance: Map[String, Any]): Map[String, Any]
    Attributes
    protected
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def beforeWabaseAction(context: (WabaseApp.this)#AppActionContext, doApiCheck: Boolean): (WabaseApp.this)#AppActionContext
    Attributes
    protected
  12. def checkApi[F](viewName: String, method: String, user: User, keyValues: Seq[Any]): Unit
  13. def checkLimit(viewDef: ViewDef, limit: Int): Unit
    Attributes
    protected
  14. def checkOffset(viewDef: ViewDef, offset: Int): Unit
    Attributes
    protected
  15. def checkOrderBy(viewDef: ViewDef, orderBy: String): Unit
    Attributes
    protected
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  17. def customValidations(ctx: (WabaseApp.this)#AppActionContext)(implicit locale: Locale): Unit
    Attributes
    protected
  18. def delete(context: (WabaseApp.this)#AppActionContext): (WabaseApp.this)#ActionHandlerResult
  19. def doWabaseAction(action: (WabaseApp.this)#ActionHandler, context: (WabaseApp.this)#AppActionContext, doApiCheck: Boolean): Future[(WabaseApp.this)#WabaseResult]
    Attributes
    protected
  20. def doWabaseAction(context: (WabaseApp.this)#AppActionContext, doApiCheck: Boolean): Future[(WabaseApp.this)#WabaseResult]
    Attributes
    protected
  21. def doWabaseAction(actionName: String, viewName: String, keyValues: Seq[Any], params: Map[String, Any], values: Map[String, Any] = Map(), resultFilter: ResultFilter = null, doApiCheck: Boolean = true)(implicit user: User, state: ApplicationState, ec: ExecutionContext, as: ActorSystem, appFs: AppFileStreamer[User], httpReq: HttpRequest): Future[(WabaseApp.this)#WabaseResult]
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  24. def extractNamesFromOrderBy(orderBy: String): Seq[String]
    Attributes
    protected
  25. def getActionHandler(context: (WabaseApp.this)#AppActionContext): (WabaseApp.this)#ActionHandler
    Attributes
    protected
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def getOldValue(context: (WabaseApp.this)#AppActionContext): QuereaseAction[Map[String, Any]]

    In subclass can place this method call in

    In subclass can place this method call in

    maybeGetOldValue

    method maybeGetOldValue }}}

    Attributes
    protected
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. implicit lazy val httpClients: WabaseHttpClients
  30. def injectionParametersFactory: InjectionParametersFactory
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def list(context: (WabaseApp.this)#AppActionContext): (WabaseApp.this)#ActionHandlerResult
  33. def maybeGetOldValue(context: (WabaseApp.this)#AppActionContext): QuereaseAction[Map[String, Any]]
    Attributes
    protected
  34. def nameFromOrderByPart(orderByPart: String): String
    Attributes
    protected
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def noApiException(viewName: String, method: String, user: User): Exception
    Attributes
    protected
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. def prepareKey(viewName: String, keyFields: Seq[FieldDef], keyValues: Seq[Any], actionName: String): Map[String, Any]
  40. def prepareKey(viewName: String, keyValues: Seq[Any], actionName: String): Map[String, Any]
  41. def prepareKeyValue(field: FieldDef, value: Any): Any

    Converts key value from uri representation to appropriate type.

    Converts key value from uri representation to appropriate type. Default implementation also converts "null" to null.

  42. def prepareSegments(viewName: String, segments: Seq[Segment], keyValues: Seq[Any], actionName: String): Map[String, Any]
  43. def resourceFactory(viewName: String, actionName: String): ResourcesFactory
  44. def resourceFactory(context: (WabaseApp.this)#AppActionContext): ResourcesFactory
  45. def save(context: (WabaseApp.this)#AppActionContext): (WabaseApp.this)#ActionHandlerResult
  46. def serializeResult(bufferSize: Int, maxFileSize: Long, result: Source[ByteString, _], cleanupFun: (Option[Throwable]) ⇒ Unit = null, resultCount: Int = 1)(implicit ec: ExecutionContext, mat: Materializer): Future[Seq[SerializedResult]]

    Runs

    Runs

    src

    via

    FileBufferedFlow

    of

    bufferSize

    with

    maxFileSize

    to

    CheckCompletedSink

    On FileBufferedFlow upstream finish calss cleanup function.

    maxFileSize }}} On FileBufferedFlow upstream finish calss cleanup function.

    bufferSize }}} On FileBufferedFlow upstream finish calss cleanup function.

    FileBufferedFlow }}} On FileBufferedFlow upstream finish calss cleanup function.

    src }}} On FileBufferedFlow upstream finish calss cleanup function.

  47. def shouldAddResultToContext(context: (WabaseApp.this)#AppActionContext): Boolean

    Override to request serialized result source in AppActionContext, e.g., for auditing

    Override to request serialized result source in AppActionContext, e.g., for auditing

    Attributes
    protected
  48. def simpleAction(context: (WabaseApp.this)#AppActionContext): (WabaseApp.this)#ActionHandlerResult
  49. def splitOrderBy(orderBy: String): Seq[String]
    Attributes
    protected
  50. def stableOrderBy(viewDef: ViewDef, orderBy: String): String
    Attributes
    protected
  51. def substitutedOrderBy(viewDef: ViewDef, orderBy: String): Seq[String]
    Attributes
    protected
  52. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  53. def throwOldValueNotFound(message: String, locale: Locale): Nothing
    Attributes
    protected
  54. def toString(): String
    Definition Classes
    AnyRef → Any
  55. def tresqlMetadata: TresqlMetadata
  56. def viewSerializationBufferMaxFileSize(viewName: String): Long
  57. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  59. 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

Inherited from AnyRef

Inherited from Any

Ungrouped