Package | Description |
---|---|
org.apache.jackrabbit.core |
Contains the core classes that provide the implementation of the JCR API.
|
org.apache.jackrabbit.core.nodetype | |
org.apache.jackrabbit.core.security.user | |
org.apache.jackrabbit.core.version |
The versioning framework in jackrabbit consists of 3 layers.
|
org.apache.jackrabbit.core.virtual | |
org.apache.jackrabbit.core.xml | |
org.apache.jackrabbit.jcr2spi.hierarchy | |
org.apache.jackrabbit.jcr2spi.nodetype | |
org.apache.jackrabbit.jcr2spi.operation | |
org.apache.jackrabbit.jcr2spi.state | |
org.apache.jackrabbit.spi |
Defines the interfaces of the JCR SPI (Service Provider Interface).
|
org.apache.jackrabbit.spi.commons | |
org.apache.jackrabbit.spi.commons.logging | |
org.apache.jackrabbit.spi.commons.nodetype | |
org.apache.jackrabbit.spi.commons.nodetype.constraint | |
org.apache.jackrabbit.spi.commons.value | |
org.apache.jackrabbit.spi2dav | |
org.apache.jackrabbit.spi2jcr |
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition |
ItemValidator.findApplicablePropertyDefinition(Name name,
int type,
boolean multiValued,
NodeState parentState)
Helper method that finds the applicable definition for a property with
the given name, type and multiValued characteristic in the parent node's
node type and mixin types.
|
QPropertyDefinition |
ItemValidator.findApplicablePropertyDefinition(Name name,
int type,
NodeState parentState)
Helper method that finds the applicable definition for a property with
the given name, type in the parent node's node type and mixin types.
|
Modifier and Type | Method and Description |
---|---|
InternalValue[] |
NodeTypeInstanceHandler.computeSystemGeneratedPropertyValues(NodeState parent,
QPropertyDefinition def)
Computes the values of well-known system (i.e.
|
PropertyState |
BatchedItemOperations.createPropertyState(NodeState parent,
Name propName,
int type,
QPropertyDefinition def)
Creates a new property based on the given definition.
|
protected void |
PropertyImpl.onRedefine(QPropertyDefinition def) |
void |
NodeTypeInstanceHandler.setDefaultValues(PropertyState property,
NodeState parent,
QPropertyDefinition def)
Sets the system-generated or node type -specified default values
of the given property.
|
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition[] |
EffectiveNodeType.getAllPropDefs() |
QPropertyDefinition |
EffectiveNodeType.getApplicablePropertyDef(Name name,
int type)
Returns the applicable property definition for a property with the
specified name and type.
|
QPropertyDefinition |
EffectiveNodeType.getApplicablePropertyDef(Name name,
int type,
boolean multiValued)
Returns the applicable property definition for a property with the
specified name, type and multiValued characteristic.
|
QPropertyDefinition[] |
EffectiveNodeType.getAutoCreatePropDefs() |
QPropertyDefinition[] |
EffectiveNodeType.getMandatoryPropDefs() |
QPropertyDefinition[] |
EffectiveNodeType.getNamedPropDefs() |
QPropertyDefinition[] |
EffectiveNodeType.getNamedPropDefs(Name name) |
QPropertyDefinition[] |
EffectiveNodeType.getUnnamedPropDefs() |
Modifier and Type | Method and Description |
---|---|
static void |
EffectiveNodeType.checkSetPropertyValueConstraints(QPropertyDefinition pd,
InternalValue[] values)
Tests if the value constraints defined in the property definition
pd are satisfied by the the specified values . |
PropertyDefinitionImpl |
NodeTypeManagerImpl.getPropertyDefinition(QPropertyDefinition def) |
Modifier and Type | Method and Description |
---|---|
boolean |
UserImporter.handlePropInfo(NodeImpl parent,
PropInfo protectedPropInfo,
QPropertyDefinition def) |
boolean |
UserImporter.handlePropInfo(NodeState parent,
PropInfo protectedPropInfo,
QPropertyDefinition def) |
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition |
NodeStateEx.getDefinition(PropertyState prop)
Returns the property definition for the property state
|
Modifier and Type | Method and Description |
---|---|
protected QPropertyDefinition |
AbstractVISProvider.getApplicablePropertyDef(NodeState parent,
Name propertyName,
int type,
boolean multiValued)
retrieves the property definition for the given constraints
|
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition |
PropInfo.getApplicablePropertyDef(EffectiveNodeType ent) |
Modifier and Type | Method and Description |
---|---|
protected void |
SessionImporter.createProperty(NodeImpl node,
PropInfo pInfo,
QPropertyDefinition def) |
int |
PropInfo.getTargetType(QPropertyDefinition def) |
boolean |
ProtectedPropertyImporter.handlePropInfo(NodeImpl parent,
PropInfo protectedPropInfo,
QPropertyDefinition def)
Handles a single protected property.
|
boolean |
DefaultProtectedItemImporter.handlePropInfo(NodeImpl parent,
PropInfo protectedPropInfo,
QPropertyDefinition def)
Always returns
false . |
boolean |
ProtectedPropertyImporter.handlePropInfo(NodeState parent,
PropInfo protectedPropInfo,
QPropertyDefinition def)
Handles a single protected property.
|
boolean |
DefaultProtectedItemImporter.handlePropInfo(NodeState parent,
PropInfo protectedPropInfo,
QPropertyDefinition def)
Always returns
false . |
Modifier and Type | Method and Description |
---|---|
PropertyEntry |
NodeEntryImpl.addNewPropertyEntry(Name propName,
QPropertyDefinition definition,
QValue[] values,
int propertyType) |
PropertyEntry |
NodeEntry.addNewPropertyEntry(Name propName,
QPropertyDefinition definition,
QValue[] values,
int propertyType)
Add a new, transient
PropertyEntry to this NodeEntry
and return the PropertyState associated with the new entry. |
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition[] |
EffectiveNodeTypeImpl.getAllQPropertyDefinitions() |
QPropertyDefinition[] |
EffectiveNodeType.getAllQPropertyDefinitions() |
QPropertyDefinition[] |
EffectiveNodeTypeImpl.getAutoCreateQPropertyDefinitions() |
QPropertyDefinition[] |
EffectiveNodeType.getAutoCreateQPropertyDefinitions() |
QPropertyDefinition[] |
EffectiveNodeTypeImpl.getMandatoryQPropertyDefinitions() |
QPropertyDefinition[] |
EffectiveNodeType.getMandatoryQPropertyDefinitions() |
QPropertyDefinition[] |
EffectiveNodeTypeImpl.getNamedQPropertyDefinitions(Name name) |
QPropertyDefinition[] |
EffectiveNodeType.getNamedQPropertyDefinitions(Name name) |
QPropertyDefinition |
ItemDefinitionProviderImpl.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type) |
QPropertyDefinition |
ItemDefinitionProvider.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type)
Returns the applicable property definition for a property with the
specified name and type.
|
QPropertyDefinition |
ItemDefinitionProviderImpl.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type,
boolean multiValued) |
QPropertyDefinition |
ItemDefinitionProvider.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name name,
int type,
boolean multiValued)
Returns the applicable property definition for a property with the
specified name, type and multiValued characteristic.
|
QPropertyDefinition |
ItemDefinitionProviderImpl.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name propertyName,
int propertyType,
boolean isMultiValued,
PropertyId propertyId) |
QPropertyDefinition |
ItemDefinitionProvider.getQPropertyDefinition(Name[] parentNodeTypeNames,
Name propertyName,
int propertyType,
boolean isMultiValued,
PropertyId propertyId)
Returns the
QPropertyDefinition for the specified parameters. |
QPropertyDefinition |
ItemDefinitionProviderImpl.getQPropertyDefinition(Name ntName,
Name propName,
int type,
boolean multiValued) |
QPropertyDefinition |
ItemDefinitionProvider.getQPropertyDefinition(Name ntName,
Name propName,
int type,
boolean multiValued)
Returns the applicable property definition for a property with the
specified name, type and multiValued characteristic.
|
QPropertyDefinition[] |
EffectiveNodeTypeImpl.getUnnamedQPropertyDefinitions() |
QPropertyDefinition[] |
EffectiveNodeType.getUnnamedQPropertyDefinitions() |
Modifier and Type | Method and Description |
---|---|
PropertyDefinition |
NodeTypeManagerImpl.getPropertyDefinition(QPropertyDefinition def)
Retrieve the
PropertyDefinition for the given
QPropertyDefinition . |
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition |
AddProperty.getDefinition() |
Modifier and Type | Method and Description |
---|---|
Operation |
SetTree.addChildProperty(NodeState parentState,
Name propName,
int propertyType,
QValue[] values,
QPropertyDefinition definition)
Add a child property operation to this
setTree instance. |
static Operation |
AddProperty.create(NodeState parentState,
Name propName,
int propertyType,
QPropertyDefinition def,
QValue[] values) |
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition |
PropertyState.getDefinition()
Returns the
definition defined for this
property state. |
Modifier and Type | Method and Description |
---|---|
void |
ItemStateValidator.checkAddProperty(NodeState parentState,
Name propertyName,
QPropertyDefinition definition,
int options) |
PropertyState |
TransientItemStateFactory.createNewPropertyState(PropertyEntry entry,
QPropertyDefinition definition,
QValue[] values,
int propertyType)
Creates a transient
PropertyState . |
PropertyState |
TransientISFactory.createNewPropertyState(PropertyEntry entry,
QPropertyDefinition definition,
QValue[] values,
int propertyType) |
Constructor and Description |
---|
PropertyState(PropertyEntry entry,
ItemStateFactory isf,
QPropertyDefinition definition,
ItemDefinitionProvider definitionProvider,
QValue[] values,
int propertyType)
Create a NEW PropertyState
|
Modifier and Type | Field and Description |
---|---|
static QPropertyDefinition[] |
QPropertyDefinition.EMPTY_ARRAY
Empty array of
QPropertyDefinition . |
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition |
RepositoryService.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId)
Returns the
QPropertyDefinition for the Property
identified by the given id. |
QPropertyDefinition[] |
QNodeTypeDefinition.getPropertyDefs()
Returns an array containing the property definitions.
|
Modifier and Type | Method and Description |
---|---|
QValue[] |
QValueFactory.computeAutoValues(QPropertyDefinition propertyDefinition)
Given the
QPropertyDefinition of an autocreated
property, compute suitable values to be used in transient space until
the newly created node gets saved. |
Modifier and Type | Class and Description |
---|---|
class |
QPropertyDefinitionImpl
QPropertyDefinitionImpl implements SPI property
definition interface. |
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition |
AbstractRepositoryService.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId) |
QPropertyDefinition[] |
QNodeTypeDefinitionImpl.getPropertyDefs()
Returns an array containing the property definitions.
|
Constructor and Description |
---|
QNodeTypeDefinitionImpl(Name name,
Name[] supertypes,
Name[] supportedMixins,
boolean isMixin,
boolean isAbstract,
boolean isQueryable,
boolean hasOrderableChildNodes,
Name primaryItemName,
QPropertyDefinition[] declaredPropDefs,
QNodeDefinition[] declaredNodeDefs)
Creates a new serializable SPI node type definition.
|
QPropertyDefinitionImpl(QPropertyDefinition propDef)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition |
RepositoryServiceLogger.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId) |
Modifier and Type | Method and Description |
---|---|
QValue[] |
QValueFactoryLogger.computeAutoValues(QPropertyDefinition propertyDefinition) |
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition |
QPropertyDefinitionBuilder.build()
Creates a new
QPropertyDefinition instance based on the state of
this builder. |
QPropertyDefinition[] |
QNodeTypeDefinitionBuilder.getPropertyDefs() |
QPropertyDefinition |
PropertyDefinitionImpl.unwrap()
Returns the wrapped property definition.
|
Modifier and Type | Method and Description |
---|---|
PropertyDefinition |
NodeTypeDefinitionFactory.create(QPropertyDefinition qPd)
Create a new JCR property definition from the given
QPropertyDefinition . |
abstract PropertyDefinition |
AbstractNodeTypeManager.getPropertyDefinition(QPropertyDefinition pd)
Retrieve the
PropertyDefinition for the given
QPropertyDefinition . |
void |
QNodeTypeDefinitionBuilder.setPropertyDefs(QPropertyDefinition[] propDefs) |
Constructor and Description |
---|
PropertyDefinitionImpl(QPropertyDefinition propDef,
AbstractNodeTypeManager ntMgr,
NamePathResolver resolver,
ValueFactory valueFactory) |
PropertyDefinitionImpl(QPropertyDefinition propDef,
NamePathResolver resolver,
ValueFactory valueFactory)
Package private constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
ValueConstraint.checkValueConstraints(QPropertyDefinition pd,
QValue[] values)
Tests if the value constraints defined in the property definition
pd are satisfied by the the specified values . |
Modifier and Type | Method and Description |
---|---|
QValue[] |
AbstractQValueFactory.computeAutoValues(QPropertyDefinition propertyDefinition) |
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition |
RepositoryServiceImpl.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId) |
Modifier and Type | Method and Description |
---|---|
QPropertyDefinition |
RepositoryServiceImpl.getPropertyDefinition(SessionInfo sessionInfo,
PropertyId propertyId)
Returns the
QPropertyDefinition for the Property
identified by the given id. |
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.