Uses of Class
jakarta.faces.model.DataModel
-
Uses of DataModel in com.sun.faces.cdi
Modifier and TypeMethodDescription<T extends DataModel<?>>
voidCdiExtension.processBean
(ProcessBean<T> processBeanEvent, BeanManager beanManager) ProcessBean: if bean is annotated with@FacesDataModel
then collect it forCdiExtension.afterDeploymentValidation(AfterDeploymentValidation, BeanManager)
Modifier and TypeMethodDescriptionstatic DataModel
<?> CdiUtils.createDataModel
(Class<?> forClass) Modifier and TypeMethodDescriptionCdiUtils.getDataModelClassesMap
(CDI<Object> cdi) CdiExtension.getForClassToDataModelClass()
Gets the map of classes that can be wrapped by a data model to data model implementation classes -
Uses of DataModel in jakarta.faces.component
Modifier and TypeMethodDescriptionprotected DataModel
UIData.getDataModel()
Return the internalDataModel
object representing the data objects that we will iterate over in this component's rendering.Modifier and TypeMethodDescriptionprotected void
UIData.setDataModel
(DataModel dataModel) Set the internal DataModel. -
Uses of DataModel in jakarta.faces.model
Modifier and TypeClassDescriptionclass
ArrayDataModel is a convenience implementation ofDataModel
that wraps an array of Java objects.class
CollectionDataModel is a convenience implementation ofDataModel
that wraps anCollection
of Java objects.class
IterableDataModel is an implementation ofDataModel
that wraps anIterable
.class
ListDataModel is a convenience implementation ofDataModel
that wraps anList
of Java objects.class
ResultSetDataModel is a convenience implementation ofDataModel
that wraps aResultSet
of Java objects.class
ScalarDataModel is a convenience implementation ofDataModel
that wraps an individual Java object.Modifier and TypeMethodDescriptionDataModelEvent.getDataModel()
Return theDataModel
that fired this event.ModifierConstructorDescriptionDataModelEvent
(DataModel model, int index, Object data) Construct an event object that is associated with the specified row index and associated data.