Package | Description |
---|---|
org.modeshape.jcr | |
org.modeshape.jcr.cache | |
org.modeshape.jcr.cache.change | |
org.modeshape.jcr.cache.document | |
org.modeshape.jcr.federation | |
org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
org.modeshape.jcr.query.engine |
This package contains several fully-functional query engine implementations.
|
org.modeshape.jcr.spi.federation |
This package provides a Service Provider Interface (SPI) for connectors to external systems.
|
org.modeshape.jcr.spi.index |
This package contains the interfaces for managing index providers and index definitions.
|
org.modeshape.jcr.spi.index.provider |
This package contains the Service Provider Interface (SPI) for custom index providers, which are components that encapsulate
how ModeShape updates and uses a set of particular indexes.
|
org.modeshape.jcr.txn | |
org.modeshape.jcr.value |
Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for
representing and working with properties and their values.
|
org.modeshape.jcr.value.basic |
A set of basic implementations of the various interfaces defined in
org.modeshape.jcr.value . |
Modifier and Type | Method and Description |
---|---|
protected Property |
CndImporter.parseVendorExtension(String vendorExtension)
Parse the vendor extension, including the curly braces in the CND content.
|
protected Property |
CndImporter.parseVendorExtensionContent(String vendorExtension)
Parse the content of the vendor extension excluding the curly braces in the CND content.
|
Modifier and Type | Method and Description |
---|---|
Map<Name,Property> |
Connectors.LocalDocumentStoreExtraProperties.getProperties(String id) |
Modifier and Type | Method and Description |
---|---|
protected Name |
SystemContent.nextNameForVersionNode(Property predecessors,
ChildReferences historyChildren)
Compute the name for the next version node in the given history.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CndImporter.applyVendorExtensions(org.modeshape.jcr.JcrNodeDefinitionTemplate childDefn,
List<Property> extensions)
Method that is responsible for setting the vendor extensions on the supplied child node type template.
|
protected void |
CndImporter.applyVendorExtensions(JcrNodeTypeTemplate nodeType,
List<Property> extensions)
Method that is responsible for setting the vendor extensions on the supplied node type template.
|
protected void |
CndImporter.applyVendorExtensions(org.modeshape.jcr.JcrPropertyDefinitionTemplate propDefn,
List<Property> extensions)
Method that is responsible for setting the vendor extensions on the supplied property definition template.
|
protected void |
CndImporter.parseVendorExtensions(TokenStream tokens,
List<Property> properties)
Parse the vendor extensions that may appear next on the tokenzied stream.
|
MutableCachedNode |
SystemContent.recordNewVersion(CachedNode versionableNode,
SessionCache cacheForVersionableNode,
Path versionHistoryPath,
NodeKey originalVersionKey,
Collection<Property> versionableProperties,
DateTime now,
AtomicReference<MutableCachedNode> frozenNodeOutput)
The method efficiently updates the JCR version history and storage with a new version of a node being checked in.
|
void |
Connectors.LocalDocumentStoreExtraProperties.storeProperties(String id,
Map<Name,Property> properties) |
void |
Connectors.LocalDocumentStoreExtraProperties.updateProperties(String id,
Map<Name,Property> properties) |
Modifier and Type | Method and Description |
---|---|
Property |
CachedNode.getProperty(Name name,
NodeCache cache)
Get the property with the given name.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Property> |
CachedNode.getProperties(Collection<?> namePatterns,
NodeCache cache)
Get an iterator over all of the properties of this node that have names matching at least one of the supplied patterns.
|
Iterator<Property> |
CachedNode.getProperties(NodeCache cache)
Get an iterator over all of the node's properties.
|
Modifier and Type | Method and Description |
---|---|
void |
MutableCachedNode.addReferrer(SessionCache cache,
Property property,
NodeKey referrerKey,
CachedNode.ReferenceType type)
Adds to this node a reference with the given type from the node with the supplied key to this node.
|
MutableCachedNode |
MutableCachedNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Property firstProperty,
Property... additionalProperties)
Create a new node as a child of this node with the supplied name and properties.
|
MutableCachedNode |
MutableCachedNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Property firstProperty,
Property... additionalProperties)
Create a new node as a child of this node with the supplied name and properties.
|
static int |
PropertyTypeUtil.jcrPropertyTypeFor(Property property)
Compute the JCR
PropertyType for the given ModeShape PropertyType . |
void |
MutableCachedNode.removeReferrer(SessionCache cache,
Property property,
NodeKey referrerKey,
CachedNode.ReferenceType type)
Remove from this node a reference with the given type from the node with the supplied key to this node.
|
void |
MutableCachedNode.setProperty(SessionCache cache,
Property property)
Set the property with the given name.
|
void |
MutableCachedNode.setPropertyIfUnchanged(SessionCache cache,
Property property)
Set the given property only if it has not been set previously and therefore appear as changed.
|
void |
MutableCachedNode.setReference(SessionCache cache,
Property property,
SessionCache systemCache)
Sets a property of type reference in the case when there's an active system cache and the property is a reference towards a
transient node from the system cache.
|
Modifier and Type | Method and Description |
---|---|
MutableCachedNode |
MutableCachedNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Iterable<Property> properties)
Create a new node as a child of this node with the supplied name and properties.
|
void |
SessionEnvironment.Monitor.recordAdd(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator)
Add to the index the information about a node.
|
void |
SessionEnvironment.Monitor.recordUpdate(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties)
Update the index to reflect the new state of the node.
|
void |
MutableCachedNode.setProperties(SessionCache cache,
Iterable<Property> properties)
Set the properties on this node.
|
void |
MutableCachedNode.setProperties(SessionCache cache,
Iterator<Property> properties)
Set the properties on this node.
|
Modifier and Type | Field and Description |
---|---|
protected Property |
AbstractPropertyChange.property |
Modifier and Type | Method and Description |
---|---|
Property |
PropertyChanged.getNewProperty() |
Property |
PropertyChanged.getOldProperty() |
Property |
AbstractPropertyChange.getProperty() |
Modifier and Type | Method and Description |
---|---|
Map<Name,Property> |
NodeAdded.getProperties()
Get the immutable map of properties that were added as part of this node.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordingChanges.propertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
NoOpChanges.propertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
Changes.propertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property)
Signal that a property was added to a node.
|
void |
RecordingChanges.propertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty) |
void |
NoOpChanges.propertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty) |
void |
Changes.propertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty)
Signal that a property was changed on a node.
|
void |
RecordingChanges.propertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
NoOpChanges.propertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
void |
Changes.propertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property)
Signal that a property was removed from a node.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordingChanges.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
void |
NoOpChanges.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
void |
Changes.nodeCreated(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties)
Signal that a new node was created.
|
Constructor and Description |
---|
AbstractPropertyChange(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
PropertyAdded(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
PropertyChanged(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property newProperty,
Property oldProperty) |
PropertyRemoved(NodeKey key,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
Path nodePath,
Property property) |
Constructor and Description |
---|
NodeAdded(NodeKey key,
NodeKey parentKey,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
Modifier and Type | Field and Description |
---|---|
protected Map<NodeKey,Set<Property>> |
SessionNode.DeepCopy.sourceKeyToReferenceProperties |
Modifier and Type | Method and Description |
---|---|
Property |
DocumentTranslator.getProperty(Document document,
Name propertyName) |
Property |
DocumentTranslator.getProperty(Document document,
String propertyName) |
Property |
SessionNode.getProperty(Name name,
NodeCache cache) |
Property |
LazyCachedNode.getProperty(Name name,
NodeCache cache) |
protected Property |
DocumentTranslator.propertyFor(Name propertyName,
Object fieldValue) |
Property |
DocumentTranslator.removeProperty(EditableDocument document,
Name propertyName,
Set<BinaryKey> unusedBinaryKeys) |
Modifier and Type | Method and Description |
---|---|
protected ConcurrentMap<Name,Property> |
SessionNode.changedProperties() |
Iterator<Property> |
SessionNode.getProperties(Collection<?> namePatterns,
NodeCache cache) |
Iterator<Property> |
LazyCachedNode.getProperties(Collection<?> namePatterns,
NodeCache cache) |
Iterator<Property> |
SessionNode.getProperties(NodeCache cache) |
Iterator<Property> |
LazyCachedNode.getProperties(NodeCache cache) |
protected Map<Name,Property> |
LazyCachedNode.properties() |
Modifier and Type | Method and Description |
---|---|
protected void |
SessionNode.addOrRemoveReferrers(SessionCache cache,
SessionCache systemCache,
Property property,
Iterator<?> referenceValuesIterator,
boolean add) |
void |
SessionNode.addReferrer(SessionCache cache,
Property property,
NodeKey referrerKey,
CachedNode.ReferenceType type) |
void |
SessionNode.ReferrerChanges.addStrongReferrer(Property property,
NodeKey nodeKey) |
void |
SessionNode.ReferrerChanges.addWeakReferrer(Property property,
NodeKey nodeKey) |
protected void |
SessionNode.DeepCopy.copyUUIDProperty(Property sourceProperty,
MutableCachedNode targetNode,
CachedNode sourceNode) |
protected void |
SessionNode.DeepClone.copyUUIDProperty(Property sourceProperty,
MutableCachedNode targetNode,
CachedNode sourceNode) |
MutableCachedNode |
SessionNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Property firstProperty,
Property... additionalProperties) |
MutableCachedNode |
SessionNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Property firstProperty,
Property... additionalProperties) |
void |
SessionNode.removeReferrer(SessionCache cache,
Property property,
NodeKey referrerKey,
CachedNode.ReferenceType type) |
void |
SessionNode.ReferrerChanges.removeStrongReferrer(Property property,
NodeKey nodeKey) |
void |
SessionNode.ReferrerChanges.removeWeakReferrer(Property property,
NodeKey nodeKey) |
void |
DocumentTranslator.setProperty(EditableDocument document,
Property property,
Set<BinaryKey> unusedBinaryKeys) |
void |
SessionNode.setProperty(SessionCache cache,
Property property) |
void |
SessionNode.setPropertyIfUnchanged(SessionCache cache,
Property property) |
void |
SessionNode.setReference(SessionCache cache,
Property property,
SessionCache systemCache) |
Modifier and Type | Method and Description |
---|---|
MutableCachedNode |
SessionNode.createChild(SessionCache cache,
NodeKey key,
Name name,
Iterable<Property> properties) |
void |
DocumentTranslator.getProperties(Document document,
Map<Name,Property> result) |
void |
SessionNode.setProperties(SessionCache cache,
Iterable<Property> properties) |
void |
SessionNode.setProperties(SessionCache cache,
Iterator<Property> properties) |
Modifier and Type | Field and Description |
---|---|
protected static Map<Name,Property> |
NoExtraPropertiesStorage.NO_PROPERTIES_MAP |
Modifier and Type | Method and Description |
---|---|
Property |
FederatedDocumentReader.getProperty(Name name) |
Property |
FederatedDocumentReader.getProperty(String name) |
Modifier and Type | Method and Description |
---|---|
Map<Name,Property> |
FederatedDocumentReader.getProperties() |
Map<Name,Property> |
NoExtraPropertiesStorage.getProperties(String id) |
Modifier and Type | Method and Description |
---|---|
void |
ConnectorChangeSetImpl.propertyAdded(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property) |
void |
ConnectorChangeSetImpl.propertyChanged(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property oldProperty,
Property newProperty) |
void |
ConnectorChangeSetImpl.propertyRemoved(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property) |
Modifier and Type | Method and Description |
---|---|
DocumentWriter |
FederatedDocumentWriter.addProperties(Map<Name,Property> properties) |
void |
ConnectorChangeSetImpl.nodeCreated(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties) |
DocumentWriter |
FederatedDocumentWriter.setProperties(Map<Name,Property> properties) |
void |
NoExtraPropertiesStorage.storeProperties(String id,
Map<Name,Property> properties) |
void |
NoExtraPropertiesStorage.updateProperties(String id,
Map<Name,Property> properties) |
Modifier and Type | Method and Description |
---|---|
protected static void |
RowExtractors.extractFullTextFrom(Property property,
TypeSystem.TypeFactory<String> type,
StringBuilder fullTextString,
BinaryStore binaries,
CachedNode node,
NodeCache cache) |
Modifier and Type | Method and Description |
---|---|
void |
CompositeIndexWriter.addToIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
void |
CompositeIndexWriter.updateIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
Modifier and Type | Method and Description |
---|---|
void |
NoOpQueryIndexWriter.addToIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
void |
NoOpQueryIndexWriter.updateIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx) |
Modifier and Type | Field and Description |
---|---|
static Map<Name,Property> |
ExtraPropertiesStore.NO_PROPERTIES |
Modifier and Type | Method and Description |
---|---|
Property |
DocumentReader.getProperty(Name name)
Returns the property which has the given name, or null if there is no such property.
|
Property |
DocumentReader.getProperty(String name)
Returns the property which has the given name, or null if there is no such property.
|
Modifier and Type | Method and Description |
---|---|
Map<Name,Property> |
DocumentReader.getProperties()
Returns all the properties of the underlying document.
|
Map<Name,Property> |
ExtraPropertiesStore.getProperties(String id)
Retrieve the extra properties that were stored for the node with the supplied ID.
|
Modifier and Type | Method and Description |
---|---|
Connector.ExtraProperties |
Connector.ExtraProperties.add(Property property) |
void |
ConnectorChangeSet.propertyAdded(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property)
Signal that a property was added to a node resource.
|
void |
ConnectorChangeSet.propertyChanged(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property oldProperty,
Property newProperty)
Signal that a property resource was changed on a node resource.
|
void |
ConnectorChangeSet.propertyRemoved(String docId,
Name nodePrimaryType,
Set<Name> nodeMixinTypes,
String nodePath,
Property property)
Signal that a property was removed from a node resource.
|
Modifier and Type | Method and Description |
---|---|
Connector.ExtraProperties |
Connector.ExtraProperties.addAll(Map<Name,Property> properties) |
DocumentWriter |
DocumentWriter.addProperties(Map<Name,Property> properties)
Adds a map of properties to the the underlying document's properties.
|
void |
ConnectorChangeSet.nodeCreated(String docId,
String parentDocId,
String path,
Name primaryType,
Set<Name> mixinTypes,
Map<Name,Property> properties)
Signal that a new node resource was created.
|
DocumentWriter |
DocumentWriter.setProperties(Map<Name,Property> properties)
Replaces the underlying document's properties with the one from the given map.
|
void |
ExtraPropertiesStore.storeProperties(String id,
Map<Name,Property> properties)
Store the supplied extra properties for the node with the supplied ID.
|
void |
ExtraPropertiesStore.updateProperties(String id,
Map<Name,Property> properties)
Update the supplied extra properties for the node with the supplied ID.
|
Modifier and Type | Method and Description |
---|---|
Property |
IndexDefinition.getProperty(Name propertyName)
Get the index property with the given name.
|
Modifier and Type | Method and Description |
---|---|
Map<Name,Property> |
IndexDefinition.getProperties()
Get the index properties keyed by their name.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexWriter.addToIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx)
Add to the index the information about a node.
|
void |
IndexWriter.updateIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties,
NodeTypeSchemata schemata,
IndexWriter.IndexingContext txnCtx)
Update the index to reflect the new state of the node.
|
Modifier and Type | Method and Description |
---|---|
void |
SynchronizedTransactions.SynchronizedMonitor.recordAdd(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> propertiesIterator) |
void |
SynchronizedTransactions.SynchronizedMonitor.recordUpdate(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties) |
Modifier and Type | Method and Description |
---|---|
Property |
PropertyFactory.create(Name name)
Create an empty multi-valued property with the supplied name.
|
Property |
PropertyFactory.create(Name name,
Iterable<?> values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
Iterator<?> values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
Object value)
Create a single-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
Object[] values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
Path value)
Create a single-valued property with the supplied name and
Path value. |
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Iterable<?> values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Iterator<?> values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Object firstValue)
Create a single-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Object[] values)
Create a multi-valued property with the supplied name and values
|
Modifier and Type | Class and Description |
---|---|
class |
BasicEmptyProperty
An immutable version of a property that has no values.
|
class |
BasicMultiValueProperty
An immutable version of a property that has 2 or more values.
|
class |
BasicProperty
An abstract
Property implementation. |
class |
BasicSingleValueProperty
An immutable version of a property that has exactly 1 value.
|
Modifier and Type | Method and Description |
---|---|
Property |
BasicPropertyFactory.create(Name name) |
Property |
BasicPropertyFactory.create(Name name,
Iterable<?> values) |
Property |
BasicPropertyFactory.create(Name name,
Iterator<?> values) |
Property |
BasicPropertyFactory.create(Name name,
Object value) |
Property |
BasicPropertyFactory.create(Name name,
Object[] values) |
Property |
BasicPropertyFactory.create(Name name,
Path value) |
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Iterable<?> values) |
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Iterator<?> values) |
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Object firstValue) |
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Object[] values) |
Modifier and Type | Method and Description |
---|---|
int |
BasicProperty.compareTo(Property that) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.