Uses of Class
com.foreach.across.modules.entity.views.ViewElementMode
Package
Description
-
Uses of ViewElementMode in com.foreach.across.modules.entity.config.builders
Modifier and TypeMethodDescriptionprotected void
EntityListViewFactoryBuilder.configureRenderingProcessors
(EntityViewProcessorRegistry processorRegistry, EntityPropertySelector propertiesToShow, ViewElementMode viewElementMode) protected void
EntityViewFactoryBuilder.configureRenderingProcessors
(EntityViewProcessorRegistry processorRegistry, EntityPropertySelector propertiesToShow, ViewElementMode viewElementMode) EntityConfigurationBuilder.viewElementBuilder
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementBuilder viewElementBuilder) Set the defaultViewElementBuilder
properties with this entity as type should use for a particularViewElementMode
.EntityPropertyDescriptorBuilder.viewElementBuilder
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementBuilder viewElementBuilder) Set theViewElementBuilder
to use for a particularViewElementMode
.EntityPropertyRegistryBuilder.PropertyDescriptorBuilder.viewElementBuilder
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementBuilder viewElementBuilder) EntityListViewFactoryBuilder.viewElementMode
(ViewElementMode viewElementMode) EntityViewFactoryBuilder.viewElementMode
(ViewElementMode viewElementMode) Configure the rendering mode for the properties.EntityPropertyDescriptorBuilder.viewElementModeCaching
(ViewElementMode mode, boolean cacheable) Set the caching mode for a particularViewElementMode
.EntityPropertyRegistryBuilder.PropertyDescriptorBuilder.viewElementModeCaching
(ViewElementMode mode, boolean cacheable) <U extends com.foreach.across.modules.web.ui.ViewElement>
EntityConfigurationBuilder<T>EntityConfigurationBuilder.viewElementPostProcessor
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementPostProcessor<U> viewElementPostProcessor) Add aViewElementPostProcessor
to apply to the defaultViewElementBuilder
.<U extends com.foreach.across.modules.web.ui.ViewElement>
EntityPropertyDescriptorBuilderEntityPropertyDescriptorBuilder.viewElementPostProcessor
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementPostProcessor<U> viewElementPostProcessor) Add aViewElementPostProcessor
to apply to the defaultViewElementBuilder
.<U extends com.foreach.across.modules.web.ui.ViewElement>
EntityPropertyRegistryBuilder.PropertyDescriptorBuilderEntityPropertyRegistryBuilder.PropertyDescriptorBuilder.viewElementPostProcessor
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementPostProcessor<U> viewElementPostProcessor) EntityConfigurationBuilder.viewElementType
(ViewElementMode mode, String viewElementType) Set theViewElement
type of a particularViewElementMode
.EntityPropertyDescriptorBuilder.viewElementType
(ViewElementMode mode, String viewElementType) Set theViewElement
type of a particularViewElementMode
.EntityPropertyRegistryBuilder.PropertyDescriptorBuilder.viewElementType
(ViewElementMode mode, String viewElementType) -
Uses of ViewElementMode in com.foreach.across.modules.entity.views
Modifier and TypeFieldDescriptionstatic final ViewElementMode
ViewElementMode.CONTROL
Form control for modifying the descriptor.static final ViewElementMode
ViewElementMode.FILTER_CONTROL
Control for filtering on the property or entity.static final ViewElementMode
ViewElementMode.FILTER_FORM
Wrapper for the control for filtering on the property or entity.static final ViewElementMode
ViewElementMode.FORM_READ
Control for detail (form) view.static final ViewElementMode
ViewElementMode.FORM_WRITE
Control for modifying form view.static final ViewElementMode
ViewElementMode.LABEL
Only the label text of the descriptor.static final ViewElementMode
ViewElementMode.LIST_CONTROL
Form control for modifying the descriptor - for use in list view (usually tabular).static final ViewElementMode
ViewElementMode.LIST_LABEL
Only the label text of the descriptor - for use in list view (usually tabular).static final ViewElementMode
ViewElementMode.LIST_VALUE
Only the (readonly) value of the descriptor - for use in list view (usually tabular).static final ViewElementMode
ViewElementMode.VALUE
Only the (readonly) value of the descriptor.Modifier and TypeMethodDescriptionViewElementMode.forMultiple()
Converts the current mode to the multiple variant.ViewElementMode.forSingle()
Converts the current mode to the single variant.ViewElementMode.getChildMode
(@NonNull String childModeName) Get the child mode.ViewElementMode.getChildMode
(@NonNull String childModeName, ViewElementMode defaultIfNotSet) Get the child mode or return the default value if not set.static ViewElementMode
Parses a string into a valid mode.ViewElementMode.withChildMode
(@NonNull String childModeName, ViewElementMode viewElementMode) Creates a new element mode with the additional child mode configured.ViewElementMode.withoutChildMode
(@NonNull String childModeName) Creates a new element mode without the child mode configured.ViewElementMode.withoutChildModes()
Creates a new element mode without any child modes configured.Modifier and TypeMethodDescriptionvoid
ViewElementLookupRegistry.addViewElementPostProcessor
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementPostProcessor<?> postProcessor) Add aViewElementPostProcessor
that should be applied to the element builder.void
ViewElementLookupRegistryImpl.addViewElementPostProcessor
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementPostProcessor<?> postProcessor) boolean
ViewElementLookupRegistry.cacheViewElementBuilder
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementBuilder builder) IfViewElementLookupRegistry.isCacheable(ViewElementMode)
returnsfalse
this call will have no effect and return value should also befalse
.boolean
ViewElementLookupRegistryImpl.cacheViewElementBuilder
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementBuilder builder) EntityViewElementBuilderFactory.createBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) Create the actual builder.EntityViewElementBuilderFactorySupport.createBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) com.foreach.across.modules.web.ui.ViewElementBuilder
EntityViewElementBuilderService.createElementBuilder
(EntityPropertyDescriptor descriptor, ViewElementMode mode) Creates a newViewElementBuilder
instance for the given property descriptor.com.foreach.across.modules.web.ui.ViewElementBuilder
EntityViewElementBuilderService.createElementBuilder
(EntityPropertyDescriptor descriptor, ViewElementMode mode, String elementType) Creates a newViewElementBuilder
instance of the given elementType for the specific property descriptor.com.foreach.across.modules.web.ui.ViewElementBuilder
EntityViewElementBuilderServiceImpl.createElementBuilder
(EntityPropertyDescriptor descriptor, ViewElementMode mode) com.foreach.across.modules.web.ui.ViewElementBuilder
EntityViewElementBuilderServiceImpl.createElementBuilder
(EntityPropertyDescriptor descriptor, ViewElementMode mode, String elementType) protected abstract T
EntityViewElementBuilderFactorySupport.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) ViewElementTypeLookupStrategy.findElementType
(EntityPropertyDescriptor descriptor, ViewElementMode viewElementMode) com.foreach.across.modules.web.ui.ViewElementBuilder
ViewElementLookupRegistry.getCachedViewElementBuilder
(ViewElementMode mode) Retrieve the (optionally) cached builder.com.foreach.across.modules.web.ui.ViewElementBuilder
ViewElementLookupRegistryImpl.getCachedViewElementBuilder
(ViewElementMode mode) ViewElementMode.getChildMode
(@NonNull String childModeName, ViewElementMode defaultIfNotSet) Get the child mode or return the default value if not set.com.foreach.across.modules.web.ui.ViewElementBuilder
EntityViewElementBuilderService.getElementBuilder
(EntityPropertyDescriptor descriptor, ViewElementMode mode) Retrieves aViewElementBuilder
for a property descriptor.com.foreach.across.modules.web.ui.ViewElementBuilder
EntityViewElementBuilderServiceImpl.getElementBuilder
(EntityPropertyDescriptor descriptor, ViewElementMode mode) com.foreach.across.modules.web.ui.ViewElementBuilder
ViewElementLookupRegistry.getViewElementBuilder
(ViewElementMode mode) com.foreach.across.modules.web.ui.ViewElementBuilder
ViewElementLookupRegistryImpl.getViewElementBuilder
(ViewElementMode mode) Collection<com.foreach.across.modules.web.ui.ViewElementPostProcessor<?>>
ViewElementLookupRegistry.getViewElementPostProcessors
(ViewElementMode mode) Collection<com.foreach.across.modules.web.ui.ViewElementPostProcessor<?>>
ViewElementLookupRegistryImpl.getViewElementPostProcessors
(ViewElementMode mode) ViewElementLookupRegistry.getViewElementType
(ViewElementMode mode) ViewElementLookupRegistryImpl.getViewElementType
(ViewElementMode mode) boolean
ViewElementLookupRegistry.isCacheable
(ViewElementMode mode) If the result of a certain mode is cacheable, this means that an externalEntityViewElementBuilderService
can store back the results of a type lookup or builder creation.boolean
ViewElementLookupRegistryImpl.isCacheable
(ViewElementMode mode) static boolean
ViewElementMode.isControl
(@NonNull ViewElementMode mode) static boolean
ViewElementMode.isLabel
(@NonNull ViewElementMode mode) static boolean
ViewElementMode.isList
(@NonNull ViewElementMode mode) static boolean
ViewElementMode.isValue
(@NonNull ViewElementMode mode) boolean
ViewElementMode.matchesSingleTypeOf
(ViewElementMode viewElementMode) Check if this view element mode has the same single type as the argument.boolean
ViewElementMode.matchesSingleTypeOfAny
(ViewElementMode... viewElementModes) Check if this view element mode has the same single type as any of the arguments.boolean
ViewElementMode.matchesTypeOf
(ViewElementMode viewElementMode) Check if this view element mode has the same base type as the arguments.boolean
ViewElementMode.matchesTypeOfAny
(ViewElementMode... viewElementModes) Check if this view element mode has the same base type as any of the arguments.void
EntityViewElementBuilderProcessor.process
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType, T builder) Process the builder instance.void
ViewElementLookupRegistry.reset
(ViewElementMode mode) Removes the cached builder for the given mode.void
ViewElementLookupRegistryImpl.reset
(ViewElementMode mode) void
ViewElementLookupRegistry.setCacheable
(ViewElementMode mode, boolean cacheable) Sets the cacheable status for a given mode.void
ViewElementLookupRegistryImpl.setCacheable
(ViewElementMode mode, boolean cacheable) void
ViewElementLookupRegistry.setViewElementBuilder
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementBuilder builder) Set the fixedViewElementBuilder
for lookups.void
ViewElementLookupRegistryImpl.setViewElementBuilder
(ViewElementMode mode, com.foreach.across.modules.web.ui.ViewElementBuilder builder) void
ViewElementLookupRegistry.setViewElementType
(ViewElementMode mode, String viewElementType) Set the view element type for subsequent lookup.void
ViewElementLookupRegistryImpl.setViewElementType
(ViewElementMode mode, String viewElementType) ViewElementMode.withChildMode
(@NonNull String childModeName, ViewElementMode viewElementMode) Creates a new element mode with the additional child mode configured. -
Uses of ViewElementMode in com.foreach.across.modules.entity.views.bootstrapui
Modifier and TypeMethodDescriptionprotected ViewElementMode
FormGroupElementBuilderFactory.resolveControlMode
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode) protected ViewElementMode
FormGroupElementBuilderFactory.resolveLabelMode
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode) Modifier and TypeMethodDescriptioncom.foreach.across.modules.web.ui.ViewElementBuilder
EmbeddedCollectionOrMapElementBuilderFactory.createBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) protected com.foreach.across.modules.web.ui.ViewElementBuilder
AutoSuggestFormElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) CheckboxFormElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor descriptor, ViewElementMode viewElementMode, String viewElementType) protected com.foreach.across.modules.web.ui.ViewElementBuilder
DateTimeFormElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) protected com.foreach.across.modules.web.ui.ViewElementBuilder<ViewElementFieldset>
FieldsetElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) protected FormGroupElementBuilder
FilterFormGroupElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) protected FormGroupElementBuilder
FormGroupElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) protected HiddenFormElementBuilder
HiddenFormElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) protected com.foreach.across.modules.web.ui.ViewElementBuilder
LabelFormElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) protected com.foreach.across.modules.web.ui.ViewElementBuilder
MultiValueElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) protected com.foreach.across.modules.web.ui.ViewElementBuilder
NumericFormElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) protected OptionsFormElementBuilder
OptionsFormElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor descriptor, ViewElementMode viewElementMode, String viewElementType) protected TextboxFormElementBuilder
TextboxFormElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) protected com.foreach.across.modules.web.ui.elements.builder.TextViewElementBuilder
TextViewElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) ToggleFormElementBuilderFactory.createInitialBuilder
(EntityPropertyDescriptor descriptor, ViewElementMode viewElementMode, String viewElementType) BootstrapUiElementTypeLookupStrategy.findElementType
(EntityPropertyDescriptor descriptor, ViewElementMode viewElementMode) protected void
DateTimeFormElementBuilderFactory.PastAndFutureValidationProcessor.handleConstraint
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType, DateTimeFormElementBuilder builder, Annotation annotation, Map<String, Object> annotationAttributes, jakarta.validation.metadata.ConstraintDescriptor constraint) protected void
TextboxFormElementBuilderFactory.EmailTypeDetectionProcessor.handleConstraint
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType, TextboxFormElementBuilder builder, Annotation annotation, Map<String, Object> annotationAttributes, jakarta.validation.metadata.ConstraintDescriptor constraint) void
TextboxFormElementBuilderFactory.EmailTypeDetectionProcessor.process
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType, TextboxFormElementBuilder builder) void
TextboxFormElementBuilderFactory.PasswordTypeDetectionProcessor.process
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType, TextboxFormElementBuilder builder) protected ViewElementMode
FormGroupElementBuilderFactory.resolveControlMode
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode) protected ViewElementMode
FormGroupElementBuilderFactory.resolveLabelMode
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode) -
Uses of ViewElementMode in com.foreach.across.modules.entity.views.bootstrapui.processors.builder
Modifier and TypeMethodDescriptionprotected abstract void
ValidationConstraintsBuilderProcessor.handleConstraint
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType, T builder, Annotation annotation, Map<String, Object> annotationAttributes, jakarta.validation.metadata.ConstraintDescriptor constraint) void
FormControlNameBuilderProcessor.process
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType, T builder) Deprecated.void
PersistenceAnnotationBuilderProcessor.process
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType, T builder) void
ValidationConstraintsBuilderProcessor.process
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType, T builder) -
Uses of ViewElementMode in com.foreach.across.modules.entity.views.bootstrapui.util
Modifier and TypeMethodDescriptionSortableTableBuilder.setLabelViewElementMode
(ViewElementMode labelViewElementMode) Set the rendering mode for the label of an entity (header row).SortableTableBuilder.setValueViewElementMode
(ViewElementMode valueViewElementMode) Set the rendering mode for the values of an entity. -
Uses of ViewElementMode in com.foreach.across.modules.entity.views.helpers
Modifier and TypeMethodDescriptionvoid
EntityViewElementBatch.setViewElementMode
(ViewElementMode viewElementMode) -
Uses of ViewElementMode in com.foreach.across.modules.entity.views.processors
Modifier and TypeMethodDescriptionprotected ViewElementMode
EntityQueryFilterProcessor.determineViewElementMode
(EntityPropertyDescriptor property) Modifier and TypeMethodDescriptionvoid
PropertyRenderingViewProcessor.setViewElementMode
(ViewElementMode viewElementMode) Which type of view elements should be created for the properties?void
SortableTableRenderingViewProcessor.setViewElementMode
(ViewElementMode viewElementMode) ViewElement mode for the value rows.