Modifier and Type | Class and Description |
---|---|
class |
InternalValue
InternalValue represents the internal format of a property value. |
Modifier and Type | Method and Description |
---|---|
QValue |
InternalValueFactory.create(BigDecimal value) |
QValue |
InternalValueFactory.create(boolean value) |
QValue |
InternalValueFactory.create(byte[] value) |
QValue |
InternalValueFactory.create(Calendar value) |
QValue |
InternalValueFactory.create(double value) |
QValue |
InternalValueFactory.create(File value) |
QValue |
InternalValueFactory.create(InputStream value) |
QValue |
InternalValueFactory.create(long value) |
QValue |
InternalValueFactory.create(Name value) |
QValue |
InternalValueFactory.create(Path value) |
QValue |
InternalValueFactory.create(URI value) |
protected QValue |
InternalValueFactory.createReference(String ref,
boolean weak) |
protected QValue |
InternalValueFactory.createString(String value) |
Modifier and Type | Method and Description |
---|---|
static InternalValue |
InternalValue.create(QValue value) |
static InternalValue[] |
InternalValue.create(QValue[] values) |
Value |
ValueFactoryImpl.createValue(QValue qvalue) |
Modifier and Type | Method and Description |
---|---|
QueryInfo |
WorkspaceManager.executeQuery(String statement,
String language,
Map<String,String> namespaces,
long limit,
long offset,
Map<String,QValue> boundValues) |
Modifier and Type | Method and Description |
---|---|
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. |
PropertyEntry |
NodeEntryImpl.addNewPropertyEntry(Name propName,
QPropertyDefinition definition,
QValue[] values,
int propertyType) |
Modifier and Type | Method and Description |
---|---|
QValue[] |
AddProperty.getValues() |
QValue[] |
SetPropertyValue.getValues() |
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) |
static Operation |
SetPropertyValue.create(PropertyState propState,
QValue[] qValues,
int valueType) |
Modifier and Type | Method and Description |
---|---|
QValue |
PropertyState.getValue()
Convenience method for single valued property states.
|
QValue[] |
PropertyState.getValues()
Returns the value(s) of this property.
|
Modifier and Type | Method and Description |
---|---|
PropertyState |
TransientISFactory.createNewPropertyState(PropertyEntry entry,
QPropertyDefinition definition,
QValue[] values,
int propertyType) |
PropertyState |
TransientItemStateFactory.createNewPropertyState(PropertyEntry entry,
QPropertyDefinition definition,
QValue[] values,
int propertyType)
Creates a transient
PropertyState . |
Constructor and Description |
---|
PropertyState(PropertyEntry entry,
ItemStateFactory isf,
QPropertyDefinition definition,
ItemDefinitionProvider definitionProvider,
QValue[] values,
int propertyType)
Create a NEW PropertyState
|
Modifier and Type | Method and Description |
---|---|
QValue |
ReferenceChangeTracker.getMappedReference(QValue oldReference,
QValueFactory factory)
Returns the new UUID to which
oldUUID has been mapped
or null if no such mapping exists. |
Modifier and Type | Method and Description |
---|---|
QValue |
ReferenceChangeTracker.getMappedReference(QValue oldReference,
QValueFactory factory)
Returns the new UUID to which
oldUUID has been mapped
or null if no such mapping exists. |
Modifier and Type | Field and Description |
---|---|
static QValue[] |
QValue.EMPTY_ARRAY |
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. |
QValue |
QValueFactory.create(BigDecimal value)
Create a new
QValue with type PropertyType.DECIMAL . |
QValue |
QValueFactory.create(boolean value)
Create a new
QValue with type PropertyType.BOOLEAN . |
QValue |
QValueFactory.create(byte[] value)
Create a new
QValue with type PropertyType.BINARY . |
QValue |
QValueFactory.create(Calendar value)
Create a new
QValue with type PropertyType.DATE . |
QValue |
QValueFactory.create(double value)
Create a new
QValue with type PropertyType.DOUBLE . |
QValue |
QValueFactory.create(File value)
Create a new
QValue with type PropertyType.BINARY . |
QValue |
QValueFactory.create(InputStream value)
Creates a QValue that contains the given binary stream.
|
QValue |
QValueFactory.create(long value)
Create a new
QValue with type PropertyType.LONG . |
QValue |
QValueFactory.create(Name value)
Create a new
QValue with type PropertyType.NAME . |
QValue |
QValueFactory.create(Path value)
Create a new
QValue with type PropertyType.PATH . |
QValue |
QValueFactory.create(String value,
int type)
Create a new
QValue using the given String representation
of the value and its type . |
QValue |
QValueFactory.create(URI value)
Create a new
QValue with type PropertyType.URI . |
QValue[] |
QPropertyDefinition.getDefaultValues()
Returns the array of default values or
null if no default
values are defined. |
QValue[] |
PropertyInfo.getValues() |
QValue[] |
QueryResultRow.getValues()
Returns an array of
QValue s. |
Modifier and Type | Method and Description |
---|---|
Map<Name,QValue> |
Event.getInfo()
Returns the information map associated with this event.
|
Modifier and Type | Method and Description |
---|---|
void |
Tree.addProperty(NodeId parentId,
Name propertyName,
int propertyType,
QValue value) |
void |
Tree.addProperty(NodeId parentId,
Name propertyName,
int propertyType,
QValue[] values) |
void |
Batch.addProperty(NodeId parentId,
Name propertyName,
QValue value)
Add a new property to the persistent layer.
|
void |
Batch.addProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Add a new multi-valued property to the persistent layer.
|
void |
QValueConstraint.check(QValue value)
Check if the specified value matches this constraint.
|
void |
Batch.setValue(PropertyId propertyId,
QValue value)
Modify the value of an existing property.
|
void |
Batch.setValue(PropertyId propertyId,
QValue[] values)
Modify the value of an existing, multi-valued property.
|
Modifier and Type | Method and Description |
---|---|
QueryInfo |
RepositoryService.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces,
long limit,
long offset,
Map<String,QValue> values)
Execute the given query statement with the specified query language.
|
Modifier and Type | Method and Description |
---|---|
QValue[] |
QPropertyDefinitionImpl.getDefaultValues()
Returns the array of default values or
null if no default
values are defined. |
QValue[] |
PropertyInfoImpl.getValues() |
Modifier and Type | Method and Description |
---|---|
Map<Name,QValue> |
EventImpl.getInfo()
Returns the information map associated with this event.
|
Modifier and Type | Method and Description |
---|---|
void |
SerializableBatch.addProperty(NodeId parentId,
Name propertyName,
QValue value) |
void |
SerializableBatch.addProperty(NodeId parentId,
Name propertyName,
QValue[] values) |
ItemInfoBuilder.PropertyInfoBuilder |
ItemInfoBuilder.PropertyInfoBuilder.addValue(QValue value)
Add a
value to this property. |
void |
SerializableBatch.setValue(PropertyId propertyId,
QValue value) |
void |
SerializableBatch.setValue(PropertyId propertyId,
QValue[] values) |
Modifier and Type | Method and Description |
---|---|
QueryInfo |
AbstractRepositoryService.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces,
long limit,
long offset,
Map<String,QValue> values) |
Constructor and Description |
---|
PropertyInfoImpl(NodeId parentId,
Name name,
Path path,
PropertyId id,
int type,
boolean isMultiValued,
QValue[] values)
Deprecated.
Use
PropertyInfoImpl.PropertyInfoImpl(Path, PropertyId, int, boolean, QValue[])
instead. The parentId is not used any more. |
PropertyInfoImpl(Path path,
PropertyId id,
int type,
boolean isMultiValued,
QValue[] values)
Creates a new property info for the given parameters.
|
QPropertyDefinitionImpl(Name name,
Name declaringNodeType,
boolean isAutoCreated,
boolean isMandatory,
int onParentVersion,
boolean isProtected,
QValue[] defaultValues,
boolean isMultiple,
int requiredType,
QValueConstraint[] valueConstraints,
String[] availableQueryOperators,
boolean isFullTextSearchable,
boolean isQueryOrderable)
Creates a new serializable property definition.
|
Constructor and Description |
---|
EventImpl(int type,
Path path,
ItemId itemId,
NodeId parentId,
Name primaryNodeTypeName,
Name[] mixinTypeNames,
String userId,
String userData,
long timestamp,
Map<Name,QValue> info)
Creates a new serializable event.
|
Modifier and Type | Field and Description |
---|---|
protected QValue[] |
Operations.AddProperty.values |
protected QValue[] |
Operations.SetValue.values |
Modifier and Type | Method and Description |
---|---|
void |
ChangeLogImpl.addProperty(NodeId parentId,
Name propertyName,
QValue value) |
void |
ConsolidatingChangeLog.addProperty(NodeId parentId,
Name propertyName,
QValue value) |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.addProperty(NodeId parentId,
Name propertyName,
QValue value)
Factory method for creating an
AddProperty operation. |
static Operation |
Operations.addProperty(NodeId parentId,
Name propertyName,
QValue value)
Factory method for creating an
Operations.AddProperty operation. |
void |
ChangeLogImpl.addProperty(NodeId parentId,
Name propertyName,
QValue[] values) |
void |
ConsolidatingChangeLog.addProperty(NodeId parentId,
Name propertyName,
QValue[] values) |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.addProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Factory method for creating an
AddProperty operation. |
static Operation |
Operations.addProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Factory method for creating an
Operations.AddProperty operation. |
void |
ChangeLogImpl.setValue(PropertyId propertyId,
QValue value) |
void |
ConsolidatingChangeLog.setValue(PropertyId propertyId,
QValue value) |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.setValue(PropertyId propertyId,
QValue value)
Factory method for creating a
SetValue operation. |
static Operation |
Operations.setValue(PropertyId propertyId,
QValue value)
Factory method for creating set-value
Operation for the given arguments. |
void |
ChangeLogImpl.setValue(PropertyId propertyId,
QValue[] values) |
void |
ConsolidatingChangeLog.setValue(PropertyId propertyId,
QValue[] values) |
static ConsolidatingChangeLog.CancelableOperation |
ConsolidatingChangeLog.CancelableOperations.setValue(PropertyId propertyId,
QValue[] values)
Factory method for creating a
SetValue operation. |
static Operation |
Operations.setValue(PropertyId propertyId,
QValue[] values)
Factory method for creating a set-value
Operation for the given arguments. |
Constructor and Description |
---|
AddProperty(NodeId parentId,
Name propertyName,
QValue value) |
AddProperty(NodeId parentId,
Name propertyName,
QValue value)
Create a new add-property
Operation for the given arguments. |
AddProperty(NodeId parentId,
Name propertyName,
QValue[] values) |
AddProperty(NodeId parentId,
Name propertyName,
QValue[] values)
Create a new add-property
Operation for the given arguments. |
SetValue(PropertyId propertyId,
QValue value) |
SetValue(PropertyId propertyId,
QValue value)
Create a new set-value
Operation for the given arguments. |
SetValue(PropertyId propertyId,
QValue[] values) |
SetValue(PropertyId propertyId,
QValue[] values)
Create a new set-value
Operation for the given arguments. |
Modifier and Type | Method and Description |
---|---|
QValue[] |
QValueFactoryLogger.computeAutoValues(QPropertyDefinition propertyDefinition) |
QValue |
QValueFactoryLogger.create(BigDecimal value) |
QValue |
QValueFactoryLogger.create(boolean value) |
QValue |
QValueFactoryLogger.create(byte[] value) |
QValue |
QValueFactoryLogger.create(Calendar value) |
QValue |
QValueFactoryLogger.create(double value) |
QValue |
QValueFactoryLogger.create(File value) |
QValue |
QValueFactoryLogger.create(InputStream value) |
QValue |
QValueFactoryLogger.create(long value) |
QValue |
QValueFactoryLogger.create(Name value) |
QValue |
QValueFactoryLogger.create(Path value) |
QValue |
QValueFactoryLogger.create(String value,
int type) |
QValue |
QValueFactoryLogger.create(URI value) |
Modifier and Type | Method and Description |
---|---|
void |
BatchLogger.addProperty(NodeId parentId,
Name propertyName,
QValue value) |
void |
BatchLogger.addProperty(NodeId parentId,
Name propertyName,
QValue[] values) |
void |
BatchLogger.setValue(PropertyId propertyId,
QValue value) |
void |
BatchLogger.setValue(PropertyId propertyId,
QValue[] values) |
Modifier and Type | Method and Description |
---|---|
QueryInfo |
RepositoryServiceLogger.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces,
long limit,
long offset,
Map<String,QValue> values) |
Modifier and Type | Method and Description |
---|---|
QValue[] |
QPropertyDefinitionBuilder.getDefaultValues() |
Modifier and Type | Method and Description |
---|---|
void |
QPropertyDefinitionBuilder.addDefaultValue(QValue value)
Adds a default value of the property definition being built.
|
void |
QPropertyDefinitionBuilder.setDefaultValues(QValue[] values) |
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 | Class and Description |
---|---|
class |
AbstractQValue
AbstractQValue ... |
class |
DefaultQValue
QValue implementation for all valid PropertyType s
except for BINARY. |
Modifier and Type | Field and Description |
---|---|
protected static QValue |
DefaultQValue.FALSE |
protected static QValue |
DefaultQValue.TRUE |
Modifier and Type | Method and Description |
---|---|
QValue[] |
AbstractQValueFactory.computeAutoValues(QPropertyDefinition propertyDefinition) |
QValue |
AbstractQValueFactory.create(BigDecimal value) |
QValue |
AbstractQValueFactory.create(boolean value) |
QValue |
QValueFactoryImpl.create(byte[] value) |
QValue |
AbstractQValueFactory.create(Calendar value) |
QValue |
AbstractQValueFactory.create(double value) |
QValue |
QValueFactoryImpl.create(File value) |
QValue |
QValueFactoryImpl.create(InputStream value) |
QValue |
AbstractQValueFactory.create(long value) |
QValue |
AbstractQValueFactory.create(Name value) |
QValue |
AbstractQValueFactory.create(Path value) |
QValue |
AbstractQValueFactory.create(String value,
int type) |
QValue |
AbstractQValueFactory.create(URI value) |
protected QValue |
AbstractQValueFactory.createReference(String ref,
boolean weak)
Creates a new QValue of type REFERENCE or WEAKREFERENCE.
|
protected QValue |
AbstractQValueFactory.createString(String value)
Creates a new QValue of type STRING.
|
QValue |
QValueValue.getQValue()
Returns the embedded
QValue . |
static QValue |
ValueFormat.getQValue(String jcrValue,
int propertyType,
NamePathResolver resolver,
QValueFactory factory) |
static QValue |
ValueFormat.getQValue(Value jcrValue,
NamePathResolver resolver,
QValueFactory factory) |
static QValue[] |
ValueFormat.getQValues(Value[] jcrValues,
NamePathResolver resolver,
QValueFactory factory) |
Modifier and Type | Method and Description |
---|---|
Value |
ValueFactoryQImpl.createValue(QValue qvalue)
Create a new
Value based on an existing
QValue |
static String |
ValueFormat.getJCRString(QValue value,
NamePathResolver resolver)
Returns the JCR string representation of the given
QValue . |
static Value |
ValueFormat.getJCRValue(QValue value,
NamePathResolver resolver,
ValueFactory factory) |
Constructor and Description |
---|
QValueValue(QValue qvalue,
NamePathResolver resolver)
Constructs a
QValueValue object representing an SPI
QValue . |
Modifier and Type | Method and Description |
---|---|
QValue[] |
PropertyInfoImpl.getValues() |
QValue[] |
QueryResultRowImpl.getValues() |
Modifier and Type | Method and Description |
---|---|
QueryInfo |
RepositoryServiceImpl.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces,
long limit,
long offset,
Map<String,QValue> values) |
Constructor and Description |
---|
PropertyInfoImpl(PropertyId id,
Path path,
int type,
boolean isMultiValued,
QValue[] values) |
Modifier and Type | Method and Description |
---|---|
QValue[] |
PropertyInfoImpl.getValues() |
Constructor and Description |
---|
PropertyInfoImpl(PropertyId id,
Path path,
int propertyType,
QValue value) |
PropertyInfoImpl(PropertyId id,
Path path,
int propertyType,
QValue[] values) |
Modifier and Type | Method and Description |
---|---|
QueryInfo |
RepositoryServiceImpl.executeQuery(SessionInfo sessionInfo,
String statement,
String language,
Map<String,String> namespaces,
long limit,
long offset,
Map<String,QValue> values)
Execute the given query statement with the specified query language.
|
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.