Uses of Class
jakarta.faces.model.DataModel
-
Packages that use DataModel Package Description com.sun.faces.cdi jakarta.faces.component Fundamental APIs for user interface components.jakarta.faces.model Standard model data beans for Jakarta Faces. -
-
Uses of DataModel in com.sun.faces.cdi
Methods in com.sun.faces.cdi with type parameters of type DataModel Modifier and Type Method Description <T extends DataModel<?>>
voidCdiExtension. processBean(jakarta.enterprise.inject.spi.ProcessBean<T> processBeanEvent, jakarta.enterprise.inject.spi.BeanManager beanManager)
ProcessBean: if bean is annotated with@FacesDataModel
then collect it forCdiExtension.afterDeploymentValidation(AfterDeploymentValidation, BeanManager)
Methods in com.sun.faces.cdi that return DataModel Modifier and Type Method Description static DataModel<?>
CdiUtils. createDataModel(Class<?> forClass)
Methods in com.sun.faces.cdi that return types with arguments of type DataModel Modifier and Type Method Description static Map<Class<?>,Class<? extends DataModel<?>>>
CdiUtils. getDataModelClassesMap(jakarta.enterprise.inject.spi.CDI<Object> cdi)
Map<Class<?>,Class<? extends DataModel<?>>>
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
Methods in jakarta.faces.component that return DataModel Modifier and Type Method Description protected DataModel
UIData. getDataModel()
Return the internalDataModel
object representing the data objects that we will iterate over in this component's rendering.Methods in jakarta.faces.component with parameters of type DataModel Modifier and Type Method Description protected void
UIData. setDataModel(DataModel dataModel)
Set the internal DataModel. -
Uses of DataModel in jakarta.faces.model
Subclasses of DataModel in jakarta.faces.model Modifier and Type Class Description class
ArrayDataModel<E>
ArrayDataModel is a convenience implementation ofDataModel
that wraps an array of Java objects.class
CollectionDataModel<E>
CollectionDataModel is a convenience implementation ofDataModel
that wraps anCollection
of Java objects.class
IterableDataModel<E>
IterableDataModel is an implementation ofDataModel
that wraps anIterable
.class
ListDataModel<E>
ListDataModel is a convenience implementation ofDataModel
that wraps anList
of Java objects.class
ResultSetDataModel
ResultSetDataModel is a convenience implementation ofDataModel
that wraps aResultSet
of Java objects.class
ScalarDataModel<E>
ScalarDataModel is a convenience implementation ofDataModel
that wraps an individual Java object.Methods in jakarta.faces.model that return DataModel Modifier and Type Method Description DataModel
DataModelEvent. getDataModel()
Return theDataModel
that fired this event.Constructors in jakarta.faces.model with parameters of type DataModel Constructor Description DataModelEvent(DataModel model, int index, Object data)
Construct an event object that is associated with the specified row index and associated data.
-