tools
2.2.3
tools
/
me.scolastico.tools.ebean
/
BaseModel
Base
Model
@
MappedSuperclass
abstract
class
BaseModel
:
Model
Content copied to clipboard
Base model for database classes. Extend this class with your database class.
Functions
Properties
Functions
db
Link copied to clipboard
open
fun
db
(
)
:
Database
Content copied to clipboard
delete
Link copied to clipboard
open
fun
delete
(
)
:
Boolean
Content copied to clipboard
delete
Permanent
Link copied to clipboard
open
fun
deletePermanent
(
)
:
Boolean
Content copied to clipboard
flush
Link copied to clipboard
open
fun
flush
(
)
Content copied to clipboard
insert
Link copied to clipboard
open
fun
insert
(
)
Content copied to clipboard
mark
As
Dirty
Link copied to clipboard
open
fun
markAsDirty
(
)
Content copied to clipboard
mark
Property
Unset
Link copied to clipboard
open
fun
markPropertyUnset
(
propertyName
:
String
)
Content copied to clipboard
refresh
Link copied to clipboard
open
fun
refresh
(
)
Content copied to clipboard
save
Link copied to clipboard
open
fun
save
(
)
Content copied to clipboard
update
Link copied to clipboard
open
fun
update
(
)
Content copied to clipboard
Properties
created
Link copied to clipboard
protected
open
var
created
:
Instant
Content copied to clipboard
id
Link copied to clipboard
protected
open
var
id
:
UUID
Content copied to clipboard
modified
Link copied to clipboard
protected
open
var
modified
:
Instant
Content copied to clipboard
version
Link copied to clipboard
protected
open
var
version
:
Long
Content copied to clipboard