Uses of Class
com.flowlogix.jeedao.primefaces.CursorPagination.Config
Packages that use CursorPagination.Config
-
Uses of CursorPagination.Config in com.flowlogix.jeedao.primefaces
Method parameters in com.flowlogix.jeedao.primefaces with type arguments of type CursorPagination.ConfigModifier and TypeMethodDescriptionstatic <TT> Lazy<CursorPagination<TT>> CursorPagination.create(Function<com.flowlogix.jeedao.primefaces.CursorPagination.Config.ConfigBuilder<TT>, CursorPagination.Config<TT>> configConsumer) Creates a default implementation of cursor pagination
@Named @ViewScoped public class CursorDataModel implements Serializable { @Inject @Getter JPALazyDataModel<UserEntity> userModel; @PostConstruct void initialize() { // configure cursor pagination by id field userModel.initialize(builder -> builder .cursor(CursorPagination.create(config -> config.supportedFields(List.of( new Field<>(() -> UserEntity_.id.getName(), UserEntity::getId) )).build())).build()); } }