@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,
Class<T> clazz) |
<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) |
void |
store(String key,
Object value) |
public void store(String key, Object value) throws org.apache.sling.api.resource.PersistenceException
org.apache.sling.api.resource.PersistenceExceptionpublic 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.PersistenceExceptionpublic 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.PersistenceExceptionpublic <T> T load(String key, T defaultValue)
public org.apache.sling.api.resource.ValueMap load()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.