TRI Lazy Data Controller

Data Controller framework with support for lazy loading, pagination, single- and multi-selection and observer pattern.

License

License

Categories

Categories

Data
GroupId

GroupId

com.tri-systems.ui.ldc
ArtifactId

ArtifactId

lazy-datacontroller
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom
Description

Description

TRI Lazy Data Controller
Data Controller framework with support for lazy loading, pagination, single- and multi-selection and observer pattern.
Project Organization

Project Organization

TRI Systems
Source Code Management

Source Code Management

https://github.com/khennig/lazy-datacontroller

Download lazy-datacontroller

How to add to project

<!-- https://jarcasting.com/artifacts/com.tri-systems.ui.ldc/lazy-datacontroller/ -->
<dependency>
    <groupId>com.tri-systems.ui.ldc</groupId>
    <artifactId>lazy-datacontroller</artifactId>
    <version>1.0.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.tri-systems.ui.ldc/lazy-datacontroller/
implementation 'com.tri-systems.ui.ldc:lazy-datacontroller:1.0.0'
// https://jarcasting.com/artifacts/com.tri-systems.ui.ldc/lazy-datacontroller/
implementation ("com.tri-systems.ui.ldc:lazy-datacontroller:1.0.0")
'com.tri-systems.ui.ldc:lazy-datacontroller:pom:1.0.0'
<dependency org="com.tri-systems.ui.ldc" name="lazy-datacontroller" rev="1.0.0">
  <artifact name="lazy-datacontroller" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.tri-systems.ui.ldc', module='lazy-datacontroller', version='1.0.0')
)
libraryDependencies += "com.tri-systems.ui.ldc" % "lazy-datacontroller" % "1.0.0"
[com.tri-systems.ui.ldc/lazy-datacontroller "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • lazy-datacontroller-jsftest
  • lazy-datacontroller-impl
  • lazy-datacontroller-pfadapter

lazy-datacontroller

Data Controller framework with support for lazy loading, pagination, single- and multi-selection and observer pattern.

Overview

Build flexible and powerful master–detail interfaces with these three classes SingleDataController, ListDataController and PagedListDataController

Adapter

Adapters

Adapters allow you to adapt a lazy controller to a view controller like JSF DataModel, PrimeFaces LazyDataModel.

Adapter

Sample page

This master–detail interface sample is taken from the included JSF Test module lazy-datacontroller-jsftest

Master–Detail Interface Sample

Building it

Lazy Datacontroller uses Apache Maven as Build Tool

git clone https://github.com/khennig/lazy-datacontroller.git
cd lazy-datacontroller
mvn install

Adding it to your project

Add the following dependency to your pom.xml:/project/dependencies

<dependency>
    <groupId>com.tri-systems.ui.ldc</groupId>
    <artifactId>lazy-datacontroller-impl</artifactId>
    <version>1.0.0</version>
</dependency>
<dependency>
    <groupId>com.tri-systems.ui.ldc</groupId>
    <artifactId>lazy-datacontroller-pfadapter</artifactId>
    <version>1.0.0</version>
</dependency>

Binaries are available at Maven Central.

License

MIT License

Versions

Version
1.0.0