trait WabaseApp[User] extends AnyRef
- Self Type
- AppBase[User] with DbAccess with Authorization[User] with DbConstraintMessage
- Source
- WabaseApp.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- WabaseApp
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type ActionHandler = ((WabaseApp.this)#AppActionContext) ⇒ (WabaseApp.this)#ActionHandlerResult
- type ActionHandlerResult = QuereaseProvider.QE.QuereaseAction[(WabaseApp.this)#WabaseResult]
- case class AppActionContext(actionName: String, viewName: String, keyValues: Seq[Any], params: Map[String, Any], values: Map[String, Any], oldValue: Map[String, Any] = null, serializedResult: Source[ByteString, _] = null)(implicit user: User, state: ApplicationState, timeout: QueryTimeout, ec: ExecutionContext, as: ActorSystem) extends Product with Serializable
- case class WabaseResult(ctx: (WabaseApp.this)#AppActionContext, result: QuereaseResult) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DefaultCp: PoolName
- val SerializationBufferMaxFileSize: Long
- val SerializationBufferMaxFileSizes: Map[String, Long]
- val SerializationBufferSize: Int
-
def
afterWabaseAction(context: (WabaseApp.this)#AppActionContext, result: Try[QuereaseResult]): Unit
- Attributes
- protected
-
def
applyReadonlyValues(viewDef: (WabaseApp.this)#ViewDef, old: Map[String, Any], instance: Map[String, Any]): Map[String, Any]
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
beforeWabaseAction(context: (WabaseApp.this)#AppActionContext, doApiCheck: Boolean): (WabaseApp.this)#AppActionContext
- Attributes
- protected
- def checkApi[F](viewName: String, method: String, user: User): Unit
-
def
checkLimit(viewDef: (WabaseApp.this)#ViewDef, limit: Int): Unit
- Attributes
- protected
-
def
checkOffset(viewDef: (WabaseApp.this)#ViewDef, offset: Int): Unit
- Attributes
- protected
-
def
checkOrderBy(viewDef: (WabaseApp.this)#ViewDef, orderBy: String): Unit
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
customValidations(ctx: (WabaseApp.this)#AppActionContext)(implicit locale: Locale): Unit
- Attributes
- protected
- def delete(context: (WabaseApp.this)#AppActionContext): (WabaseApp.this)#ActionHandlerResult
- def doWabaseAction(action: (WabaseApp.this)#ActionHandler, context: (WabaseApp.this)#AppActionContext, doApiCheck: Boolean): Future[(WabaseApp.this)#WabaseResult]
- def doWabaseAction(context: (WabaseApp.this)#AppActionContext, doApiCheck: Boolean): Future[(WabaseApp.this)#WabaseResult]
- def doWabaseAction(actionName: String, viewName: String, keyValues: Seq[Any], params: Map[String, Any], values: Map[String, Any] = Map(), doApiCheck: Boolean = true)(implicit user: User, state: ApplicationState, timeout: QueryTimeout, ec: ExecutionContext, as: ActorSystem): Future[(WabaseApp.this)#WabaseResult]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getActionHandler(context: (WabaseApp.this)#AppActionContext): (WabaseApp.this)#ActionHandler
- Attributes
- protected
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getOldValue(context: (WabaseApp.this)#AppActionContext): QuereaseProvider.QE.QuereaseAction[Map[String, Any]]
- Attributes
- protected
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def list(context: (WabaseApp.this)#AppActionContext): (WabaseApp.this)#ActionHandlerResult
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
noApiException(viewName: String, method: String, user: User): Exception
- Attributes
- protected
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def prepareKey(viewName: String, keyValues: Seq[Any], actionName: String): Map[String, Any]
-
def
prepareKeyValue(field: QuereaseProvider.QE.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.
- def resourceFactory(context: (WabaseApp.this)#AppActionContext): () ⇒ Resources
- def save(context: (WabaseApp.this)#AppActionContext): (WabaseApp.this)#ActionHandlerResult
-
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
maxFileSize }}} bufferSize }}} FileBufferedFlow }}} src }}}
-
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
- def simpleAction(context: (WabaseApp.this)#AppActionContext): (WabaseApp.this)#ActionHandlerResult
-
def
stableOrderBy(viewDef: (WabaseApp.this)#ViewDef, orderBy: String): String
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
throwOldValueNotFound(message: String, locale: Locale): Nothing
- Attributes
- protected
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def viewSerializationBufferMaxFileSize(viewName: String): Long
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()