This trait can be added to existing Mapper fields to make them use AjaxUtils.
A trait that defines foreign key references
The base (not Typed) trait that defines a field that is mapped to a column or more than 1 column (e.
Represents a query criterion using a parameterized SQL string.
This trait automatically adds CRUD (Create, read, update and delete) operations to an existing MetaMapper object.
A trait you can mix into a Mapper class that gives you a createdat column
Mix this trait into your Mapper instance to get createdAt and updatedAt fields.
Mix this trait into a BaseMappedField and it will be indexed
Mix with MappedLong to give a default time of millis
Represents a generic user-specified index on the given columns.
A specialization of CRUDify for LongKeyedMetaMappers.
Add this trait to a Mapper to add support for many-to-many relationships
A field that holds the birth year for the user
Represents a date without hour, minute or second fields.
A field that maps to a decimal value.
Warning: Do not use unnamed Enumerations with 2.
The strongly typed field that's mapped to a column (or many columns) in the database.
The Trait that defines a field that is mapped to a foreign key
A Mapped field that is Nullable in the database.
Just like MappedString, except it's defaultValue is "" and the length is auto-cropped to fit in the column
Represents a time with hour, minute and second fields.
ProtoUser is bare bones.
Mix this trait into the the Mapper singleton for User and you get a bunch of user functionality including password reset, etc.
This is the supertrait of all traits that can be mixed into a MappedField.
Add this trait to a Mapper for managed one-to-many support For example: class Contact extends LongKeyedMapper[Contact] with OneToMany[Long, Contact] { .
This QueryParam can be put in a query and will cause the given foreign key field to be precached.
ProtoUser is a base class that gives you a "User" that has a first name, last name, email, etc.
If this trait is mixed into a validation function, the validation for a field will stop if this validation function returns an error
Represents a unique index on the given columns
A trait you can mix into a Mapper class that gives you an updatedat column
Mix this trait into a MappedString and it will add maximum length validation to the MappedString
(Since version 2.4) Functionality folded into MappedForeignKey, so just use MappedLongForeignKey. Will be removed in 2.5
(Since version 2.4) Functionality folded into MappedForeignKey, so just use MappedLongForeignKey. Will be removed in 2.5
Rules and functions shared by all Mappers
Given a list of MetaMappers, make sure the database has the right schema
(Since version 2.4) Use util.Safe instead.