mdl — фреймворк site.geniyz
Toggle table of contents
0.9.9
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
mdl — фреймворк site.geniyz
db
/
site.geniyz.db.models.users
/
UsersService
/
UserEntity
User
Entity
class
UserEntity
(
sub
:
EntityID
<
String
>
)
:
Entity
<
String
>
Members
Constructors
User
Entity
Link copied to clipboard
constructor
(
sub
:
EntityID
<
String
>
)
Types
Companion
Link copied to clipboard
object
Companion
:
EntityClass
<
String
,
UsersService.UserEntity
>
Properties
_
readValues
Link copied to clipboard
var
_readValues
:
ResultRow
?
avatar
Link copied to clipboard
var
avatar
:
String
?
db
Link copied to clipboard
var
db
:
Database
email
Link copied to clipboard
var
email
:
String
?
groups
Link copied to clipboard
val
groups
:
SizedIterable
<
UsersService.UserGroupEntity
>
id
Link copied to clipboard
val
id
:
EntityID
<
String
>
klass
Link copied to clipboard
var
klass
:
EntityClass
<
String
,
Entity
<
String
>
>
name
Link copied to clipboard
var
name
:
String
nickname
Link copied to clipboard
var
nickname
:
String
read
Values
Link copied to clipboard
val
readValues
:
ResultRow
sub
Link copied to clipboard
var
sub
:
String
write
Values
Link copied to clipboard
val
writeValues
:
LinkedHashMap
<
Column
<
Any
?
>
,
Any
?
>
Functions
delete
Link copied to clipboard
open
fun
delete
(
)
flush
Link copied to clipboard
open
fun
flush
(
batch
:
EntityBatchUpdate
?
)
:
Boolean
get
Value
Link copied to clipboard
operator
fun
<
T
>
Column
<
T
>
.
getValue
(
o
:
Entity
<
String
>
,
desc
:
KProperty
<
*
>
)
:
T
operator
fun
<
T
>
CompositeColumn
<
T
>
.
getValue
(
o
:
Entity
<
String
>
,
desc
:
KProperty
<
*
>
)
:
T
operator
fun
<
Unwrapped
,
Wrapped
>
EntityFieldWithTransform
<
Unwrapped
,
Wrapped
>
.
getValue
(
o
:
Entity
<
String
>
,
desc
:
KProperty
<
*
>
)
:
Wrapped
operator
fun
<
REF
:
Any
,
RID
:
Any
,
T
:
Entity
<
RID
>
>
OptionalReference
<
REF
,
RID
,
T
>
.
getValue
(
o
:
Entity
<
String
>
,
desc
:
KProperty
<
*
>
)
:
T
?
operator
fun
<
REF
:
Any
,
RID
:
Any
,
T
:
Entity
<
RID
>
>
Reference
<
REF
,
RID
,
T
>
.
getValue
(
o
:
Entity
<
String
>
,
desc
:
KProperty
<
*
>
)
:
T
lookup
Link copied to clipboard
fun
<
T
>
Column
<
T
>
.
lookup
(
)
:
T
lookup
In
Read
Values
Link copied to clipboard
fun
<
T
,
R
:
Any
>
Column
<
T
>
.
lookupInReadValues
(
found
:
(
T
?
)
->
R
?
,
notFound
:
(
)
->
R
?
)
:
R
?
refresh
Link copied to clipboard
open
fun
refresh
(
flush
:
Boolean
)
set
Value
Link copied to clipboard
operator
fun
<
T
>
Column
<
T
>
.
setValue
(
o
:
Entity
<
String
>
,
desc
:
KProperty
<
*
>
,
value
:
T
)
operator
fun
<
T
>
CompositeColumn
<
T
>
.
setValue
(
o
:
Entity
<
String
>
,
desc
:
KProperty
<
*
>
,
value
:
T
)
operator
fun
<
Unwrapped
,
Wrapped
>
EntityFieldWithTransform
<
Unwrapped
,
Wrapped
>
.
setValue
(
o
:
Entity
<
String
>
,
desc
:
KProperty
<
*
>
,
value
:
Wrapped
)
operator
fun
<
REF
:
Any
,
RID
:
Any
,
T
:
Entity
<
RID
>
>
OptionalReference
<
REF
,
RID
,
T
>
.
setValue
(
o
:
Entity
<
String
>
,
desc
:
KProperty
<
*
>
,
value
:
T
?
)
operator
fun
<
REF
:
Any
,
RID
:
Any
,
T
:
Entity
<
RID
>
>
Reference
<
REF
,
RID
,
T
>
.
setValue
(
o
:
Entity
<
String
>
,
desc
:
KProperty
<
*
>
,
value
:
T
)
store
Written
Values
Link copied to clipboard
fun
storeWrittenValues
(
)
via
Link copied to clipboard
infix
fun
<
TID
:
Any
,
Target
:
Entity
<
TID
>
>
EntityClass
<
TID
,
Target
>
.
via
(
table
:
Table
)
:
InnerTableLink
<
String
,
Entity
<
String
>
,
TID
,
Target
>
fun
<
TID
:
Any
,
Target
:
Entity
<
TID
>
>
EntityClass
<
TID
,
Target
>
.
via
(
sourceColumn
:
Column
<
EntityID
<
String
>
>
,
targetColumn
:
Column
<
EntityID
<
TID
>
>
)
:
InnerTableLink
<
String
,
Entity
<
String
>
,
TID
,
Target
>