Interface EntityViewElementBuilderService

All Known Implementing Classes:
EntityViewElementBuilderServiceImpl

public interface EntityViewElementBuilderService
Central service interface for retrieving or creating ViewElementBuilder instances for EntityPropertyDescriptors.
Author:
Arne Vandamme
See Also:
  • Method Details

    • createElementBuilder

      com.foreach.across.modules.web.ui.ViewElementBuilder createElementBuilder(EntityPropertyDescriptor descriptor, ViewElementMode mode)
      Creates a new ViewElementBuilder instance for the given property descriptor. The type of the builder will be determined automatically based on the descriptor and requested mode.
      Parameters:
      descriptor - of the specific property
      mode - for which we are requesting the builder
      Returns:
      newly created builder instance
    • createElementBuilder

      com.foreach.across.modules.web.ui.ViewElementBuilder createElementBuilder(EntityPropertyDescriptor descriptor, ViewElementMode mode, String elementType)
      Creates a new ViewElementBuilder instance of the given elementType for the specific property descriptor.
      Parameters:
      descriptor - of the specific property
      mode - for which we are requesting the builder
      elementType - of the builder that should be created
      Returns:
      newly created builder instance
    • getElementBuilder

      com.foreach.across.modules.web.ui.ViewElementBuilder getElementBuilder(EntityPropertyDescriptor descriptor, ViewElementMode mode)
      Retrieves a ViewElementBuilder for a property descriptor. Depending on the backing strategy a new or reusable instance will be returned.
      Parameters:
      descriptor - of the specific property
      mode - for which we are requesting the builder
      Returns:
      builder instance