Class HalIdResourceCacheLinkResolver
java.lang.Object
org.camunda.bpm.engine.rest.hal.cache.HalCachingLinkResolver
org.camunda.bpm.engine.rest.hal.cache.HalIdResourceCacheLinkResolver
- All Implemented Interfaces:
HalLinkResolver
- Direct Known Subclasses:
HalCaseDefinitionResolver
,HalGroupResolver
,HalProcessDefinitionResolver
,HalUserResolver
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Comparator<HalResource<?>>
protected String
getResourceId
(HalResource<?> resource) Methods inherited from class org.camunda.bpm.engine.rest.hal.cache.HalCachingLinkResolver
getCache, getHalResourceClass, putIntoCache, resolveCachedLinks, resolveLinks, resolveNotCachedLinks, sortResolvedResources
-
Field Details
-
ID_COMPARATOR
-
-
Constructor Details
-
HalIdResourceCacheLinkResolver
public HalIdResourceCacheLinkResolver()
-
-
Method Details
-
getResourceId
- Specified by:
getResourceId
in classHalCachingLinkResolver
- Returns:
- the id which identifies a resource in the cache
-
getResourceComparator
- Overrides:
getResourceComparator
in classHalCachingLinkResolver
- Returns:
- a comparator for this HAL resource if not overridden sorting is skipped
-