org.camunda.bpm.engine.rest.hal.identitylink
Class HalIdentityLinkResolver
java.lang.Object
org.camunda.bpm.engine.rest.hal.cache.HalCachingLinkResolver
org.camunda.bpm.engine.rest.hal.identitylink.HalIdentityLinkResolver
- All Implemented Interfaces:
- HalLinkResolver
public class HalIdentityLinkResolver
- extends HalCachingLinkResolver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HalIdentityLinkResolver
public HalIdentityLinkResolver()
getHalResourceClass
protected Class<?> getHalResourceClass()
- Specified by:
getHalResourceClass in class HalCachingLinkResolver
- Returns:
- the class of the entity which is resolved
resolveLinks
public List<HalResource<?>> resolveLinks(String[] linkedIds,
ProcessEngine processEngine)
- Description copied from class:
HalCachingLinkResolver
- Resolve resources for linked ids, if configured uses a cache.
- Specified by:
resolveLinks in interface HalLinkResolver- Overrides:
resolveLinks in class HalCachingLinkResolver
resolveNotCachedLinks
protected List<HalResource<?>> resolveNotCachedLinks(String[] linkedIds,
ProcessEngine processEngine)
- Specified by:
resolveNotCachedLinks in class HalCachingLinkResolver
- Returns:
- the resolved resources which are currently not cached
putIntoCache
protected void putIntoCache(List<HalResource<?>> notCachedResources)
- Description copied from class:
HalCachingLinkResolver
- Put a resource into the cache.
- Overrides:
putIntoCache in class HalCachingLinkResolver
getResourceId
protected String getResourceId(HalResource<?> resource)
- Specified by:
getResourceId in class HalCachingLinkResolver
- Returns:
- the id which identifies a resource in the cache
Copyright © 2016 camunda services GmbH. All rights reserved.