Package | Description |
---|---|
io.apicurio.registry.storage | |
io.apicurio.registry.storage.impl | |
io.apicurio.registry.util |
Modifier and Type | Method and Description |
---|---|
ArtifactMetaDataDto |
RegistryStorage.getArtifactMetaData(long id)
Gets the stored meta-data for an artifact by global ID.
|
ArtifactMetaDataDto |
RegistryStorage.getArtifactMetaData(String artifactId)
Gets the stored meta-data for an artifact by ID.
|
ArtifactMetaDataDto |
RegistryStorage.getArtifactMetaData(String artifactId,
ContentHandle content)
Gets the metadata of the version that matches content, or 404
|
static ArtifactMetaDataDto |
MetaDataKeys.toArtifactMetaData(Map<String,String> content) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<ArtifactMetaDataDto> |
RegistryStorage.createArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content)
Creates a new artifact (from the given value) in the storage.
|
CompletionStage<ArtifactMetaDataDto> |
RegistryStorage.createArtifactWithMetadata(String artifactId,
ArtifactType artifactType,
ContentHandle content,
EditableArtifactMetaDataDto metaData)
Creates a new artifact (from the given value including metadata) in the storage.
|
CompletionStage<ArtifactMetaDataDto> |
RegistryStorage.updateArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content)
Updates the artifact value by storing the given value as a new version of the artifact.
|
CompletionStage<ArtifactMetaDataDto> |
RegistryStorage.updateArtifactWithMetadata(String artifactId,
ArtifactType artifactType,
ContentHandle content,
EditableArtifactMetaDataDto metaData)
Updates the artifact value by storing the given value and metadata as a new version of the artifact.
|
Modifier and Type | Method and Description |
---|---|
protected ArtifactMetaDataDto |
AbstractMapRegistryStorage.createOrUpdateArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content,
boolean create,
long globalId) |
ArtifactMetaDataDto |
AbstractMapRegistryStorage.getArtifactMetaData(long id) |
ArtifactMetaDataDto |
AbstractMapRegistryStorage.getArtifactMetaData(String artifactId) |
ArtifactMetaDataDto |
AbstractMapRegistryStorage.getArtifactMetaData(String artifactId,
ContentHandle content) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.createArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content) |
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.createArtifactWithMetadata(String artifactId,
ArtifactType artifactType,
ContentHandle content,
EditableArtifactMetaDataDto metadata) |
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.updateArtifact(String artifactId,
ArtifactType artifactType,
ContentHandle content) |
CompletionStage<ArtifactMetaDataDto> |
AbstractMapRegistryStorage.updateArtifactWithMetadata(String artifactId,
ArtifactType artifactType,
ContentHandle content,
EditableArtifactMetaDataDto metadata) |
Modifier and Type | Method and Description |
---|---|
static ArtifactMetaDataDto |
DtoUtil.setEditableMetaDataInArtifact(ArtifactMetaDataDto amdd,
EditableArtifactMetaDataDto editableArtifactMetaData)
Sets values from the EditableArtifactMetaDataDto into the ArtifactMetaDataDto.
|
Modifier and Type | Method and Description |
---|---|
static Comparator<ArtifactMetaDataDto> |
SearchUtil.comparator(SortOrder sortOrder) |
Modifier and Type | Method and Description |
---|---|
static SearchedArtifact |
SearchUtil.buildSearchedArtifact(ArtifactMetaDataDto artifactMetaData) |
static int |
SearchUtil.compare(SortOrder sortOrder,
ArtifactMetaDataDto metaDataDto1,
ArtifactMetaDataDto metaDataDto2) |
static ArtifactMetaData |
DtoUtil.dtoToMetaData(String artifactId,
ArtifactType artifactType,
ArtifactMetaDataDto dto)
Creates a jax-rs meta-data entity from the id, type, and storage meta-data.
|
static VersionMetaData |
DtoUtil.dtoToVersionMetaData(String artifactId,
ArtifactType artifactType,
ArtifactMetaDataDto dto)
Creates a jax-rs version meta-data entity from the id, type, and storage meta-data.
|
static ArtifactMetaDataDto |
DtoUtil.setEditableMetaDataInArtifact(ArtifactMetaDataDto amdd,
EditableArtifactMetaDataDto editableArtifactMetaData)
Sets values from the EditableArtifactMetaDataDto into the ArtifactMetaDataDto.
|
Copyright © 2020 Red Hat. All rights reserved.