AbstractAnalyticsEvent

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
annotation class Priority
List of supported event priorities.

Properties

Link copied to clipboard
val CRITICAL: Int = 2
The value of critical priority event.
Link copied to clipboard
val HIGH: Int = 1
The value of high priority event.
Link copied to clipboard
val LOW: Int = -1
The value of low priority event.
Link copied to clipboard
val NORMAL: Int = 0
The value of normal priority event.

Functions

Link copied to clipboard
open fun create(type: String, parameters: Map<String, String>): AnalyticsEvent
open fun create(priority: Int, type: String, parameters: Map<String, String>): AnalyticsEvent
Creates a new analytics event.
open fun create(priority: Int, type: String, parameters: String): AnalyticsEvent
Link copied to clipboard
open fun getIdentityCondition(): LogicalCondition<? extends Expression<Long>, ?>
Gets a LogicalCondition that can be used to match this entity by it's unique identifier.
open fun getIdentityCondition(key: Long): LogicalCondition<? extends Expression<Long>, ?>
Gets a LogicalCondition that can be used to match an entity by it's unique identifier.
Link copied to clipboard
abstract fun getKey(): T
Gets the unique identifier of the entity.
Link copied to clipboard
open fun getModifiedTime(): Long
Gets the date and time when the entity was modified as number of milliseconds since January 1, 1970, 00:00:00 GMT.
Link copied to clipboard
open fun onBeforeInsert()
Sets the create time before the inserting the entity into the database table.
Link copied to clipboard
open fun onBeforeUpdate()
Sets the create time before the inserting the entity into the database table.