Module is.codion.framework.domain
Interface Column.AuditColumnDefiner<T>
- Type Parameters:
T
- the column type
public static interface Column.AuditColumnDefiner<T>
Provides
ColumnDefinition.Builder
instances for audit columns.-
Method Summary
Modifier and TypeMethodDescription<B extends ColumnDefinition.Builder<T,
B>>
ColumnDefinition.Builder<T,B> Creates a newColumnDefinition.Builder
instance, representing the time a row was inserted.<B extends ColumnDefinition.Builder<String,
B>>
ColumnDefinition.Builder<String,B> Creates a newColumnDefinition.Builder
instance, representing the username of the user who inserted a row.<B extends ColumnDefinition.Builder<T,
B>>
ColumnDefinition.Builder<T,B> Creates a newColumnDefinition.Builder
instance, representing the time a row was updated.<B extends ColumnDefinition.Builder<String,
B>>
ColumnDefinition.Builder<String,B> Creates a newColumnDefinition.Builder
instance, representing the username of the user who updated a row.
-
Method Details
-
insertTime
Creates a newColumnDefinition.Builder
instance, representing the time a row was inserted.- Type Parameters:
B
- the builder type- Returns:
- a new
ColumnDefinition.Builder
-
updateTime
Creates a newColumnDefinition.Builder
instance, representing the time a row was updated.- Type Parameters:
B
- the builder type- Returns:
- a new
ColumnDefinition.Builder
-
insertUser
Creates a newColumnDefinition.Builder
instance, representing the username of the user who inserted a row.- Type Parameters:
B
- the builder type- Returns:
- a new
ColumnDefinition.Builder
-
updateUser
Creates a newColumnDefinition.Builder
instance, representing the username of the user who updated a row.- Type Parameters:
B
- the builder type- Returns:
- a new
ColumnDefinition.Builder
-