Class PathResolverImpl
java.lang.Object
ch.tocco.nice2.rest.entity.impl.beans.factories.path.PathResolverImpl
- All Implemented Interfaces:
PathResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetLimit()resolvePath(Entity baseEntity, Path path) Resolve a single path from an entity.resolvePaths(Entity baseEntity, Set<Path> paths) Resolve a set of path from an entity.voidsetLimit(long limit)
-
Constructor Details
-
PathResolverImpl
public PathResolverImpl()
-
-
Method Details
-
setLimit
@Value("${rest.entity.pathresolver.limit}") public void setLimit(long limit) -
getLimit
public long getLimit() -
resolvePath
Description copied from interface:PathResolverResolve a single path from an entity.- Specified by:
resolvePathin interfacePathResolver- Parameters:
baseEntity- the base entity to resolve from.path- the path to resolve.- Returns:
- the resolve result.
-
resolvePaths
Description copied from interface:PathResolverResolve a set of path from an entity.- Specified by:
resolvePathsin interfacePathResolver- Parameters:
baseEntity- the base entity to resolve from.paths- the path to resolve.- Returns:
- the resolve results.
-