Package de.xima.fc.inbox.model.lazydata
Class LazyProcessListModel
- java.lang.Object
- 
- javax.faces.model.DataModel<E>
- 
- javax.faces.model.ListDataModel<T>
- 
- org.primefaces.model.LazyDataModel<IFormRecordWrapper>
- 
- de.xima.fc.inbox.model.lazydata.LazyProcessListModel
 
 
 
 
- 
- All Implemented Interfaces:
- ILazyListModel<IFormRecordWrapper>,- ILazyProcessModel,- Serializable,- Iterable<IFormRecordWrapper>,- org.primefaces.model.SelectableDataModel<IFormRecordWrapper>
 
 public class LazyProcessListModel extends org.primefaces.model.LazyDataModel<IFormRecordWrapper> implements ILazyListModel<IFormRecordWrapper>, ILazyProcessModel - Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description LazyProcessListModel(Mandant client, List<Postfach> inboxes)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcount(Map<String,org.primefaces.model.FilterMeta> filters)List<IFormRecordWrapper>getAll()de.xima.cmn.criteria.QueryCriteriaManagergetAllQcm()Map<String,de.xima.cmn.criteria.FilterCriterion>getFilters()Deprecated.List<Postfach>getInboxes()Deprecated.IFormRecordWrappergetRowData(String rowKey)intgetRowIndex(Integer rowKey)StringgetRowKey(IFormRecordWrapper object)IFormRecordWrappergetSelected()de.xima.cmn.criteria.SortingCriteriongetSorting()List<IFormRecordWrapper>load()List<IFormRecordWrapper>load(int first, int pageSize, Map<String,org.primefaces.model.SortMeta> sortMetas, Map<String,org.primefaces.model.FilterMeta> filterMetas)voidputFilterTag(EInboxFilterTag filterTag)Puts the given filter tag.voidputGlobalSearchFilter(EFormRecordQueryType type, String query, Locale locale)Puts a global search filter for the given type with the given query.voidremoveFilterTag(EInboxFilterTag filterTag)Removes the specified filter tag.voidsetAppointmentTemplates(List<AppointmentTemplate> appointmentTemplates)voidsetAvailableAppointmentTemplates(List<AppointmentTemplateItem> availableAppointmentTemplates)voidsetCreatedFromFilter(Instant instant)Sets a date filter from which the form records have been created.voidsetCreatedToFilter(Instant instant)Sets a date filter until which the form records have been created.voidsetCreatorFilter(IUser user)Puts a filter where the given user is the first submitter (creator) of the form record.voidsetEditedFromFilter(Instant instant)Sets a date filter from which the form records have been last edited.voidsetEditedToFilter(Instant instant)Sets a date filter until which the form records have been last edited.voidsetEditorFilter(IUser user)Puts a filter where the given user is an editor of the form record, meaning they have submitted the form record.voidsetInboxes(List<Postfach> inboxes)voidsetSelected(IFormRecordWrapper selected)voidsetSorting(de.xima.cmn.criteria.SortingCriterion sorting)- 
Methods inherited from class org.primefaces.model.LazyDataModelgetConverter, getMessage, getPageSize, getRowCount, getRowData, getRowData, getRowIndex, getWrappedData, isRowAvailable, iterator, iterator, recalculateFirst, setConverter, setPageSize, setRowCount, setRowIndex, setWrappedData
 - 
Methods inherited from class javax.faces.model.DataModeladdDataModelListener, getDataModelListeners, removeDataModelListener
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface de.xima.fc.inbox.interfaces.lazydata.ILazyProcessModelgetRowCount
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 
- 
 
- 
- 
- 
Method Detail- 
getAllpublic List<IFormRecordWrapper> getAll() 
 - 
getSelectedpublic IFormRecordWrapper getSelected() - Specified by:
- getSelectedin interface- ILazyListModel<IFormRecordWrapper>
 
 - 
setSelectedpublic void setSelected(IFormRecordWrapper selected) - Specified by:
- setSelectedin interface- ILazyListModel<IFormRecordWrapper>
 
 - 
getFilters@Deprecated public Map<String,de.xima.cmn.criteria.FilterCriterion> getFilters() Deprecated.- Specified by:
- getFiltersin interface- ILazyProcessModel
 
 - 
getInboxes@Deprecated public List<Postfach> getInboxes() Deprecated.- Returns:
- the inboxes
 
 - 
setInboxespublic void setInboxes(List<Postfach> inboxes) - Specified by:
- setInboxesin interface- ILazyProcessModel
- Parameters:
- inboxes- the inboxes to set
 
 - 
getSortingpublic de.xima.cmn.criteria.SortingCriterion getSorting() - Returns:
- the sorting
 
 - 
setSortingpublic void setSorting(de.xima.cmn.criteria.SortingCriterion sorting) - Specified by:
- setSortingin interface- ILazyProcessModel
- Parameters:
- sorting- the sorting to set
 
 - 
getAllQcmpublic de.xima.cmn.criteria.QueryCriteriaManager getAllQcm() 
 - 
setCreatorFilterpublic void setCreatorFilter(IUser user) Description copied from interface:ILazyProcessModelPuts a filter where the given user is the first submitter (creator) of the form record.- Specified by:
- setCreatorFilterin interface- ILazyProcessModel
- Parameters:
- user- first submitter (creator). If- nullthe creator filter will be removed if it was set.
 
 - 
setEditorFilterpublic void setEditorFilter(IUser user) Description copied from interface:ILazyProcessModelPuts a filter where the given user is an editor of the form record, meaning they have submitted the form record.- Specified by:
- setEditorFilterin interface- ILazyProcessModel
- Parameters:
- user- editor. If- nullthe editor filter will be removed if it was set.
 
 - 
setCreatedFromFilterpublic void setCreatedFromFilter(Instant instant) Description copied from interface:ILazyProcessModelSets a date filter from which the form records have been created.- Specified by:
- setCreatedFromFilterin interface- ILazyProcessModel
- Parameters:
- instant- from which the form records have been created.- nullremoves the filter.
 
 - 
setCreatedToFilterpublic void setCreatedToFilter(Instant instant) Description copied from interface:ILazyProcessModelSets a date filter until which the form records have been created.- Specified by:
- setCreatedToFilterin interface- ILazyProcessModel
- Parameters:
- instant- until which the form records have been created.- nullremoves the filter.
 
 - 
setEditedFromFilterpublic void setEditedFromFilter(Instant instant) Description copied from interface:ILazyProcessModelSets a date filter from which the form records have been last edited.- Specified by:
- setEditedFromFilterin interface- ILazyProcessModel
- Parameters:
- instant- from which the form records have been last edited.- nullremoves the filter.
 
 - 
setEditedToFilterpublic void setEditedToFilter(Instant instant) Description copied from interface:ILazyProcessModelSets a date filter until which the form records have been last edited.- Specified by:
- setEditedToFilterin interface- ILazyProcessModel
- Parameters:
- instant- until which the form records have been last edited.- nullremoves the filter.
 
 - 
setAppointmentTemplatespublic void setAppointmentTemplates(List<AppointmentTemplate> appointmentTemplates) - Specified by:
- setAppointmentTemplatesin interface- ILazyProcessModel
 
 - 
setAvailableAppointmentTemplatespublic void setAvailableAppointmentTemplates(List<AppointmentTemplateItem> availableAppointmentTemplates) - Specified by:
- setAvailableAppointmentTemplatesin interface- ILazyProcessModel
 
 - 
loadpublic List<IFormRecordWrapper> load() 
 - 
loadpublic List<IFormRecordWrapper> load(int first, int pageSize, Map<String,org.primefaces.model.SortMeta> sortMetas, Map<String,org.primefaces.model.FilterMeta> filterMetas) - Specified by:
- loadin interface- ILazyListModel<IFormRecordWrapper>
- Specified by:
- loadin class- org.primefaces.model.LazyDataModel<IFormRecordWrapper>
 
 - 
countpublic int count(Map<String,org.primefaces.model.FilterMeta> filters) - Specified by:
- countin class- org.primefaces.model.LazyDataModel<IFormRecordWrapper>
 
 - 
getRowDatapublic IFormRecordWrapper getRowData(String rowKey) - Specified by:
- getRowDatain interface- ILazyListModel<IFormRecordWrapper>
- Specified by:
- getRowDatain interface- org.primefaces.model.SelectableDataModel<IFormRecordWrapper>
- Overrides:
- getRowDatain class- org.primefaces.model.LazyDataModel<IFormRecordWrapper>
 
 - 
getRowKeypublic String getRowKey(IFormRecordWrapper object) - Specified by:
- getRowKeyin interface- ILazyListModel<IFormRecordWrapper>
- Specified by:
- getRowKeyin interface- org.primefaces.model.SelectableDataModel<IFormRecordWrapper>
- Overrides:
- getRowKeyin class- org.primefaces.model.LazyDataModel<IFormRecordWrapper>
 
 - 
getRowIndexpublic int getRowIndex(Integer rowKey) 
 - 
putGlobalSearchFilterpublic void putGlobalSearchFilter(EFormRecordQueryType type, String query, Locale locale) Description copied from interface:ILazyProcessModelPuts a global search filter for the given type with the given query. If the query isnullthe filter will be removed.- Specified by:
- putGlobalSearchFilterin interface- ILazyProcessModel
- Parameters:
- type- the type of the filter determines the form record field to be searched.
- query- the query string to be set. If- nullthe filter will be removed.
- locale- the current locale to use for certain filters.
 
 - 
putFilterTagpublic void putFilterTag(EInboxFilterTag filterTag) Description copied from interface:ILazyProcessModelPuts the given filter tag.- Specified by:
- putFilterTagin interface- ILazyProcessModel
- Parameters:
- filterTag- the filter tag to be set.
 
 - 
removeFilterTagpublic void removeFilterTag(EInboxFilterTag filterTag) Description copied from interface:ILazyProcessModelRemoves the specified filter tag.- Specified by:
- removeFilterTagin interface- ILazyProcessModel
- Parameters:
- filterTag- the filter tag to be removed.
 
 
- 
 
-