java.lang.Object
ch.tocco.nice2.rest.entity.impl.beans.factories.path.PathResolverImpl
All Implemented Interfaces:
PathResolver

@Component public class PathResolverImpl extends Object implements PathResolver
  • Constructor Details

    • PathResolverImpl

      public PathResolverImpl()
  • Method Details

    • setLimit

      @Value("${rest.entity.pathresolver.limit}") public void setLimit(long limit)
    • getLimit

      public long getLimit()
    • resolvePath

      public PathResolveResult resolvePath(Entity baseEntity, Path path)
      Description copied from interface: PathResolver
      Resolve a single path from an entity.
      Specified by:
      resolvePath in interface PathResolver
      Parameters:
      baseEntity - the base entity to resolve from.
      path - the path to resolve.
      Returns:
      the resolve result.
    • resolvePaths

      public Map<Path,PathResolveResult> resolvePaths(Entity baseEntity, Set<Path> paths)
      Description copied from interface: PathResolver
      Resolve a set of path from an entity.
      Specified by:
      resolvePaths in interface PathResolver
      Parameters:
      baseEntity - the base entity to resolve from.
      paths - the path to resolve.
      Returns:
      the resolve results.