Modifier and Type | Field and Description |
---|---|
protected RepositorySession |
AbstractRepositoryPurge.repositorySession |
Constructor and Description |
---|
AbstractRepositoryPurge(ManagedRepositoryContent repository,
RepositorySession repositorySession,
List<RepositoryListener> listeners) |
CleanupReleasedSnapshotsRepositoryPurge(ManagedRepositoryContent repository,
MetadataTools metadataTools,
RepositoryRegistry repositoryRegistry,
RepositorySession repositorySession,
List<RepositoryListener> listeners) |
DaysOldRepositoryPurge(ManagedRepositoryContent repository,
int retentionPeriod,
int retentionCount,
RepositorySession repositorySession,
List<RepositoryListener> listeners) |
RetentionCountRepositoryPurge(ManagedRepositoryContent repository,
int retentionCount,
RepositorySession repositorySession,
List<RepositoryListener> listeners) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryListener.addArtifact(RepositorySession session,
String repoId,
String namespace,
String projectId,
ProjectVersionMetadata metadata) |
void |
RepositoryListener.addArtifactProblem(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion,
RepositoryStorageMetadataException exception) |
Modifier and Type | Method and Description |
---|---|
RepositorySession |
RepositorySessionFactory.createSession() |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRepository.addMetadataFacet(RepositorySession session,
String repositoryId,
MetadataFacet metadataFacet)
Adds a facet to the repository level.
|
void |
AbstractMetadataRepository.addMetadataFacet(RepositorySession session,
String repositoryId,
MetadataFacet metadataFacet) |
Stream<ArtifactMetadata> |
MetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime)
Returns all the artifacts who's 'whenGathered' attribute value is inside the given time range (inclusive) as stream of objects.
|
Stream<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime) |
Stream<ArtifactMetadata> |
MetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter)
Returns all the artifacts who's 'whenGathered' attribute value is inside the given time range (inclusive) as stream of objects.
|
Stream<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter) |
List<ArtifactMetadata> |
MetadataRepository.getArtifacts(RepositorySession session,
String repositoryId)
Returns the metadata for all artifacts of the given repository.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifacts(RepositorySession session,
String repositoryId) |
List<ArtifactMetadata> |
MetadataRepository.getArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion)
Returns the metadata of all artifacts stored for the given project version.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByAttribute(RepositorySession session,
String key,
String value,
String repositoryId)
Get artifacts with an artifact metadata key that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByChecksum(RepositorySession session,
String repositoryId,
String checksum)
Returns the artifacts that match the given checksum.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByChecksum(RepositorySession session,
String repositoryId,
String checksum) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime)
Is the same as
MetadataRepository.getArtifactsByDateRange(RepositorySession, String, ZonedDateTime, ZonedDateTime, QueryParameter) , but
uses default query parameters. |
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repoId,
ZonedDateTime startTime,
ZonedDateTime endTime) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter)
Searches for artifacts where the 'whenGathered' attribute value is between the given start and end time.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByProjectVersionAttribute(RepositorySession session,
String key,
String value,
String repositoryId)
Get artifacts with a attribute on project version level that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByProjectVersionAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByProjectVersionFacet(RepositorySession session,
String key,
String value,
String repositoryId)
Get artifacts with a project version metadata key that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByProjectVersionFacet(RepositorySession session,
String key,
String value,
String repositoryId) |
Stream<ArtifactMetadata> |
MetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId)
Returns a stream of all the artifacts in the given repository using default query parameter.
|
Stream<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId) |
Stream<ArtifactMetadata> |
MetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
QueryParameter queryParameter)
Returns a stream of artifacts that are stored in the given repository.
|
Stream<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
QueryParameter queryParameter) |
Stream<ArtifactMetadata> |
MetadataRepository.getArtifactStream(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion)
Returns a stream of artifacts found for the given artifact coordinates.
|
Stream<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactStream(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
Stream<ArtifactMetadata> |
MetadataRepository.getArtifactStream(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion,
QueryParameter queryParameter)
Returns a stream of artifacts found for the given artifact coordinates and using the
queryParameter |
Stream<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactStream(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion,
QueryParameter queryParameter) |
List<String> |
MetadataRepository.getArtifactVersions(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion)
Returns all artifact version strings for a given project version.
|
List<String> |
AbstractMetadataRepository.getArtifactVersions(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
MetadataRepository.getChildNamespaces(RepositorySession session,
String repoId,
String namespace)
Returns the list of namespace names that are children of the given namespace.
|
List<String> |
AbstractMetadataRepository.getChildNamespaces(RepositorySession session,
String repoId,
String namespace) |
<T extends MetadataFacet> |
MetadataRepository.getMetadataFacet(RepositorySession session,
String repositoryId,
Class<T> clazz,
String name)
Returns the facet instance for the given class, which is stored on repository level for the given name.
|
<T extends MetadataFacet> |
AbstractMetadataRepository.getMetadataFacet(RepositorySession session,
String repositoryId,
Class<T> clazz,
String name) |
MetadataFacet |
MetadataRepository.getMetadataFacet(RepositorySession session,
String repositoryId,
String facetId,
String name)
Returns the facet data stored on the repository level.
|
MetadataFacet |
AbstractMetadataRepository.getMetadataFacet(RepositorySession session,
String repositoryId,
String facetId,
String name) |
List<String> |
MetadataRepository.getMetadataFacets(RepositorySession session,
String repositoryId,
String facetId)
Return the facet names stored for the given facet id on the repository level.
|
List<String> |
AbstractMetadataRepository.getMetadataFacets(RepositorySession session,
String repositoryId,
String facetId) |
<T extends MetadataFacet> |
MetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz)
The same as
MetadataRepository.getMetadataFacetStream(RepositorySession, String, Class, QueryParameter)
but uses default query parameters. |
<T extends MetadataFacet> |
AbstractMetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz) |
<T extends MetadataFacet> |
MetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
QueryParameter queryParameter)
Returns a stream of MetadataFacet elements that match the given facet class.
|
<T extends MetadataFacet> |
AbstractMetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
QueryParameter queryParameter) |
ProjectMetadata |
MetadataRepository.getProject(RepositorySession session,
String repoId,
String namespace,
String projectId)
Returns the metadata for the given project.
|
ProjectMetadata |
AbstractMetadataRepository.getProject(RepositorySession session,
String repoId,
String namespace,
String projectId) |
List<ProjectVersionReference> |
MetadataRepository.getProjectReferences(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion)
Retrieve project references from the metadata repository.
|
List<ProjectVersionReference> |
AbstractMetadataRepository.getProjectReferences(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
MetadataRepository.getProjects(RepositorySession session,
String repoId,
String namespace)
Return the project names that of all projects stored under the given namespace.
|
List<String> |
AbstractMetadataRepository.getProjects(RepositorySession session,
String repoId,
String namespace) |
ProjectVersionMetadata |
MetadataRepository.getProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion)
Returns the metadata for the project version.
|
ProjectVersionMetadata |
AbstractMetadataRepository.getProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
MetadataRepository.getProjectVersions(RepositorySession session,
String repoId,
String namespace,
String projectId)
Returns the names of all versions stored under the given project.
|
List<String> |
AbstractMetadataRepository.getProjectVersions(RepositorySession session,
String repoId,
String namespace,
String projectId) |
List<String> |
MetadataRepository.getRootNamespaces(RepositorySession session,
String repoId)
Returns the names of the root namespaces stored for this repository.
|
List<String> |
AbstractMetadataRepository.getRootNamespaces(RepositorySession session,
String repoId) |
boolean |
MetadataRepository.hasMetadataFacet(RepositorySession session,
String repositoryId,
String facetId)
Returns true, if there is facet data stored for the given facet id on the repository on repository level.
|
boolean |
AbstractMetadataRepository.hasMetadataFacet(RepositorySession session,
String repositoryId,
String facetId) |
void |
MetadataRepository.removeArtifact(RepositorySession session,
String repositoryId,
String namespace,
String project,
String version,
String id)
Removes the data for the artifact with the given coordinates from the metadata repository.
|
void |
AbstractMetadataRepository.removeArtifact(RepositorySession session,
String repositoryId,
String namespace,
String project,
String version,
String id) |
void |
MetadataRepository.removeFacetFromArtifact(RepositorySession session,
String repositoryId,
String namespace,
String project,
String version,
MetadataFacet metadataFacet)
FIXME need a unit test!!!
|
void |
AbstractMetadataRepository.removeFacetFromArtifact(RepositorySession session,
String repositoryId,
String namespace,
String project,
String version,
MetadataFacet metadataFacet) |
void |
MetadataRepository.removeMetadataFacet(RepositorySession session,
String repositoryId,
String facetId,
String name)
Removes the given facet from the repository level, if it exists.
|
void |
AbstractMetadataRepository.removeMetadataFacet(RepositorySession session,
String repositoryId,
String facetId,
String name) |
void |
MetadataRepository.removeMetadataFacets(RepositorySession session,
String repositoryId,
String facetId)
Removes all facets with the given facetId from the repository level.
|
void |
AbstractMetadataRepository.removeMetadataFacets(RepositorySession session,
String repositoryId,
String facetId) |
void |
MetadataRepository.removeNamespace(RepositorySession session,
String repositoryId,
String namespace)
Removes the given namespace and its contents from the metadata repository.
|
void |
AbstractMetadataRepository.removeNamespace(RepositorySession session,
String repositoryId,
String namespace) |
void |
MetadataRepository.removeProject(RepositorySession session,
String repositoryId,
String namespace,
String projectId)
Removes the project metadata and metadata for all stored versions, artifacts and facets of this project.
|
void |
AbstractMetadataRepository.removeProject(RepositorySession session,
String repositoryId,
String namespace,
String projectId) |
void |
MetadataRepository.removeProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion)
Removes a project version and all its artifact and facet metadata under it.
|
void |
AbstractMetadataRepository.removeProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
void |
MetadataRepository.removeRepository(RepositorySession session,
String repositoryId)
Deletes all metadata of the given repository.
|
void |
AbstractMetadataRepository.removeRepository(RepositorySession session,
String repositoryId) |
void |
MetadataRepository.removeTimestampedArtifact(RepositorySession session,
ArtifactMetadata artifactMetadata,
String baseVersion)
Remove timestamped version of artifact.
|
void |
AbstractMetadataRepository.removeTimestampedArtifact(RepositorySession session,
ArtifactMetadata artifactMetadata,
String baseVersion) |
Collection<ArtifactMetadata> |
MetadataResolver.resolveArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
Collection<ArtifactMetadata> |
DefaultMetadataResolver.resolveArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
Collection<String> |
MetadataResolver.resolveNamespaces(RepositorySession session,
String repoId,
String namespace) |
Collection<String> |
DefaultMetadataResolver.resolveNamespaces(RepositorySession session,
String repoId,
String namespace) |
Collection<ProjectVersionReference> |
MetadataResolver.resolveProjectReferences(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion)
Retrieve project references from the metadata repository.
|
Collection<ProjectVersionReference> |
DefaultMetadataResolver.resolveProjectReferences(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
Collection<String> |
MetadataResolver.resolveProjects(RepositorySession session,
String repoId,
String namespace) |
Collection<String> |
DefaultMetadataResolver.resolveProjects(RepositorySession session,
String repoId,
String namespace) |
ProjectVersionMetadata |
MetadataResolver.resolveProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
ProjectVersionMetadata |
DefaultMetadataResolver.resolveProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
Collection<String> |
MetadataResolver.resolveProjectVersions(RepositorySession session,
String repoId,
String namespace,
String projectId) |
Collection<String> |
DefaultMetadataResolver.resolveProjectVersions(RepositorySession session,
String repoId,
String namespace,
String projectId) |
Collection<String> |
MetadataResolver.resolveRootNamespaces(RepositorySession session,
String repoId) |
Collection<String> |
DefaultMetadataResolver.resolveRootNamespaces(RepositorySession session,
String repoId) |
List<ArtifactMetadata> |
MetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String text,
boolean exact)
Full text artifacts search.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String text,
boolean exact) |
List<ArtifactMetadata> |
MetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String key,
String text,
boolean exact)
Full text artifacts search inside the specified key.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String key,
String text,
boolean exact) |
void |
MetadataRepository.updateArtifact(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta)
Update the metadata of a given artifact.
|
void |
AbstractMetadataRepository.updateArtifact(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
void |
MetadataRepository.updateNamespace(RepositorySession session,
String repositoryId,
String namespace)
Create the namespace in the repository, if it does not exist.
|
void |
AbstractMetadataRepository.updateNamespace(RepositorySession session,
String repositoryId,
String namespace) |
void |
MetadataRepository.updateProject(RepositorySession session,
String repositoryId,
ProjectMetadata project)
Update metadata for a particular project in the metadata repository, or create it, if it does not already exist.
|
void |
AbstractMetadataRepository.updateProject(RepositorySession session,
String repositoryId,
ProjectMetadata project) |
void |
MetadataRepository.updateProjectVersion(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
ProjectVersionMetadata versionMetadata)
Updates the metadata for a specific version of a given project.
|
void |
AbstractMetadataRepository.updateProjectVersion(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
ProjectVersionMetadata versionMetadata) |
Modifier and Type | Method and Description |
---|---|
RepositorySession |
CassandraRepositorySessionFactory.createSession() |
Modifier and Type | Method and Description |
---|---|
void |
CassandraMetadataRepository.addMetadataFacet(RepositorySession session,
String repositoryId,
MetadataFacet metadataFacet) |
Stream<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter)
For documentation see
MetadataRepository.getArtifactByDateRangeStream(RepositorySession, String, ZonedDateTime, ZonedDateTime, QueryParameter)
This implementation orders the stream. |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifacts(RepositorySession session,
String repositoryId) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByChecksum(RepositorySession session,
String repositoryId,
String checksum) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByProjectVersionAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByProjectVersionFacet(RepositorySession session,
String key,
String value,
String repositoryId)
Project version and artifact level metadata are stored in the same place, no distinctions in Cassandra
implementation, just calls
MetadataRepository.getArtifactsByAttribute(RepositorySession, String, String, String) |
Stream<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
QueryParameter queryParameter) |
Stream<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactStream(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion,
QueryParameter queryParameter) |
List<String> |
CassandraMetadataRepository.getArtifactVersions(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
CassandraMetadataRepository.getChildNamespaces(RepositorySession session,
String repoId,
String namespaceId) |
<T extends MetadataFacet> |
CassandraMetadataRepository.getMetadataFacet(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
String name) |
MetadataFacet |
CassandraMetadataRepository.getMetadataFacet(RepositorySession session,
String repositoryId,
String facetId,
String name) |
List<String> |
CassandraMetadataRepository.getMetadataFacets(RepositorySession session,
String repositoryId,
String facetId) |
<T extends MetadataFacet> |
CassandraMetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
QueryParameter queryParameter)
Implementation is not very performant, because sorting is part of the stream.
|
ProjectMetadata |
CassandraMetadataRepository.getProject(RepositorySession session,
String repoId,
String namespace,
String id) |
List<ProjectVersionReference> |
CassandraMetadataRepository.getProjectReferences(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
CassandraMetadataRepository.getProjects(RepositorySession session,
String repoId,
String namespace) |
ProjectVersionMetadata |
CassandraMetadataRepository.getProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
CassandraMetadataRepository.getProjectVersions(RepositorySession session,
String repoId,
String namespace,
String projectId) |
List<String> |
CassandraMetadataRepository.getRootNamespaces(RepositorySession session,
String repoId) |
boolean |
CassandraMetadataRepository.hasMetadataFacet(RepositorySession session,
String repositoryId,
String facetId) |
void |
CassandraMetadataRepository.removeArtifact(RepositorySession session,
String repositoryId,
String namespace,
String project,
String version,
String id) |
void |
CassandraMetadataRepository.removeFacetFromArtifact(RepositorySession session,
String repositoryId,
String namespace,
String project,
String version,
MetadataFacet metadataFacet) |
void |
CassandraMetadataRepository.removeMetadataFacet(RepositorySession session,
String repositoryId,
String facetId,
String name) |
void |
CassandraMetadataRepository.removeMetadataFacets(RepositorySession session,
String repositoryId,
String facetId) |
void |
CassandraMetadataRepository.removeNamespace(RepositorySession session,
String repositoryId,
String namespaceId) |
void |
CassandraMetadataRepository.removeProject(RepositorySession session,
String repositoryId,
String namespaceId,
String projectId) |
void |
CassandraMetadataRepository.removeProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
void |
CassandraMetadataRepository.removeRepository(RepositorySession session,
String repositoryId) |
void |
CassandraMetadataRepository.removeTimestampedArtifact(RepositorySession session,
ArtifactMetadata artifactMetadata,
String baseVersion) |
List<ArtifactMetadata> |
CassandraMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String text,
boolean exact)
This implementation just calls getArtifactsByAttribute( null, text, repositoryId ).
|
List<ArtifactMetadata> |
CassandraMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String key,
String text,
boolean exact)
The exact parameter is ignored as we can't do non exact searches in Cassandra
|
void |
CassandraMetadataRepository.updateArtifact(RepositorySession session,
String repositoryId,
String namespaceId,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
void |
CassandraMetadataRepository.updateNamespace(RepositorySession session,
String repositoryId,
String namespaceId) |
void |
CassandraMetadataRepository.updateProject(RepositorySession session,
String repositoryId,
ProjectMetadata projectMetadata) |
void |
CassandraMetadataRepository.updateProjectVersion(RepositorySession session,
String repositoryId,
String namespaceId,
String projectId,
ProjectVersionMetadata versionMetadata) |
Modifier and Type | Method and Description |
---|---|
RepositorySession |
FileRepositorySessionFactory.createSession() |
Modifier and Type | Method and Description |
---|---|
void |
FileMetadataRepository.addMetadataFacet(RepositorySession session,
String repositoryId,
MetadataFacet metadataFacet) |
Stream<ArtifactMetadata> |
FileMetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter)
Result is sorted by date,
|
List<ArtifactMetadata> |
FileMetadataRepository.getArtifacts(RepositorySession session,
String repoId) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByChecksum(RepositorySession session,
String repositoryId,
String checksum) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repoId,
ZonedDateTime startTime,
ZonedDateTime endTime) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByProjectVersionAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByProjectVersionFacet(RepositorySession session,
String key,
String value,
String repositoryId) |
Stream<ArtifactMetadata> |
FileMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
QueryParameter queryParameter) |
Stream<ArtifactMetadata> |
FileMetadataRepository.getArtifactStream(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
FileMetadataRepository.getArtifactVersions(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
FileMetadataRepository.getChildNamespaces(RepositorySession session,
String repoId,
String baseNamespace) |
<T extends MetadataFacet> |
FileMetadataRepository.getMetadataFacet(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
String name) |
List<String> |
FileMetadataRepository.getMetadataFacets(RepositorySession session,
String repoId,
String facetId) |
<T extends MetadataFacet> |
FileMetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
QueryParameter queryParameter) |
ProjectMetadata |
FileMetadataRepository.getProject(RepositorySession session,
String repoId,
String namespace,
String projectId) |
List<ProjectVersionReference> |
FileMetadataRepository.getProjectReferences(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
FileMetadataRepository.getProjects(RepositorySession session,
String repoId,
String namespace) |
ProjectVersionMetadata |
FileMetadataRepository.getProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
FileMetadataRepository.getProjectVersions(RepositorySession session,
String repoId,
String namespace,
String projectId) |
List<String> |
FileMetadataRepository.getRootNamespaces(RepositorySession session,
String repoId) |
boolean |
FileMetadataRepository.hasMetadataFacet(RepositorySession session,
String repositoryId,
String facetId) |
void |
FileMetadataRepository.removeArtifact(RepositorySession session,
String repoId,
String namespace,
String project,
String version,
String id) |
void |
FileMetadataRepository.removeFacetFromArtifact(RepositorySession session,
String repositoryId,
String namespace,
String project,
String projectVersion,
MetadataFacet metadataFacet)
FIXME implements this !!!!
|
void |
FileMetadataRepository.removeMetadataFacet(RepositorySession session,
String repoId,
String facetId,
String name) |
void |
FileMetadataRepository.removeMetadataFacets(RepositorySession session,
String repositoryId,
String facetId) |
void |
FileMetadataRepository.removeNamespace(RepositorySession session,
String repositoryId,
String project) |
void |
FileMetadataRepository.removeProject(RepositorySession session,
String repositoryId,
String namespace,
String projectId) |
void |
FileMetadataRepository.removeProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
void |
FileMetadataRepository.removeRepository(RepositorySession session,
String repoId) |
void |
FileMetadataRepository.removeTimestampedArtifact(RepositorySession session,
ArtifactMetadata artifactMetadata,
String baseVersion) |
List<ArtifactMetadata> |
FileMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String text,
boolean exact) |
List<ArtifactMetadata> |
FileMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String key,
String text,
boolean exact) |
void |
FileMetadataRepository.updateArtifact(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifact) |
void |
FileMetadataRepository.updateNamespace(RepositorySession session,
String repoId,
String namespace) |
void |
FileMetadataRepository.updateProject(RepositorySession session,
String repoId,
ProjectMetadata project) |
void |
FileMetadataRepository.updateProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
ProjectVersionMetadata versionMetadata) |
Modifier and Type | Class and Description |
---|---|
class |
JcrRepositorySession
Session implementation for a JCR repository.
|
Modifier and Type | Method and Description |
---|---|
RepositorySession |
JcrRepositorySessionFactory.createSession() |
Modifier and Type | Method and Description |
---|---|
void |
JcrMetadataRepository.addMetadataFacet(RepositorySession session,
String repositoryId,
MetadataFacet metadataFacet) |
Stream<ArtifactMetadata> |
JcrMetadataRepository.getArtifactByDateRangeStream(RepositorySession session,
String repositoryId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifacts(RepositorySession session,
String repositoryId) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifacts(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByChecksum(RepositorySession session,
String repositoryId,
String checksum) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByDateRange(RepositorySession session,
String repoId,
ZonedDateTime startTime,
ZonedDateTime endTime,
QueryParameter queryParameter) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByProjectVersionAttribute(RepositorySession session,
String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByProjectVersionFacet(RepositorySession session,
String key,
String value,
String repositoryId) |
Stream<ArtifactMetadata> |
JcrMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
QueryParameter queryParameter) |
Stream<ArtifactMetadata> |
JcrMetadataRepository.getArtifactStream(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion,
QueryParameter queryParameter) |
List<String> |
JcrMetadataRepository.getArtifactVersions(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
JcrMetadataRepository.getChildNamespaces(RepositorySession session,
String repositoryId,
String baseNamespace) |
<T extends MetadataFacet> |
JcrMetadataRepository.getMetadataFacet(RepositorySession session,
String repositoryId,
Class<T> clazz,
String name) |
List<String> |
JcrMetadataRepository.getMetadataFacets(RepositorySession session,
String repositoryId,
String facetId) |
<T extends MetadataFacet> |
JcrMetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
QueryParameter queryParameter) |
ProjectMetadata |
JcrMetadataRepository.getProject(RepositorySession session,
String repositoryId,
String namespace,
String projectId) |
List<ProjectVersionReference> |
JcrMetadataRepository.getProjectReferences(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
JcrMetadataRepository.getProjects(RepositorySession session,
String repositoryId,
String namespace) |
ProjectVersionMetadata |
JcrMetadataRepository.getProjectVersion(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion) |
List<String> |
JcrMetadataRepository.getProjectVersions(RepositorySession session,
String repositoryId,
String namespace,
String projectId) |
List<String> |
JcrMetadataRepository.getRootNamespaces(RepositorySession session,
String repositoryId) |
boolean |
JcrMetadataRepository.hasMetadataFacet(RepositorySession session,
String repositoryId,
String facetId) |
void |
JcrMetadataRepository.populateStatistics(RepositorySession repositorySession,
MetadataRepository repository,
String repositoryId,
RepositoryStatistics repositoryStatistics) |
void |
JcrMetadataRepository.removeArtifact(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion,
String id) |
void |
JcrMetadataRepository.removeFacetFromArtifact(RepositorySession session,
String repositoryId,
String namespace,
String project,
String projectVersion,
MetadataFacet metadataFacet) |
void |
JcrMetadataRepository.removeMetadataFacet(RepositorySession session,
String repositoryId,
String facetId,
String name) |
void |
JcrMetadataRepository.removeMetadataFacets(RepositorySession session,
String repositoryId,
String facetId) |
void |
JcrMetadataRepository.removeNamespace(RepositorySession session,
String repositoryId,
String projectId) |
void |
JcrMetadataRepository.removeProject(RepositorySession session,
String repositoryId,
String namespace,
String projectId) |
void |
JcrMetadataRepository.removeProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
void |
JcrMetadataRepository.removeRepository(RepositorySession session,
String repositoryId) |
void |
JcrMetadataRepository.removeTimestampedArtifact(RepositorySession session,
ArtifactMetadata artifactMetadata,
String baseVersion) |
List<ArtifactMetadata> |
JcrMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String text,
boolean exact)
Exact is ignored as we can't do exact search in any property, we need a key
|
List<ArtifactMetadata> |
JcrMetadataRepository.searchArtifacts(RepositorySession session,
String repositoryId,
String key,
String text,
boolean exact) |
void |
JcrMetadataRepository.updateArtifact(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
void |
JcrMetadataRepository.updateNamespace(RepositorySession session,
String repositoryId,
String namespace) |
void |
JcrMetadataRepository.updateProject(RepositorySession session,
String repositoryId,
ProjectMetadata project) |
void |
JcrMetadataRepository.updateProjectVersion(RepositorySession session,
String repositoryId,
String namespace,
String projectId,
ProjectVersionMetadata versionMetadata) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryWalkingStatisticsProvider.populateStatistics(RepositorySession repositorySession,
MetadataRepository metadataRepository,
String repositoryId,
RepositoryStatistics repositoryStatistics)
Walks each namespace of the given repository id and counts the artifacts.
|
void |
RepositoryStatisticsProvider.populateStatistics(RepositorySession repositorySession,
MetadataRepository repository,
String repositoryId,
RepositoryStatistics statistics)
Populate the statistics object with the statistics data of this repository.
|
Modifier and Type | Method and Description |
---|---|
RepositorySession |
MockRepositorySessionFactory.createSession() |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryProblemEventListener.addArtifact(RepositorySession session,
String repoId,
String namespace,
String projectId,
ProjectVersionMetadata metadata) |
void |
RepositoryProblemEventListener.addArtifactProblem(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion,
RepositoryStorageMetadataException exception) |
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.