java.lang.Object
com.cosium.spring.data.jpa.entity.graph.domain.EntityGraphUtils

@Deprecated public class EntityGraphUtils extends Object
Deprecated.
Created on 22/11/16.
Author:
Reda.Housni-Alaoui
  • Method Details

    • fromName

      public static EntityGraph fromName(String name, boolean optional)
      Deprecated.
      Parameters:
      name - The name of the targeted EntityGraph
      optional - Is the EntityGraph usage optional?
      Returns:
      An EntityGraph referenced by name
    • fromAttributePaths

      public static EntityGraph fromAttributePaths(String... attributePaths)
      Deprecated.
      Parameters:
      attributePaths - The attribute paths to be present in the result
      Returns:
      A DynamicEntityGraph with the path attributes passed in as arguments.
    • fromAttributePaths

      public static EntityGraph fromAttributePaths(EntityGraphType type, String... attributePaths)
      Deprecated.
      Parameters:
      type - A EntityGraphType to use
      attributePaths - The attribute paths to be present in the result
      Returns:
      A DynamicEntityGraph with the path attributes passed in as arguments.