public class LazyEntityListModel<T extends ITransferableEntity> extends org.primefaces.model.LazyDataModel<T> implements ILazyEntityListModel<T>
Constructor and Description |
---|
LazyEntityListModel(Class<T> entityClass) |
LazyEntityListModel(Class<T> entityClass,
Mandant mandant) |
Modifier and Type | Method and Description |
---|---|
int |
getPage(ITransferableEntity entity,
int pageSize) |
de.xima.cmn.criteria.QueryCriteriaManager |
getQcm() |
T |
getRowData(String rowKey) |
Object |
getRowKey(T object) |
T |
getSelected() |
List<T> |
load(int first,
int pageSize,
Map<String,org.primefaces.model.SortMeta> multiSortMeta,
Map<String,org.primefaces.model.FilterMeta> filters) |
List<T> |
load(int first,
int pageSize,
String sortField,
org.primefaces.model.SortOrder sortOrder,
Map<String,org.primefaces.model.FilterMeta> filters) |
void |
setQcm(de.xima.cmn.criteria.QueryCriteriaManager qcm) |
void |
setSelected(T selected) |
void |
updateRowCount() |
getPageSize, getRowCount, getRowData, getRowIndex, getWrappedData, isRowAvailable, iterator, iterator, iterator, setPageSize, setRowCount, setRowIndex, setWrappedData
addDataModelListener, getDataModelListeners, removeDataModelListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public List<T> load(int first, int pageSize, Map<String,org.primefaces.model.SortMeta> multiSortMeta, Map<String,org.primefaces.model.FilterMeta> filters)
load
in interface ILazyListModel<T extends ITransferableEntity>
load
in class org.primefaces.model.LazyDataModel<T extends ITransferableEntity>
public List<T> load(int first, int pageSize, String sortField, org.primefaces.model.SortOrder sortOrder, Map<String,org.primefaces.model.FilterMeta> filters)
load
in interface ILazyListModel<T extends ITransferableEntity>
load
in class org.primefaces.model.LazyDataModel<T extends ITransferableEntity>
public int getPage(ITransferableEntity entity, int pageSize)
public T getRowData(String rowKey)
getRowData
in interface ILazyListModel<T extends ITransferableEntity>
getRowData
in interface org.primefaces.model.SelectableDataModel<T extends ITransferableEntity>
getRowData
in class org.primefaces.model.LazyDataModel<T extends ITransferableEntity>
public Object getRowKey(T object)
getRowKey
in interface ILazyListModel<T extends ITransferableEntity>
getRowKey
in interface org.primefaces.model.SelectableDataModel<T extends ITransferableEntity>
getRowKey
in class org.primefaces.model.LazyDataModel<T extends ITransferableEntity>
public void setSelected(T selected)
setSelected
in interface ILazyListModel<T extends ITransferableEntity>
public T getSelected()
getSelected
in interface ILazyListModel<T extends ITransferableEntity>
public de.xima.cmn.criteria.QueryCriteriaManager getQcm()
public void setQcm(de.xima.cmn.criteria.QueryCriteriaManager qcm)
public void updateRowCount()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.