package view
- Alphabetic
- Public
- All
Type Members
-
trait
ItemsList[T <: Mapper[T]] extends AnyRef
Keeps track of pending adds to and removes from a list of mappers.
Keeps track of pending adds to and removes from a list of mappers. Supports in-memory sorting by a field. Usage: override metaMapper with a MetaMapper instance, call sortBy to specify the field to sort by. If it is already sorted by that field it will sort descending, otherwise ascending. Call save to actualize changes.
-
trait
ItemsListEditor[T <: Mapper[T]] extends AnyRef
General trait to edit an ItemsList.
-
class
MapperPaginator[T <: Mapper[T]] extends Paginator[T]
Paginate mapper instances by supplying the model you wish to paginate and Paginator will run your query for you etc.
-
class
MapperPaginatorSnippet[T <: Mapper[T]] extends MapperPaginator[T] with PaginatorSnippet[T]
Convenience class that combines MapperPaginator with PaginatorSnippet
-
trait
ModelSnippet[T <: Mapper[T]] extends StatefulSnippet
A snippet that can list and edit items of a particular Mapper class This trait can help reduce boilerplate in the common scenario where you want a snippet class to provide list and edit snippets for a specific Mapper class.
-
class
ModelView[T <: Mapper[T]] extends AnyRef
A wrapper around a Mapper that provides view-related utilities.
A wrapper around a Mapper that provides view-related utilities. Belongs to a parent ModelSnippet.
-
trait
PaginatedModelSnippet[T <: Mapper[T]] extends ModelSnippet[T]
Helper for when using paginators with a ModelSnippet.
Helper for when using paginators with a ModelSnippet. Adds a dispatch that delegates the "paginate" snippet to the paginator member.
-
class
SortedMapperPaginator[T <: Mapper[T]] extends MapperPaginator[T] with SortedPaginator[T, MappedField[_, T]]
Implements MapperPaginator and SortedPaginator.
-
class
SortedMapperPaginatorSnippet[T <: Mapper[T]] extends SortedMapperPaginator[T] with SortedPaginatorSnippet[T, MappedField[_, T]]
Convenience class that combines SortedMapperPaginator and SortedPaginatorSnippet.
-
class
TableEditorImpl[T <: Mapper[T]] extends ItemsListEditor[T]
This class does the actual view binding against a ItemsList.
This class does the actual view binding against a ItemsList. The implementation is in the base trait ItemsListEditor
- Attributes
- protected
Value Members
-
object
TableEditor
Holds a registry of TableEditor delegates Call TableEditor.registerTable(name_to_use_in_view, meta_mapper_for_the_table, display_title) in Boot after DB.defineConnectionManager.
Holds a registry of TableEditor delegates Call TableEditor.registerTable(name_to_use_in_view, meta_mapper_for_the_table, display_title) in Boot after DB.defineConnectionManager. Referencing TableEditor triggers registering its snippet package and enabling the provided template, /tableeditor/default.
-
object
Util
Provides a number of methods that make complex Mapper-based view snippets easier to build.