@ParametersAreNonnullByDefault public class LocalStore extends Object
Constructor and Description |
---|
LocalStore(org.apache.sling.api.resource.ResourceResolverFactory resolverFactory,
String storeType,
String storeId) |
Modifier and Type | Method and Description |
---|---|
org.apache.sling.api.resource.ValueMap |
load() |
<T> T |
load(String key,
T defaultValue) |
void |
store(org.apache.sling.api.resource.ResourceResolver serviceResolver,
Map<String,Object> map) |
void |
store(org.apache.sling.api.resource.ResourceResolver serviceResolver,
String key,
Object value) |
public void store(org.apache.sling.api.resource.ResourceResolver serviceResolver, String key, Object value) throws org.apache.sling.api.resource.PersistenceException
org.apache.sling.api.resource.PersistenceException
public void store(org.apache.sling.api.resource.ResourceResolver serviceResolver, Map<String,Object> map) throws org.apache.sling.api.resource.PersistenceException
org.apache.sling.api.resource.PersistenceException
public <T> T load(String key, T defaultValue)
public org.apache.sling.api.resource.ValueMap load()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.