Uses of Interface
org.apache.jackrabbit.spi.QPropertyDefinition
-
Packages that use QPropertyDefinition 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 -
-
Uses of QPropertyDefinition in org.apache.jackrabbit.core
Methods in org.apache.jackrabbit.core that return QPropertyDefinition Modifier and Type Method 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.Methods in org.apache.jackrabbit.core with parameters of type QPropertyDefinition Modifier and Type Method 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. -
Uses of QPropertyDefinition in org.apache.jackrabbit.core.nodetype
Methods in org.apache.jackrabbit.core.nodetype that return QPropertyDefinition Modifier and Type Method 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()
Methods in org.apache.jackrabbit.core.nodetype with parameters of type QPropertyDefinition Modifier and Type Method Description static void
EffectiveNodeType. checkSetPropertyValueConstraints(QPropertyDefinition pd, InternalValue[] values)
Tests if the value constraints defined in the property definitionpd
are satisfied by the the specifiedvalues
.PropertyDefinitionImpl
NodeTypeManagerImpl. getPropertyDefinition(QPropertyDefinition def)
-
Uses of QPropertyDefinition in org.apache.jackrabbit.core.security.user
Methods in org.apache.jackrabbit.core.security.user with parameters of type QPropertyDefinition Modifier and Type Method Description boolean
UserImporter. handlePropInfo(NodeImpl parent, PropInfo protectedPropInfo, QPropertyDefinition def)
boolean
UserImporter. handlePropInfo(NodeState parent, PropInfo protectedPropInfo, QPropertyDefinition def)
-
Uses of QPropertyDefinition in org.apache.jackrabbit.core.version
Methods in org.apache.jackrabbit.core.version that return QPropertyDefinition Modifier and Type Method Description QPropertyDefinition
NodeStateEx. getDefinition(PropertyState prop)
Returns the property definition for the property state -
Uses of QPropertyDefinition in org.apache.jackrabbit.core.virtual
Methods in org.apache.jackrabbit.core.virtual that return QPropertyDefinition Modifier and Type Method Description protected QPropertyDefinition
AbstractVISProvider. getApplicablePropertyDef(NodeState parent, Name propertyName, int type, boolean multiValued)
retrieves the property definition for the given constraints -
Uses of QPropertyDefinition in org.apache.jackrabbit.core.xml
Methods in org.apache.jackrabbit.core.xml that return QPropertyDefinition Modifier and Type Method Description QPropertyDefinition
PropInfo. getApplicablePropertyDef(EffectiveNodeType ent)
Methods in org.apache.jackrabbit.core.xml with parameters of type QPropertyDefinition Modifier and Type Method Description protected void
SessionImporter. createProperty(NodeImpl node, PropInfo pInfo, QPropertyDefinition def)
int
PropInfo. getTargetType(QPropertyDefinition def)
boolean
DefaultProtectedItemImporter. handlePropInfo(NodeImpl parent, PropInfo protectedPropInfo, QPropertyDefinition def)
Always returnsfalse
.boolean
DefaultProtectedItemImporter. handlePropInfo(NodeState parent, PropInfo protectedPropInfo, QPropertyDefinition def)
Always returnsfalse
.boolean
ProtectedPropertyImporter. handlePropInfo(NodeImpl parent, PropInfo protectedPropInfo, QPropertyDefinition def)
Handles a single protected property.boolean
ProtectedPropertyImporter. handlePropInfo(NodeState parent, PropInfo protectedPropInfo, QPropertyDefinition def)
Handles a single protected property. -
Uses of QPropertyDefinition in org.apache.jackrabbit.jcr2spi.hierarchy
Methods in org.apache.jackrabbit.jcr2spi.hierarchy with parameters of type QPropertyDefinition Modifier and Type Method Description PropertyEntry
NodeEntry. addNewPropertyEntry(Name propName, QPropertyDefinition definition, QValue[] values, int propertyType)
Add a new, transientPropertyEntry
to thisNodeEntry
and return thePropertyState
associated with the new entry.PropertyEntry
NodeEntryImpl. addNewPropertyEntry(Name propName, QPropertyDefinition definition, QValue[] values, int propertyType)
-
Uses of QPropertyDefinition in org.apache.jackrabbit.jcr2spi.nodetype
Methods in org.apache.jackrabbit.jcr2spi.nodetype that return QPropertyDefinition Modifier and Type Method Description QPropertyDefinition[]
EffectiveNodeType. getAllQPropertyDefinitions()
QPropertyDefinition[]
EffectiveNodeTypeImpl. getAllQPropertyDefinitions()
QPropertyDefinition[]
EffectiveNodeType. getAutoCreateQPropertyDefinitions()
QPropertyDefinition[]
EffectiveNodeTypeImpl. getAutoCreateQPropertyDefinitions()
QPropertyDefinition[]
EffectiveNodeType. getMandatoryQPropertyDefinitions()
QPropertyDefinition[]
EffectiveNodeTypeImpl. getMandatoryQPropertyDefinitions()
QPropertyDefinition[]
EffectiveNodeType. getNamedQPropertyDefinitions(Name name)
QPropertyDefinition[]
EffectiveNodeTypeImpl. getNamedQPropertyDefinitions(Name name)
QPropertyDefinition
ItemDefinitionProvider. getQPropertyDefinition(Name[] parentNodeTypeNames, Name name, int type)
Returns the applicable property definition for a property with the specified name and type.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
ItemDefinitionProvider. getQPropertyDefinition(Name[] parentNodeTypeNames, Name propertyName, int propertyType, boolean isMultiValued, PropertyId propertyId)
Returns theQPropertyDefinition
for the specified parameters.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
ItemDefinitionProviderImpl. getQPropertyDefinition(Name[] parentNodeTypeNames, Name name, int type)
QPropertyDefinition
ItemDefinitionProviderImpl. getQPropertyDefinition(Name[] parentNodeTypeNames, Name name, int type, boolean multiValued)
QPropertyDefinition
ItemDefinitionProviderImpl. getQPropertyDefinition(Name[] parentNodeTypeNames, Name propertyName, int propertyType, boolean isMultiValued, PropertyId propertyId)
QPropertyDefinition
ItemDefinitionProviderImpl. getQPropertyDefinition(Name ntName, Name propName, int type, boolean multiValued)
QPropertyDefinition[]
EffectiveNodeType. getUnnamedQPropertyDefinitions()
QPropertyDefinition[]
EffectiveNodeTypeImpl. getUnnamedQPropertyDefinitions()
Methods in org.apache.jackrabbit.jcr2spi.nodetype with parameters of type QPropertyDefinition Modifier and Type Method Description PropertyDefinition
NodeTypeManagerImpl. getPropertyDefinition(QPropertyDefinition def)
Retrieve thePropertyDefinition
for the givenQPropertyDefinition
. -
Uses of QPropertyDefinition in org.apache.jackrabbit.jcr2spi.operation
Methods in org.apache.jackrabbit.jcr2spi.operation that return QPropertyDefinition Modifier and Type Method Description QPropertyDefinition
AddProperty. getDefinition()
Methods in org.apache.jackrabbit.jcr2spi.operation with parameters of type QPropertyDefinition Modifier and Type Method Description Operation
SetTree. addChildProperty(NodeState parentState, Name propName, int propertyType, QValue[] values, QPropertyDefinition definition)
Add a child property operation to thissetTree
instance.static Operation
AddProperty. create(NodeState parentState, Name propName, int propertyType, QPropertyDefinition def, QValue[] values)
-
Uses of QPropertyDefinition in org.apache.jackrabbit.jcr2spi.state
Methods in org.apache.jackrabbit.jcr2spi.state that return QPropertyDefinition Modifier and Type Method Description QPropertyDefinition
PropertyState. getDefinition()
Returns thedefinition
defined for this property state.Methods in org.apache.jackrabbit.jcr2spi.state with parameters of type QPropertyDefinition Modifier and Type Method Description void
ItemStateValidator. checkAddProperty(NodeState parentState, Name propertyName, QPropertyDefinition definition, int options)
PropertyState
TransientISFactory. createNewPropertyState(PropertyEntry entry, QPropertyDefinition definition, QValue[] values, int propertyType)
PropertyState
TransientItemStateFactory. createNewPropertyState(PropertyEntry entry, QPropertyDefinition definition, QValue[] values, int propertyType)
Creates a transientPropertyState
.Constructors in org.apache.jackrabbit.jcr2spi.state with parameters of type QPropertyDefinition Constructor Description PropertyState(PropertyEntry entry, ItemStateFactory isf, QPropertyDefinition definition, ItemDefinitionProvider definitionProvider, QValue[] values, int propertyType)
Create a NEW PropertyState -
Uses of QPropertyDefinition in org.apache.jackrabbit.spi
Fields in org.apache.jackrabbit.spi declared as QPropertyDefinition Modifier and Type Field Description static QPropertyDefinition[]
QPropertyDefinition. EMPTY_ARRAY
Empty array ofQPropertyDefinition
.Methods in org.apache.jackrabbit.spi that return QPropertyDefinition Modifier and Type Method Description QPropertyDefinition
RepositoryService. getPropertyDefinition(SessionInfo sessionInfo, PropertyId propertyId)
Returns theQPropertyDefinition
for theProperty
identified by the given id.QPropertyDefinition[]
QNodeTypeDefinition. getPropertyDefs()
Returns an array containing the property definitions.Methods in org.apache.jackrabbit.spi with parameters of type QPropertyDefinition Modifier and Type Method Description QValue[]
QValueFactory. computeAutoValues(QPropertyDefinition propertyDefinition)
Given theQPropertyDefinition
of an autocreated property, compute suitable values to be used in transient space until the newly created node gets saved. -
Uses of QPropertyDefinition in org.apache.jackrabbit.spi.commons
Classes in org.apache.jackrabbit.spi.commons that implement QPropertyDefinition Modifier and Type Class Description class
QPropertyDefinitionImpl
QPropertyDefinitionImpl
implements SPI property definition interface.Methods in org.apache.jackrabbit.spi.commons that return QPropertyDefinition Modifier and Type Method Description QPropertyDefinition
AbstractRepositoryService. getPropertyDefinition(SessionInfo sessionInfo, PropertyId propertyId)
QPropertyDefinition[]
QNodeTypeDefinitionImpl. getPropertyDefs()
Returns an array containing the property definitions.Constructors in org.apache.jackrabbit.spi.commons with parameters of type QPropertyDefinition Constructor 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. -
Uses of QPropertyDefinition in org.apache.jackrabbit.spi.commons.logging
Methods in org.apache.jackrabbit.spi.commons.logging that return QPropertyDefinition Modifier and Type Method Description QPropertyDefinition
RepositoryServiceLogger. getPropertyDefinition(SessionInfo sessionInfo, PropertyId propertyId)
Methods in org.apache.jackrabbit.spi.commons.logging with parameters of type QPropertyDefinition Modifier and Type Method Description QValue[]
QValueFactoryLogger. computeAutoValues(QPropertyDefinition propertyDefinition)
-
Uses of QPropertyDefinition in org.apache.jackrabbit.spi.commons.nodetype
Methods in org.apache.jackrabbit.spi.commons.nodetype that return QPropertyDefinition Modifier and Type Method Description QPropertyDefinition
QPropertyDefinitionBuilder. build()
Creates a newQPropertyDefinition
instance based on the state of this builder.QPropertyDefinition[]
QNodeTypeDefinitionBuilder. getPropertyDefs()
QPropertyDefinition
PropertyDefinitionImpl. unwrap()
Returns the wrapped property definition.Methods in org.apache.jackrabbit.spi.commons.nodetype with parameters of type QPropertyDefinition Modifier and Type Method Description PropertyDefinition
NodeTypeDefinitionFactory. create(QPropertyDefinition qPd)
Create a new JCR property definition from the givenQPropertyDefinition
.abstract PropertyDefinition
AbstractNodeTypeManager. getPropertyDefinition(QPropertyDefinition pd)
Retrieve thePropertyDefinition
for the givenQPropertyDefinition
.void
QNodeTypeDefinitionBuilder. setPropertyDefs(QPropertyDefinition[] propDefs)
Constructors in org.apache.jackrabbit.spi.commons.nodetype with parameters of type QPropertyDefinition Constructor Description PropertyDefinitionImpl(QPropertyDefinition propDef, NamePathResolver resolver, ValueFactory valueFactory)
Package private constructorPropertyDefinitionImpl(QPropertyDefinition propDef, AbstractNodeTypeManager ntMgr, NamePathResolver resolver, ValueFactory valueFactory)
-
Uses of QPropertyDefinition in org.apache.jackrabbit.spi.commons.nodetype.constraint
Methods in org.apache.jackrabbit.spi.commons.nodetype.constraint with parameters of type QPropertyDefinition Modifier and Type Method Description static void
ValueConstraint. checkValueConstraints(QPropertyDefinition pd, QValue[] values)
Tests if the value constraints defined in the property definitionpd
are satisfied by the the specifiedvalues
. -
Uses of QPropertyDefinition in org.apache.jackrabbit.spi.commons.value
Methods in org.apache.jackrabbit.spi.commons.value with parameters of type QPropertyDefinition Modifier and Type Method Description QValue[]
AbstractQValueFactory. computeAutoValues(QPropertyDefinition propertyDefinition)
-
Uses of QPropertyDefinition in org.apache.jackrabbit.spi2dav
Methods in org.apache.jackrabbit.spi2dav that return QPropertyDefinition Modifier and Type Method Description QPropertyDefinition
RepositoryServiceImpl. getPropertyDefinition(SessionInfo sessionInfo, PropertyId propertyId)
-
Uses of QPropertyDefinition in org.apache.jackrabbit.spi2jcr
Methods in org.apache.jackrabbit.spi2jcr that return QPropertyDefinition Modifier and Type Method Description QPropertyDefinition
RepositoryServiceImpl. getPropertyDefinition(SessionInfo sessionInfo, PropertyId propertyId)
Returns theQPropertyDefinition
for theProperty
identified by the given id.
-