Class LazyFormsViewBean
- All Implemented Interfaces:
Serializable, Iterable<FormModel>, org.primefaces.model.SelectableDataModel<FormModel>
@Named
@ViewScoped
public class LazyFormsViewBean
extends org.primefaces.model.LazyDataModel<FormModel>
implements Serializable
This model is used to display the form cards in a lazy way.
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetRowData(String rowKey) getScreenReaderSearchTextFeedback(String searchText) voidinit()load(int offset, int pageSize, Map<String, org.primefaces.model.SortMeta> sortBy, Map<String, org.primefaces.model.FilterMeta> filterBy) voidLoad the count of forms.voidCalled when the sort selection changes.voidCalled when the search query changes.voidMethods inherited from class org.primefaces.model.LazyDataModel
getConverter, getMessage, getPageSize, getRowCount, getRowData, getRowData, getRowIndex, getWrappedData, isRowAvailable, iterator, iterator, recalculateFirst, setConverter, setPageSize, setRowCount, setRowIndex, setWrappedDataMethods inherited from class javax.faces.model.DataModel
addDataModelListener, getDataModelListeners, removeDataModelListenerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
LazyFormsViewBean
public LazyFormsViewBean()
-
-
Method Details
-
init
@PostConstruct public void init() -
count
-
load
-
getRowData
-
getRowKey
-
loadCount
public void loadCount()Load the count of forms. -
getScreenReaderSearchTextFeedback
-
onFormTagsChange
public void onFormTagsChange()Called when the sort selection changes. -
onSearchChange
public void onSearchChange()Called when the search query changes. -
removeTag
-
getQueryModel
-