Class FetchPlanAwareEntityTransformer

java.lang.Object
io.jmix.flowui.view.builder.FetchPlanAwareEntityTransformer
All Implemented Interfaces:
EditedEntityTransformer

@Component("flowui_FetchPlanAwareEntityTransformer") @Order(100) public class FetchPlanAwareEntityTransformer extends Object implements EditedEntityTransformer
  • Constructor Details

    • FetchPlanAwareEntityTransformer

      public FetchPlanAwareEntityTransformer()
  • Method Details

    • transformForCollectionContainer

      public <E> E transformForCollectionContainer(E editedEntity, CollectionContainer<E> container)
      Description copied from interface: EditedEntityTransformer
      Transforms the entity to be added to the given container.
      Specified by:
      transformForCollectionContainer in interface EditedEntityTransformer
      Parameters:
      editedEntity - entity instance returned by detail view
      container - data container where the entity will be added
      Returns:
      transformed instance
    • transformForField

      public <E> E transformForField(E editedEntity, com.vaadin.flow.component.HasValue<?,E> field)
      Description copied from interface: EditedEntityTransformer
      Transforms the entity to be added to the given UI field.
      Specified by:
      transformForField in interface EditedEntityTransformer
      Parameters:
      editedEntity - entity instance returned by detail view
      field - UI field where the entity will be displayed
      Returns:
      transformed instance