public class ValueFactoryImpl extends PartialValueFactory implements JackrabbitValueFactory
ValueFactory interface.DEFAULT_BLOB_ACCESS_PROVIDER| Constructor and Description |
|---|
ValueFactoryImpl(@NotNull org.apache.jackrabbit.oak.api.Root root,
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
Creates a new instance of
ValueFactory. |
ValueFactoryImpl(@NotNull org.apache.jackrabbit.oak.api.Root root,
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper,
@NotNull org.apache.jackrabbit.oak.api.blob.BlobAccessProvider blobAccessProvider)
Creates a new instance of
ValueFactory. |
createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValues, getNamePathMapperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValuepublic ValueFactoryImpl(@NotNull
@NotNull org.apache.jackrabbit.oak.api.Root root,
@NotNull
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper,
@NotNull
@NotNull org.apache.jackrabbit.oak.api.blob.BlobAccessProvider blobAccessProvider)
ValueFactory.root - the root instance for creating binary valuesnamePathMapper - The name/path mapping used for converting JCR names/paths toblobAccessProvider - The blob access provider
the internal representation.public ValueFactoryImpl(@NotNull
@NotNull org.apache.jackrabbit.oak.api.Root root,
@NotNull
@NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
ValueFactory. The Values
created by this value factory instance will not be backed by a blob
access provider and never return a download URI for a binary value.root - the root instance for creating binary valuesnamePathMapper - The name/path mapping used for converting JCR names/paths to
the internal representation.@Deprecated @NotNull public static @NotNull Value createValue(@NotNull @NotNull org.apache.jackrabbit.oak.api.PropertyState property, @NotNull @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
PartialValueFactory.createValue(PropertyState) instead.Value based on a
PropertyState. The Value instance created by this factory
method will not be backed with a BlobAccessProvider and the
Binary retrieved from the Value does not provide a
download URI, even if the underlying blob store supports it.property - The property statenamePathMapper - The name/path mapping used for converting JCR
names/paths to the internal representation.Value instanceIllegalArgumentException - if property.isArray() is true.@Deprecated @NotNull public static @NotNull Value createValue(@NotNull @NotNull org.apache.jackrabbit.oak.api.PropertyValue property, @NotNull @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
PartialValueFactory.createValue(PropertyState) instead.Value based on a
PropertyValue. The Value instance created by this factory
method will not be backed with a BlobAccessProvider and the
Binary retrieved from the Value does not provide a
download URI, even if the underlying blob store supports it.
Utility method for creating a Value based on a PropertyValue.property - The property valuenamePathMapper - The name/path mapping used for converting JCR names/paths to
the internal representation.Value instanceIllegalArgumentException - if property.isArray() is true.@Deprecated @NotNull public static @NotNull List<Value> createValues(@NotNull @NotNull org.apache.jackrabbit.oak.api.PropertyState property, @NotNull @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
PartialValueFactory.createValues(PropertyState) instead.Values based on a
PropertyState. The Value instances created by this factory
method will not be backed with a BlobAccessProvider and the
Binary retrieved from the Value does not provide a
download URI, even if the underlying blob store supports it.property - The property statenamePathMapper - The name/path mapping used for converting JCR names/paths to
the internal representation.Value instances@NotNull public @NotNull Value createValue(@NotNull @NotNull InputStream value)
createValue in interface ValueFactory@NotNull public @NotNull Value createValue(@NotNull @NotNull Binary value)
createValue in interface ValueFactory@NotNull public @NotNull Binary createBinary(@NotNull @NotNull InputStream stream) throws RepositoryException
createBinary in interface ValueFactoryRepositoryException@Nullable public @Nullable BinaryUpload initiateBinaryUpload(long maxSize, int maxParts)
initiateBinaryUpload in interface JackrabbitValueFactory@Nullable public @Nullable Binary completeBinaryUpload(@NotNull @NotNull String uploadToken) throws RepositoryException
completeBinaryUpload in interface JackrabbitValueFactoryRepositoryException@Nullable public @Nullable Binary createBinary(org.apache.jackrabbit.oak.api.Blob blob) throws RepositoryException
RepositoryException@Nullable public @Nullable org.apache.jackrabbit.oak.api.Blob getBlob(Binary binary) throws RepositoryException
RepositoryExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.