public class LazyProcessListModel extends org.primefaces.model.LazyDataModel<FormRecordListItem> implements ILazyListModel<FormRecordListItem>, ILazyProcessModel
Constructor and Description |
---|
LazyProcessListModel(Mandant client,
List<Postfach> inboxes) |
LazyProcessListModel(Mandant client,
Map<String,de.xima.cmn.criteria.FilterCriterion> filters,
List<Postfach> inboxes) |
Modifier and Type | Method and Description |
---|---|
List<FormRecordListItem> |
getAll() |
de.xima.cmn.criteria.AttributeSelectCriteriaManager |
getAllScm() |
Map<String,de.xima.cmn.criteria.FilterCriterion> |
getFilters() |
List<Postfach> |
getInboxes() |
FormRecordListItem |
getRowData(String rowKey) |
int |
getRowIndex(Integer rowKey) |
Object |
getRowKey(FormRecordListItem object) |
FormRecordListItem |
getSelected() |
de.xima.cmn.criteria.SortingCriterion |
getSorting() |
List<FormRecordListItem> |
load() |
List<FormRecordListItem> |
load(int first,
int pageSize,
Map<String,org.primefaces.model.SortMeta> multiSortMeta,
Map<String,org.primefaces.model.FilterMeta> filters) |
List<FormRecordListItem> |
load(int first,
int pageSize,
String sortField,
org.primefaces.model.SortOrder sortOrder,
Map<String,org.primefaces.model.FilterMeta> filters) |
de.xima.cmn.criteria.FilterCriterion |
putFilter(String key,
de.xima.cmn.criteria.FilterCriterion filter)
Add or change filter associated with the given key
|
de.xima.cmn.criteria.FilterCriterion |
removeFilter(String key)
Remove key associated with given key
|
void |
setAppointmentTemplates(List<AppointmentTemplate> appointmentTemplates) |
void |
setAvailableAppointmentTemplates(List<AppointmentTemplateItem> availableAppointmentTemplates) |
void |
setInboxes(List<Postfach> inboxes) |
void |
setSelected(FormRecordListItem selected) |
void |
setSorting(de.xima.cmn.criteria.SortingCriterion sorting) |
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
getRowCount
forEach, spliterator
public List<FormRecordListItem> load()
public List<FormRecordListItem> load(int first, int pageSize, Map<String,org.primefaces.model.SortMeta> multiSortMeta, Map<String,org.primefaces.model.FilterMeta> filters)
load
in interface ILazyListModel<FormRecordListItem>
load
in class org.primefaces.model.LazyDataModel<FormRecordListItem>
public List<FormRecordListItem> load(int first, int pageSize, String sortField, org.primefaces.model.SortOrder sortOrder, Map<String,org.primefaces.model.FilterMeta> filters)
load
in interface ILazyListModel<FormRecordListItem>
load
in class org.primefaces.model.LazyDataModel<FormRecordListItem>
public List<FormRecordListItem> getAll()
public FormRecordListItem getRowData(String rowKey)
getRowData
in interface ILazyListModel<FormRecordListItem>
getRowData
in interface org.primefaces.model.SelectableDataModel<FormRecordListItem>
getRowData
in class org.primefaces.model.LazyDataModel<FormRecordListItem>
public Object getRowKey(FormRecordListItem object)
getRowKey
in interface ILazyListModel<FormRecordListItem>
getRowKey
in interface org.primefaces.model.SelectableDataModel<FormRecordListItem>
getRowKey
in class org.primefaces.model.LazyDataModel<FormRecordListItem>
public int getRowIndex(Integer rowKey)
public void setSelected(FormRecordListItem selected)
setSelected
in interface ILazyListModel<FormRecordListItem>
public FormRecordListItem getSelected()
getSelected
in interface ILazyListModel<FormRecordListItem>
public de.xima.cmn.criteria.FilterCriterion putFilter(String key, de.xima.cmn.criteria.FilterCriterion filter)
putFilter
in interface ILazyProcessModel
key
- String
filter
- FilterCriterion
FilterCriterion
public de.xima.cmn.criteria.FilterCriterion removeFilter(String key)
removeFilter
in interface ILazyProcessModel
key
- String
FilterCriterion
public Map<String,de.xima.cmn.criteria.FilterCriterion> getFilters()
getFilters
in interface ILazyProcessModel
public void setInboxes(List<Postfach> inboxes)
setInboxes
in interface ILazyProcessModel
inboxes
- the inboxes to setpublic de.xima.cmn.criteria.SortingCriterion getSorting()
public void setSorting(de.xima.cmn.criteria.SortingCriterion sorting)
setSorting
in interface ILazyProcessModel
sorting
- the sorting to setpublic de.xima.cmn.criteria.AttributeSelectCriteriaManager getAllScm()
public void setAppointmentTemplates(List<AppointmentTemplate> appointmentTemplates)
setAppointmentTemplates
in interface ILazyProcessModel
public void setAvailableAppointmentTemplates(List<AppointmentTemplateItem> availableAppointmentTemplates)
setAvailableAppointmentTemplates
in interface ILazyProcessModel
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.