Uses of Class
com.blazebit.persistence.view.EntityViewSetting
Packages that use EntityViewSetting
Package
Description
Entity-View extension for the Blaze-Persistence API.
-
Uses of EntityViewSetting in com.blazebit.persistence.view
Methods in com.blazebit.persistence.view that return EntityViewSettingModifier and TypeMethodDescriptionstatic <T> EntityViewSetting<T,CriteriaBuilder<T>> Likecreate(java.lang.Class, java.lang.String)but with theviewConstructorNameset to null.static <T> EntityViewSetting<T,PaginatedCriteriaBuilder<T>> Likecreate(java.lang.Class, int, int, java.lang.String)but with theviewConstructorNameset to null.static <T> EntityViewSetting<T,PaginatedCriteriaBuilder<T>> EntityViewSetting.create(Class<T> entityViewClass, int firstResult, int maxResults, String viewConstructorName) Creates a new EntityViewSetting that can be applied on criteria builders.static <T> EntityViewSetting<T,PaginatedCriteriaBuilder<T>> Likecreate(java.lang.Class, java.lang.Object, int, java.lang.String)but with theviewConstructorNameset to null.static <T> EntityViewSetting<T,PaginatedCriteriaBuilder<T>> EntityViewSetting.create(Class<T> entityViewClass, Object entityId, int maxResults, String viewConstructorName) Creates a new EntityViewSetting that can be applied on criteria builders.static <T> EntityViewSetting<T,CriteriaBuilder<T>> Creates a new EntityViewSetting that can be applied on criteria builders.<X extends T,Y extends FullQueryBuilder<X, Y>>
EntityViewSetting<X,Y> EntityViewSetting.forSubtype(Class<X> subtype) Creates a copy ofthisEntityViewSetting for the given entity view subtype.<FilterValue>
EntityViewSetting<T,Q> EntityViewSetting.withAttributeFilter(AttributeFilterMapping<T, FilterValue> attributeFilter, FilterValue filterValue) Adds the attribute's default attribute filter to the attribute filters of this setting or overwrites the filter value of an existing default attribute filter.<FilterValue>
EntityViewSetting<T,Q> EntityViewSetting.withAttributeFilter(AttributeFilterMappingPath<T, FilterValue> attributeFilter, FilterValue filterValue) Adds the attribute's default attribute filter to the attribute filters of this setting or overwrites the filter value of an existing default attribute filter.EntityViewSetting.withAttributeFilter(String attributeName, Object filterValue) Adds the attribute's default attribute filter to the attribute filters of this setting or overwrites the filter value of an existing default attribute filter.EntityViewSetting.withAttributeFilter(String attributeName, String filterName, Object filterValue) Adds the attribute's attribute filter with the given name to the attribute filters of this setting or overwrites the filter value of an existing attribute filter with the same attribute name and filter name.EntityViewSetting.withAttributeSorter(AttributePath<T, ?, ?> attributePath, Sorter sorter) Adds the given attribute sorter to the attribute sorters of this setting.EntityViewSetting.withAttributeSorter(MethodAttribute<T, ?> attribute, Sorter sorter) Adds the given attribute sorter to the attribute sorters of this setting.EntityViewSetting.withAttributeSorter(String attributeName, Sorter sorter) Adds the given attribute sorter to the attribute sorters of this setting.EntityViewSetting.withKeysetPage(KeysetPage keysetPage) Sets the key set of this setting.EntityViewSetting.withOptionalParameter(String parameterName, Object value) Adds the given optional parameter to the optional parameters of this setting.EntityViewSetting.withProperty(String propertyName, Object value) Set a entity view property or hint.EntityViewSetting.withViewFilter(String filterName) Enables and adds the view filter with the given name in this setting.Methods in com.blazebit.persistence.view with parameters of type EntityViewSettingModifier and TypeMethodDescription<T,Q extends FullQueryBuilder<T, Q>>
QEntityViewManager.applySetting(EntityViewSetting<T, Q> setting, CriteriaBuilder<?> criteriaBuilder) Applies the entity view setting to the given criteria builder.<T,Q extends FullQueryBuilder<T, Q>>
QEntityViewManager.applySetting(EntityViewSetting<T, Q> setting, CriteriaBuilder<?> criteriaBuilder, String entityViewRoot) Applies the entity view setting to the given entity view root of the criteria builder.<T,Q extends FullQueryBuilder<T, Q>>
QSerializableEntityViewManager.applySetting(EntityViewSetting<T, Q> setting, CriteriaBuilder<?> criteriaBuilder) <T,Q extends FullQueryBuilder<T, Q>>
QSerializableEntityViewManager.applySetting(EntityViewSetting<T, Q> setting, CriteriaBuilder<?> criteriaBuilder, String entityViewRoot) <T> TEntityViewManager.find(javax.persistence.EntityManager entityManager, EntityViewSetting<T, CriteriaBuilder<T>> entityViewSetting, Object entityId) Loads and returns an entity view as determined by the given typeEntityViewSettinghaving the given entity id.<T> TSerializableEntityViewManager.find(javax.persistence.EntityManager entityManager, EntityViewSetting<T, CriteriaBuilder<T>> entityViewSetting, Object entityId)