public class ExternalJsonSidecarExtraPropertyStore extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_EXTENSION |
static String |
DEFAULT_RESOURCE_EXTENSION |
Constructor and Description |
---|
ExternalJsonSidecarExtraPropertyStore(org.modeshape.connector.filesystem.FileSystemConnector connector,
org.modeshape.jcr.cache.document.DocumentTranslator translator,
File propertyStoreRoot)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String arg0) |
protected String |
extension() |
protected String |
getExclusionPattern() |
Map<org.modeshape.jcr.value.Name,org.modeshape.jcr.value.Property> |
getProperties(String arg0) |
protected org.infinispan.schematic.document.Document |
read(InputStream arg0) |
boolean |
removeProperties(String arg0) |
protected String |
resourceExtension() |
protected File |
sidecarFile(String id) |
void |
storeProperties(String arg0,
Map<org.modeshape.jcr.value.Name,org.modeshape.jcr.value.Property> arg1) |
void |
updateProperties(String arg0,
Map<org.modeshape.jcr.value.Name,org.modeshape.jcr.value.Property> arg1) |
protected void |
write(org.infinispan.schematic.document.Document arg0,
OutputStream arg1) |
public static final String DEFAULT_EXTENSION
public static final String DEFAULT_RESOURCE_EXTENSION
public ExternalJsonSidecarExtraPropertyStore(org.modeshape.connector.filesystem.FileSystemConnector connector, org.modeshape.jcr.cache.document.DocumentTranslator translator, File propertyStoreRoot)
connector
- the FileSystemConnector for which this class will store properties.propertyStoreRoot
- the root of a filesystem into which properties will be
serialized.protected File sidecarFile(String id)
protected String getExclusionPattern()
public Map<org.modeshape.jcr.value.Name,org.modeshape.jcr.value.Property> getProperties(String arg0)
getProperties
in interface org.modeshape.jcr.spi.federation.ExtraPropertiesStore
public void updateProperties(String arg0, Map<org.modeshape.jcr.value.Name,org.modeshape.jcr.value.Property> arg1)
updateProperties
in interface org.modeshape.jcr.spi.federation.ExtraPropertiesStore
public void storeProperties(String arg0, Map<org.modeshape.jcr.value.Name,org.modeshape.jcr.value.Property> arg1)
storeProperties
in interface org.modeshape.jcr.spi.federation.ExtraPropertiesStore
protected org.infinispan.schematic.document.Document read(InputStream arg0) throws IOException
IOException
protected void write(org.infinispan.schematic.document.Document arg0, OutputStream arg1) throws IOException
IOException
protected String resourceExtension()
public boolean removeProperties(String arg0)
removeProperties
in interface org.modeshape.jcr.spi.federation.ExtraPropertiesStore
Copyright © 2013–2015 DuraSpace, Inc.. All rights reserved.