Copyright© 2008-2022 Sitevision AB, all rights reserved.
Package | Description |
---|---|
javax.jcr |
Provides interfaces and classes for the Content Repository for Java Technology.
|
javax.jcr.nodetype |
This package provides interfaces and classes for content repository node type functionality.
|
javax.jcr.query |
Provides interfaces and classes for content repository searching functionality.
|
javax.jcr.query.qom |
Provides interfaces and classes for content repository Query Object Model.
|
Modifier and Type | Method and Description |
---|---|
Value |
ValueFactory.createValue(BigDecimal value)
|
Value |
ValueFactory.createValue(Binary value)
Returns a
Value object of PropertyType.BINARY
with a value consisting of the content of the specified
Binary . |
Value |
ValueFactory.createValue(boolean value)
|
Value |
ValueFactory.createValue(Calendar value)
|
Value |
ValueFactory.createValue(double value)
|
Value |
ValueFactory.createValue(InputStream value)
Deprecated.
As of JCR 2.0,
ValueFactory.createValue(Binary) should be used
instead. |
Value |
ValueFactory.createValue(long value)
|
Value |
ValueFactory.createValue(Node value)
|
Value |
ValueFactory.createValue(Node value,
boolean weak)
Returns a
Value object of PropertyType.REFERENCE (if
weak is false ) or PropertyType.REFERENCE (if weak is true ) that
holds the identifier of the specified Node . |
Value |
ValueFactory.createValue(String value)
|
Value |
ValueFactory.createValue(String value,
int type)
|
Value |
Repository.getDescriptorValue(String key)
The value of a single-value descriptor is found by passing the key for
that descriptor to this method.
|
Value[] |
Repository.getDescriptorValues(String key)
The value array of a multi-value descriptor is found by passing the key
for that descriptor to this method.
|
Value |
Property.getValue()
Returns the value of this property as a
Value object. |
Value[] |
Property.getValues()
Returns an array of all the values of this property.
|
Modifier and Type | Method and Description |
---|---|
Property |
Node.setProperty(String name,
Value value)
Sets the single-value property of this node called
name to
the specified value . |
Property |
Node.setProperty(String name,
Value[] values)
Sets the multi-value property of this node called
name to
the specified array of values. |
Property |
Node.setProperty(String name,
Value[] values,
int type)
Sets the multi-value property of this node called
name to
the specified array of values. |
Property |
Node.setProperty(String name,
Value value,
int type)
Sets the single-value property of this node called
name to
the specified value and the specified type . |
void |
Property.setValue(Value value)
Sets the value of this property to
value . |
void |
Property.setValue(Value[] values)
Sets the value of this property to the
values array. |
Modifier and Type | Method and Description |
---|---|
Value[] |
PropertyDefinition.getDefaultValues()
Gets the default value(s) of the property.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NodeType.canSetProperty(String propertyName,
Value value)
Returns
true if setting propertyName to
value is allowed by this node type. |
boolean |
NodeType.canSetProperty(String propertyName,
Value[] values)
Returns
true if setting propertyName to
values is allowed by this node type. |
void |
PropertyDefinitionTemplate.setDefaultValues(Value[] defaultValues)
Sets the default value (or values, in the case of a multi-value property)
of the property.
|
Modifier and Type | Method and Description |
---|---|
Value |
Row.getValue(String columnName)
Returns the value of the indicated column in this
Row . |
Value[] |
Row.getValues()
Returns an array of all the values in the same order as the column names
returned by
QueryResult.getColumnNames() . |
Modifier and Type | Method and Description |
---|---|
void |
Query.bindValue(String varName,
Value value)
Binds the given
value to the variable named
varName . |
Modifier and Type | Method and Description |
---|---|
Value |
Literal.getLiteralValue()
Gets the value of the literal.
|
Modifier and Type | Method and Description |
---|---|
Literal |
QueryObjectModelFactory.literal(Value literalValue)
Evaluates to a literal value.
|
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.