public class UiEntityTableList<E extends Entity> extends UiPagingTableList<E>
UiTableList.Column<V>, UiTableList.Row
UiContainer.UiContainerFragment
Constructor and Description |
---|
UiEntityTableList(UiContainer<?> rParent,
java.lang.Class<E> rEntityType,
de.esoco.lib.expression.Predicate<? super E> pDefaultCriteria)
Creates a new simple, non-expanding entity list.
|
UiEntityTableList(UiContainer<?> rParent,
java.lang.Class<E> rEntityType,
de.esoco.lib.expression.Predicate<? super E> pDefaultCriteria,
de.esoco.lib.expression.monad.Option<UiListPanel.ExpandableListStyle> oExpandStyle)
Creates a new expanding entity list.
|
Modifier and Type | Method and Description |
---|---|
void |
changeDefaultCriteria(de.esoco.lib.expression.Predicate<? super E> pCriteria)
Changes the default criteria and updates the displayed data.
|
java.lang.String |
getGlobalFilter()
Returns the global filter string.
|
void |
setGlobalFilter(java.lang.String sFilter)
Sets a global filter string for this list.
|
void |
setGlobalFilterAttributes(org.obrel.core.RelationType<java.lang.String>... rAttributes)
Sets the attributes to be considered by the global filter.
|
getEmptyPagelLabel, setData, setEmptyPageLabel, update
addColumn, addColumns, addEmptyTableInfo, addExpandedHeader, buildContent, createColumn, createRow, displayRows, getColumns, getData, getRows, getSelection, onColumnSelection, onRowSelection, removeRow, setColumnPrefix, setExpandedRowBuilder, setSelection, updateData
applyProperties, attachTo, builder, clear, componentAdded, componentListChanged, getComponents, getLayout, isBuilt, onClickInContainerArea, remove, toString
cell, cell, getComponentStyleName, getImage, getParent, getRootView, getValueImpl, getView, height, icon, image, label, placeBefore, resid, setValueImpl, size, style, style, styleName, tooltip, visibleOn, width
clear, disable, enable, fragment, get, getParam, has, hide, id, initiateDownload, isEnabled, isVisible, remove, set, set, set, setEnabled, setFragment, setParam, setParameterEventHandler, setParameterType, setVisible, show, type
deleteRelation, get, getRelation, getRelations, notifyRelationListeners, readRelations, relationsEqual, relationsHashCode, relationsString, set, set, transform, writeRelations
public UiEntityTableList(UiContainer<?> rParent, java.lang.Class<E> rEntityType, de.esoco.lib.expression.Predicate<? super E> pDefaultCriteria)
rParent
- The parent containerrEntityType
- The class of the entity type to displaypDefaultCriteria
- The default criteria or NULL for nonepublic UiEntityTableList(UiContainer<?> rParent, java.lang.Class<E> rEntityType, de.esoco.lib.expression.Predicate<? super E> pDefaultCriteria, de.esoco.lib.expression.monad.Option<UiListPanel.ExpandableListStyle> oExpandStyle)
rParent
- The parent containerrEntityType
- The class of the entity type to displaypDefaultCriteria
- Default criteria that are always applied or NULL
for noneoExpandStyle
- The expand stylepublic void changeDefaultCriteria(de.esoco.lib.expression.Predicate<? super E> pCriteria)
pCriteria
- The new default criteriapublic final java.lang.String getGlobalFilter()
public void setGlobalFilter(java.lang.String sFilter)
setGlobalFilterAttributes(RelationType...)
.sFilter
- The filter string or NULL or empty for no filter@SafeVarargs public final void setGlobalFilterAttributes(org.obrel.core.RelationType<java.lang.String>... rAttributes)
rAttributes
- The new filter attributes