Class EntityViewElementBuilderFactoryHelper
java.lang.Object
com.foreach.across.modules.entity.views.EntityViewElementBuilderFactoryHelper
- Author:
- Arne Vandamme
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<V extends com.foreach.across.modules.web.ui.elements.ConfigurableTextViewElement>
AbstractValueTextPostProcessor<V>Create aViewElementPostProcessor
for a singleEntityPropertyDescriptor
that will convert a property value to text for aConfigurableTextViewElement
.
-
Constructor Details
-
EntityViewElementBuilderFactoryHelper
public EntityViewElementBuilderFactoryHelper()
-
-
Method Details
-
createDefaultValueTextPostProcessor
public <V extends com.foreach.across.modules.web.ui.elements.ConfigurableTextViewElement> AbstractValueTextPostProcessor<V> createDefaultValueTextPostProcessor(EntityPropertyDescriptor descriptor) Create aViewElementPostProcessor
for a singleEntityPropertyDescriptor
that will convert a property value to text for aConfigurableTextViewElement
. The actual implementation depends on the presence of attributes on the descriptor.- Parameters:
descriptor
- for which to create default post processor- Returns:
- default postprocessor
-