@Component public class ResourceCache extends Object
Modifier and Type | Method and Description |
---|---|
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> |
get(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> resource) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> |
get(String oid,
String version) |
String |
getVersion(String oid)
Returns currently cached version.
|
void |
put(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> resource) |
void |
remove(String oid) |
public void put(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> resource) throws SchemaException
SchemaException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> get(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> resource) throws SchemaException
SchemaException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> get(String oid, String version) throws SchemaException
SchemaException
public String getVersion(String oid)
public void remove(String oid)
Copyright © 2016 evolveum. All rights reserved.