package wabase
- Source
- package.scala
- Alphabetic
- By Inheritance
- wabase
- Loggable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait AppBase[User] extends RowAuthorization with Loggable with QuereaseProvider with DbAccessProvider with I18n
- type AppConfig = wabase.AppBase.AppConfig
- class AppFileCleanup extends Loggable
- trait AppFileServiceBase[User] extends AnyRef
- trait AppFileStreamer[User] extends AppFileStreamerConfig with Loggable
- trait AppFileStreamerConfig extends AnyRef
- trait AppMarshalling extends AnyRef
- type AppMdConventions = wabase.AppMetadata.AppMdConventions
- trait AppMetadata extends QuereaseMetadata
- trait AppProvider[User] extends AnyRef
- abstract class AppQuerease extends Querease with AppQuereaseIo with AppMetadata
- trait AppQuereaseIo extends ScalaDtoQuereaseIo with JsonConverter
- trait AppServiceBase[User] extends AppProvider[User] with AppStateExtractor with JsonConverterProvider with DbAccessProvider with AppI18nService with Marshalling
- type AppVersion = wabase.AppServiceBase.AppVersion
- case class ApplicationState(state: Map[String, Any], locale: Locale = Locale.getDefault) extends Product with Serializable
-
trait
Audit[User] extends AnyRef
Audit and all subimplementations use
Audit and all subimplementations use
qe.DTO
and
qe.DWI
qe.DTO }}}
- trait Authentication[User] extends SecurityDirectives with SessionInfoRemover with SessionUserExtractor[User]
- trait Authorization[User] extends AnyRef
- trait BasicJsonMarshalling extends SprayJsonSupport with BasicMarshalling
- trait BasicMarshalling extends AnyRef
- class BusinessException extends RuntimeException
- trait CSRFDefence extends AnyRef
-
class
ChunkerSink extends GraphStageWithMaterializedValue[SinkShape[ByteString], Future[SourceValue]]
Sink materializes to
Sink materializes to
CompleteSourceValue
if one and only one element passes from upstream before it is finished. Otherwise produces
IncompleteSourceValue
. Running of
IncompleteSourceValue
source will consume this
ChunkerSink
upstream.
ChunkerSink }}}
IncompleteSourceValue }}} this
ChunkerSink
upstream.
ChunkerSink }}}
IncompleteSourceValue }}} this
ChunkerSink
upstream.
ChunkerSink }}}
CompleteSourceValue }}} Otherwise produces
IncompleteSourceValue
. Running of
IncompleteSourceValue
source will consume this
ChunkerSink
upstream.
ChunkerSink }}}
IncompleteSourceValue }}} this
ChunkerSink
upstream.
ChunkerSink }}}
IncompleteSourceValue }}} this
ChunkerSink
upstream.
ChunkerSink }}}
-
case class
CompleteSourceValue(result: ByteString) extends SourceValue with Product with Serializable
Value of this class can be materialized to
Value of this class can be materialized to
HttpEntity.Strict
- type ConstantQueryTimeout = wabase.AppServiceBase.ConstantQueryTimeout
- type CustomValidationFunctions = wabase.ValidationEngine.CustomValidationFunctions
- trait DbAccess extends AnyRef
- trait DbAccessDelegate extends DbAccess
- trait DbAccessProvider extends AnyRef
- trait DbConstraintMessage extends AnyRef
- type DbDeferredStorage = wabase.DeferredControl.DbDeferredStorage
- type DefaultAppExceptionHandler[User] = wabase.AppServiceBase.AppExceptionHandler.DefaultAppExceptionHandler[User]
- type DefaultAppMdConventions = wabase.AppMetadata.DefaultAppMdConventions
- type DefaultServerStatistics = wabase.ServerStatistics.DefaultServerStatistics
-
trait
DefaultValidationEngine extends ValidationEngine with Loggable
Default validation engine, executes validation javascript stored in "validation" table
- type DefaultWsInitialEventsPublisher = wabase.WsNotifications.DefaultWsInitialEventsPublisher
- trait DeferredControl extends DeferredCheck with QueryTimeoutExtractor with DeferredStatusPublisher
- trait Dto extends mojoz.querease.Dto
- trait DtoMarshalling extends AppMarshalling with Loggable
- trait DtoWithId extends Dto with mojoz.querease.DtoWithId
- trait EventBus extends ActorEventBus with LookupClassification
- trait Execution extends AnyRef
- class ExecutionImpl extends Execution
-
class
FileBufferedFlow extends GraphStage[FlowShape[ByteString, ByteString]]
Creates flow with non blocking pulling from upstream regardless of downstream demand.
Creates flow with non blocking pulling from upstream regardless of downstream demand. Pulled data are stored in buffer of
bufferSize
. If buffer is full and there is no downstream demand data are stored in file. If file size exceeds
maxFileSize
InsufficientStorageException
is thrown.
InsufficientStorageException }}}
maxFileSize }}}
bufferSize }}} data are stored in file. If file size exceeds
maxFileSize
InsufficientStorageException
is thrown.
InsufficientStorageException }}}
maxFileSize }}}
- trait I18n extends AnyRef
-
case class
IncompleteSourceValue[Mat](result: Source[ByteString, Mat]) extends SourceValue with Product with Serializable
Value of this class can be materialized to
Value of this class can be materialized to
HttpEntity.Chunked
- case class InsufficientStorageException(msg: String) extends Exception with Product with Serializable
- trait JsonConverter extends AnyRef
- trait JsonConverterProvider extends AnyRef
- trait JsonSessionEncoder[User] extends AnyRef
- type LdapAuthentication = wabase.Authentication.LdapAuthentication
- trait Loggable extends AnyRef
- class Macros extends TresqlComparisonMacros
- trait Marshalling extends DtoMarshalling with TresqlResultMarshalling with BasicJsonMarshalling with BasicMarshalling
- type NoAudit[User] = wabase.Audit.NoAudit[User]
- type NoAuthorization[User] = wabase.Authorization.NoAuthorization[User]
- type NoCustomConstraintMessage = wabase.DbConstraintMessage.NoCustomConstraintMessage
- type NoServerStatistics = wabase.ServerStatistics.NoServerStatistics
- trait NoValidation extends ValidationEngine
- type NoWsInitialEvents = wabase.WsNotifications.NoWsInitialEvents
- case class PoolName(connectionPoolName: String) extends Product with Serializable
- type PostgreSqlConstraintMessage = wabase.DbConstraintMessage.PostgreSqlConstraintMessage
- trait PostgresDbAccess extends DbAccess
- class PostgresSqlTresqlResources extends TresqlResources
- trait QuereaseProvider extends AnyRef
-
case class
QueryTimeout(timeoutSeconds: Int) extends Product with Serializable
Timeout is wrapped into case class so it can be used as implicit parameter
- type RowAuthorization = wabase.Authorization.RowAuthorization
- trait RowWriter extends AnyRef
- trait SecurityHeaderDirectives extends AnyRef
- trait ServerStatistics extends Loggable
- type SimpleExceptionHandler = wabase.AppServiceBase.AppExceptionHandler.SimpleExceptionHandler
- sealed trait SourceValue extends AnyRef
- type Statistics = wabase.ServerStatistics.Statistics
- type Timestamp = java.sql.Timestamp
- class TresqlComparisonMacros extends QuereaseMacros
- trait TresqlResources extends ThreadLocalResources
- trait TresqlResultMarshalling extends AppMarshalling
- trait ValidationEngine extends AnyRef
- type WsInitialEventsPublisher = wabase.WsNotifications.WsInitialEventsPublisher
- trait WsNotifications extends WebSocketDirectives
- type jBoolean = Boolean
- type jDate = Date
- type jLong = Long
- type sDate = Date
Value Members
- val CommonFunctions: CustomValidationFunctions.type
- val DEFAULT_CP: PoolName
-
val
DefaultQueryTimeout: Option[QueryTimeout]
Default query timeout based on "jdbc.query-timeout" configuration setting
- val FALSE: Boolean
- val MaxResultSize: Option[Int]
- val TRUE: Boolean
- val config: Config
- def createConnectionPool(config: Config): HikariDataSource
- def currentTime: Long
- def durationConfig(path: String, defaultDuration: FiniteDuration): FiniteDuration
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- Loggable
- implicit def toFiniteDuration(d: Duration): FiniteDuration
- object AppBase
- object AppFileStreamer
- object AppMetadata
- object AppServiceBase
- object Audit
- object Authentication
- object Authorization
- object BusinessException extends Serializable
- object Calendar
- object ConnectionPools
- object DbConstraintMessage
- object DefaultAppQuerease extends AppQuerease
- object DeferredControl extends Loggable with AppConfig
- object EventBus extends EventBus
-
object
FileBufferedFlow
Creates
Creates
FileBufferedFlowStage
and sets async boundary around. This is necessary so upstream can bet consumed asynchronously.
FileBufferedFlowStage }}} bet consumed asynchronously.
- object Format
- object JsonToAny
- object Macros extends Macros
- object MapRecursiveExtensions
- object MapUtils
- object MarshallingConfig extends wabase.AppBase.AppConfig with Loggable
- object RowSource
- object ServerStatistics
- object ValidationEngine
- object WsNotifications extends Loggable