Octavius Framework
Toggle table of contents
desktop
Target filter
desktop
Switch theme
Search in API
Skip to content
Octavius Framework
form-engine
/
org.octavius.form.component
/
DataLoaderBuilder
Data
Loader
Builder
class
DataLoaderBuilder
(
val
dataAccess
:
DataAccess
)
Members
Constructors
Data
Loader
Builder
Link copied to clipboard
constructor
(
dataAccess
:
DataAccess
)
Properties
data
Access
Link copied to clipboard
private
val
dataAccess
:
DataAccess
main
Table
Link copied to clipboard
private
val
mainTable
:
String
main
Table
Alias
Link copied to clipboard
private
lateinit
var
mainTableAlias
:
String
main
Table
Name
Link copied to clipboard
private
lateinit
var
mainTableName
:
String
relations
Link copied to clipboard
private
val
relations
:
MutableList
<
RelationMapping
>
Functions
execute
Link copied to clipboard
fun
execute
(
id
:
Int
?
)
:
Map
<
String
,
Any
?
>
from
Link copied to clipboard
fun
from
(
tableName
:
String
,
alias
:
String
)
load
Main
Data
Link copied to clipboard
private
fun
loadMainData
(
id
:
Int
)
:
Map
<
String
,
Any
?
>
load
Related
Data
Link copied to clipboard
private
fun
loadRelatedData
(
id
:
Int
)
:
Map
<
String
,
Any
?
>
map
Link copied to clipboard
fun
map
(
controlName
:
String
,
dbColumn
:
String
?
=
null
)
map
One
To
One
Link copied to clipboard
fun
mapOneToOne
(
block
:
OneToOneMappingBuilder
.
(
)
->
Unit
)
map
Related
List
Link copied to clipboard
fun
mapRelatedList
(
controlName
:
String
,
block
:
RelatedDataMappingBuilder
.
(
)
->
Unit
)
select
As
Link copied to clipboard
private
fun
selectAs
(
dbColumn
:
String
,
controlName
:
String
)
:
String