Modifier and Type | Method and Description |
---|---|
void |
AuditManager.addAuditEvent(MetadataRepository repository,
AuditEvent event) |
void |
DefaultAuditManager.addAuditEvent(MetadataRepository repository,
AuditEvent event) |
void |
AuditManager.deleteAuditEvents(MetadataRepository metadataRepository,
String repositoryId) |
void |
DefaultAuditManager.deleteAuditEvents(MetadataRepository metadataRepository,
String repositoryId) |
List<AuditEvent> |
AuditManager.getAuditEventsInRange(MetadataRepository metadataRepository,
Collection<String> repositoryIds,
Date startTime,
Date endTime)
Get all audit events from the given repositories that match a certain range
|
List<AuditEvent> |
DefaultAuditManager.getAuditEventsInRange(MetadataRepository metadataRepository,
Collection<String> repositoryIds,
Date startTime,
Date endTime) |
List<AuditEvent> |
AuditManager.getAuditEventsInRange(MetadataRepository metadataRepository,
Collection<String> repositoryIds,
String resourcePattern,
Date startTime,
Date endTime)
Get all audit events from the given repositories that match a certain range and resource pattern
|
List<AuditEvent> |
DefaultAuditManager.getAuditEventsInRange(MetadataRepository metadataRepository,
Collection<String> repositoryIds,
String resource,
Date startTime,
Date endTime) |
List<AuditEvent> |
AuditManager.getMostRecentAuditEvents(MetadataRepository metadataRepository,
List<String> repositoryIds) |
List<AuditEvent> |
DefaultAuditManager.getMostRecentAuditEvents(MetadataRepository metadataRepository,
List<String> repositoryIds) |
Modifier and Type | Method and Description |
---|---|
private void |
AbstractRepositoryPurge.removeArtifact(MetadataRepository metadataRepository,
AbstractRepositoryPurge.ArtifactInfo artifactInfo,
ArtifactMetadata artifactMetadata) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRepository.addMetadataFacet(String repositoryId,
MetadataFacet metadataFacet) |
void |
AbstractMetadataRepository.addMetadataFacet(String repositoryId,
MetadataFacet metadataFacet) |
void |
MetadataRepository.close() |
void |
AbstractMetadataRepository.close() |
List<ArtifactMetadata> |
MetadataRepository.getArtifacts(String repositoryId) |
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifacts(String repositoryId) |
Collection<ArtifactMetadata> |
MetadataRepository.getArtifactsByChecksum(String repositoryId,
String checksum) |
Collection<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByChecksum(String repositoryId,
String checksum) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByDateRange(String repositoryId,
Date startTime,
Date endTime)
if startTime or endTime are
null they are not used for search |
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByDateRange(String repositoryId,
Date startTime,
Date endTime) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByMetadata(String key,
String value,
String repositoryId)
Get artifacts with an artifact metadata key that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByProjectVersionMetadata(String key,
String value,
String repositoryId)
Get artifacts with a project version metadata key that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByProjectVersionMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
MetadataRepository.getArtifactsByProperty(String key,
String value,
String repositoryId)
Get artifacts with a property key that matches the passed value.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.getArtifactsByProperty(String key,
String value,
String repositoryId) |
MetadataFacet |
MetadataRepository.getMetadataFacet(String repositoryId,
String facetId,
String name) |
MetadataFacet |
AbstractMetadataRepository.getMetadataFacet(String repositoryId,
String facetId,
String name) |
List<String> |
MetadataRepository.getMetadataFacets(String repositoryId,
String facetId) |
List<String> |
AbstractMetadataRepository.getMetadataFacets(String repositoryId,
String facetId) |
Collection<String> |
MetadataRepository.getRepositories() |
Collection<String> |
AbstractMetadataRepository.getRepositories() |
boolean |
MetadataRepository.hasMetadataFacet(String repositoryId,
String facetId) |
boolean |
AbstractMetadataRepository.hasMetadataFacet(String repositoryId,
String facetId) |
<T> T |
MetadataRepository.obtainAccess(Class<T> aClass) |
<T> T |
AbstractMetadataRepository.obtainAccess(Class<T> aClass) |
void |
MetadataRepository.removeArtifact(ArtifactMetadata artifactMetadata,
String baseVersion)
used for deleting timestamped version of SNAPSHOT artifacts
|
void |
AbstractMetadataRepository.removeArtifact(ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
MetadataRepository.removeArtifact(String repositoryId,
String namespace,
String project,
String version,
MetadataFacet metadataFacet)
FIXME need a unit test!!!
Only remove
MetadataFacet for the artifact |
void |
AbstractMetadataRepository.removeArtifact(String repositoryId,
String namespace,
String project,
String version,
MetadataFacet metadataFacet) |
void |
MetadataRepository.removeArtifact(String repositoryId,
String namespace,
String project,
String version,
String id) |
void |
AbstractMetadataRepository.removeArtifact(String repositoryId,
String namespace,
String project,
String version,
String id) |
void |
MetadataRepository.removeMetadataFacet(String repositoryId,
String facetId,
String name) |
void |
AbstractMetadataRepository.removeMetadataFacet(String repositoryId,
String facetId,
String name) |
void |
MetadataRepository.removeMetadataFacets(String repositoryId,
String facetId) |
void |
AbstractMetadataRepository.removeMetadataFacets(String repositoryId,
String facetId) |
void |
MetadataRepository.removeNamespace(String repositoryId,
String namespace) |
void |
AbstractMetadataRepository.removeNamespace(String repositoryId,
String namespace) |
void |
MetadataRepository.removeProject(String repositoryId,
String namespace,
String projectId)
remove a project
|
void |
AbstractMetadataRepository.removeProject(String repositoryId,
String namespace,
String projectId) |
void |
MetadataRepository.removeProjectVersion(String repoId,
String namespace,
String projectId,
String projectVersion) |
void |
AbstractMetadataRepository.removeProjectVersion(String repoId,
String namespace,
String projectId,
String projectVersion) |
void |
MetadataRepository.removeRepository(String repositoryId)
Delete a repository's metadata.
|
void |
AbstractMetadataRepository.removeRepository(String repositoryId) |
List<ArtifactMetadata> |
MetadataRepository.searchArtifacts(String text,
String repositoryId,
boolean exact)
Full text artifacts search.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.searchArtifacts(String text,
String repositoryId,
boolean exact) |
List<ArtifactMetadata> |
MetadataRepository.searchArtifacts(String key,
String text,
String repositoryId,
boolean exact)
Full text artifacts search inside the specified key.
|
List<ArtifactMetadata> |
AbstractMetadataRepository.searchArtifacts(String key,
String text,
String repositoryId,
boolean exact) |
void |
MetadataRepository.updateArtifact(String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
void |
AbstractMetadataRepository.updateArtifact(String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
void |
MetadataRepository.updateNamespace(String repositoryId,
String namespace)
create the namespace in the repository.
|
void |
AbstractMetadataRepository.updateNamespace(String repositoryId,
String namespace) |
void |
MetadataRepository.updateProject(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(String repositoryId,
ProjectMetadata project) |
void |
MetadataRepository.updateProjectVersion(String repositoryId,
String namespace,
String projectId,
ProjectVersionMetadata versionMetadata) |
void |
AbstractMetadataRepository.updateProjectVersion(String repositoryId,
String namespace,
String projectId,
ProjectVersionMetadata versionMetadata) |
Modifier and Type | Method and Description |
---|---|
void |
CassandraMetadataRepository.addMetadataFacet(String repositoryId,
MetadataFacet metadataFacet) |
void |
CassandraMetadataRepository.close() |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifacts(String repositoryId) |
Collection<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByChecksum(String repositoryId,
String checksum) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByDateRange(String repositoryId,
Date startTime,
Date endTime) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByProjectVersionMetadata(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
CassandraMetadataRepository.getArtifactsByMetadata(String, String, String) |
List<ArtifactMetadata> |
CassandraMetadataRepository.getArtifactsByProperty(String key,
String value,
String repositoryId) |
MetadataFacet |
CassandraMetadataRepository.getMetadataFacet(String repositoryId,
String facetId,
String name) |
List<String> |
CassandraMetadataRepository.getMetadataFacets(String repositoryId,
String facetId) |
Repository |
CassandraMetadataRepository.getOrCreateRepository(String repositoryId)
if the repository doesn't exist it will be created
|
Collection<String> |
CassandraMetadataRepository.getRepositories() |
protected Repository |
CassandraMetadataRepository.getRepository(String repositoryId) |
boolean |
CassandraMetadataRepository.hasMetadataFacet(String repositoryId,
String facetId) |
<T> T |
CassandraMetadataRepository.obtainAccess(Class<T> aClass) |
void |
CassandraMetadataRepository.removeArtifact(ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
CassandraMetadataRepository.removeArtifact(String repositoryId,
String namespace,
String project,
String version,
MetadataFacet metadataFacet) |
void |
CassandraMetadataRepository.removeArtifact(String repositoryId,
String namespace,
String project,
String version,
String id) |
void |
CassandraMetadataRepository.removeMetadataFacet(String repositoryId,
String facetId,
String name) |
void |
CassandraMetadataRepository.removeMetadataFacets(String repositoryId,
String facetId) |
void |
CassandraMetadataRepository.removeNamespace(String repositoryId,
String namespaceId) |
void |
CassandraMetadataRepository.removeProject(String repositoryId,
String namespaceId,
String projectId) |
void |
CassandraMetadataRepository.removeProjectVersion(String repoId,
String namespace,
String projectId,
String projectVersion) |
void |
CassandraMetadataRepository.removeRepository(String repositoryId) |
List<ArtifactMetadata> |
CassandraMetadataRepository.searchArtifacts(String text,
String repositoryId,
boolean exact)
This implementation just calls getArtifactsByMetadata( null, text, repositoryId ).
|
List<ArtifactMetadata> |
CassandraMetadataRepository.searchArtifacts(String key,
String text,
String repositoryId,
boolean exact)
The exact parameter is ignored as we can't do non exact searches in Cassandra
|
void |
CassandraMetadataRepository.updateArtifact(String repositoryId,
String namespaceId,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
void |
CassandraMetadataRepository.updateNamespace(String repositoryId,
String namespaceId) |
private Namespace |
CassandraMetadataRepository.updateOrAddNamespace(String repositoryId,
String namespaceId) |
void |
CassandraMetadataRepository.updateProject(String repositoryId,
ProjectMetadata projectMetadata) |
void |
CassandraMetadataRepository.updateProjectVersion(String repositoryId,
String namespaceId,
String projectId,
ProjectVersionMetadata versionMetadata) |
Modifier and Type | Method and Description |
---|---|
List<ArtifactMetadata> |
FileMetadataRepository.getArtifacts(String repoId) |
private void |
FileMetadataRepository.getArtifactsByChecksum(List<ArtifactMetadata> artifacts,
String repositoryId,
String ns,
String checksum) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByChecksum(String repositoryId,
String checksum) |
private void |
FileMetadataRepository.getArtifactsByDateRange(List<ArtifactMetadata> artifacts,
String repoId,
String ns,
Date startTime,
Date endTime) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByDateRange(String repoId,
Date startTime,
Date endTime) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByProjectVersionMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
FileMetadataRepository.getArtifactsByProperty(String key,
String value,
String repositoryId) |
List<String> |
FileMetadataRepository.getMetadataFacets(String repoId,
String facetId) |
boolean |
FileMetadataRepository.hasMetadataFacet(String repositoryId,
String facetId) |
void |
FileMetadataRepository.removeArtifact(ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
FileMetadataRepository.removeArtifact(String repositoryId,
String namespace,
String project,
String projectVersion,
MetadataFacet metadataFacet)
FIXME implements this !!!!
|
void |
FileMetadataRepository.removeArtifact(String repoId,
String namespace,
String project,
String version,
String id) |
void |
FileMetadataRepository.removeMetadataFacet(String repoId,
String facetId,
String name) |
void |
FileMetadataRepository.removeMetadataFacets(String repositoryId,
String facetId) |
void |
FileMetadataRepository.removeNamespace(String repositoryId,
String project) |
void |
FileMetadataRepository.removeProject(String repositoryId,
String namespace,
String projectId) |
void |
FileMetadataRepository.removeProjectVersion(String repoId,
String namespace,
String projectId,
String projectVersion) |
void |
FileMetadataRepository.removeRepository(String repoId) |
List<ArtifactMetadata> |
FileMetadataRepository.searchArtifacts(String text,
String repositoryId,
boolean exact) |
List<ArtifactMetadata> |
FileMetadataRepository.searchArtifacts(String key,
String text,
String repositoryId,
boolean exact) |
Modifier and Type | Method and Description |
---|---|
void |
JcrMetadataRepository.addMetadataFacet(String repositoryId,
MetadataFacet metadataFacet) |
void |
JcrMetadataRepository.close() |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifacts(String repositoryId) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByChecksum(String repositoryId,
String checksum) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByDateRange(String repoId,
Date startTime,
Date endTime) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByProjectVersionMetadata(String key,
String value,
String repositoryId) |
List<ArtifactMetadata> |
JcrMetadataRepository.getArtifactsByProperty(String key,
String value,
String repositoryId) |
MetadataFacet |
JcrMetadataRepository.getMetadataFacet(String repositoryId,
String facetId,
String name) |
List<String> |
JcrMetadataRepository.getMetadataFacets(String repositoryId,
String facetId) |
Collection<String> |
JcrMetadataRepository.getRepositories() |
boolean |
JcrMetadataRepository.hasMetadataFacet(String repositoryId,
String facetId) |
<T> T |
JcrMetadataRepository.obtainAccess(Class<T> aClass) |
void |
JcrMetadataRepository.removeArtifact(ArtifactMetadata artifactMetadata,
String baseVersion) |
void |
JcrMetadataRepository.removeArtifact(String repositoryId,
String namespace,
String project,
String projectVersion,
MetadataFacet metadataFacet) |
void |
JcrMetadataRepository.removeArtifact(String repositoryId,
String namespace,
String projectId,
String projectVersion,
String id) |
void |
JcrMetadataRepository.removeMetadataFacet(String repositoryId,
String facetId,
String name) |
void |
JcrMetadataRepository.removeMetadataFacets(String repositoryId,
String facetId) |
void |
JcrMetadataRepository.removeNamespace(String repositoryId,
String projectId) |
void |
JcrMetadataRepository.removeProject(String repositoryId,
String namespace,
String projectId) |
void |
JcrMetadataRepository.removeProjectVersion(String repoId,
String namespace,
String projectId,
String projectVersion) |
void |
JcrMetadataRepository.removeRepository(String repositoryId) |
private List<ArtifactMetadata> |
JcrMetadataRepository.runJcrQuery(String repositoryId,
String q,
Map<String,String> bindings) |
List<ArtifactMetadata> |
JcrMetadataRepository.searchArtifacts(String text,
String repositoryId,
boolean exact)
Exact is ignored as we can't do exact search in any property, we need a key
|
List<ArtifactMetadata> |
JcrMetadataRepository.searchArtifacts(String key,
String text,
String repositoryId,
boolean exact) |
void |
JcrMetadataRepository.updateArtifact(String repositoryId,
String namespace,
String projectId,
String projectVersion,
ArtifactMetadata artifactMeta) |
void |
JcrMetadataRepository.updateNamespace(String repositoryId,
String namespace) |
void |
JcrMetadataRepository.updateProject(String repositoryId,
ProjectMetadata project) |
private void |
JcrMetadataRepository.updateProject(String repositoryId,
String namespace,
String projectId) |
void |
JcrMetadataRepository.updateProjectVersion(String repositoryId,
String namespace,
String projectId,
ProjectVersionMetadata versionMetadata) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultRepositoryStatisticsManager.addStatisticsAfterScan(MetadataRepository metadataRepository,
String repositoryId,
Date startTime,
Date endTime,
long totalFiles,
long newFiles) |
void |
RepositoryStatisticsManager.addStatisticsAfterScan(MetadataRepository metadataRepository,
String repositoryId,
Date startTime,
Date endTime,
long totalFiles,
long newFiles) |
void |
DefaultRepositoryStatisticsManager.deleteStatistics(MetadataRepository metadataRepository,
String repositoryId) |
void |
RepositoryStatisticsManager.deleteStatistics(MetadataRepository metadataRepository,
String repositoryId) |
RepositoryStatistics |
DefaultRepositoryStatisticsManager.getLastStatistics(MetadataRepository metadataRepository,
String repositoryId) |
RepositoryStatistics |
RepositoryStatisticsManager.getLastStatistics(MetadataRepository metadataRepository,
String repositoryId) |
List<RepositoryStatistics> |
DefaultRepositoryStatisticsManager.getStatisticsInRange(MetadataRepository metadataRepository,
String repositoryId,
Date startTime,
Date endTime) |
List<RepositoryStatistics> |
RepositoryStatisticsManager.getStatisticsInRange(MetadataRepository metadataRepository,
String repositoryId,
Date startTime,
Date endTime) |
boolean |
DefaultRepositoryStatisticsManager.hasStatistics(MetadataRepository metadataRepository,
String repositoryId) |
boolean |
RepositoryStatisticsManager.hasStatistics(MetadataRepository metadataRepository,
String repositoryId) |
private void |
DefaultRepositoryStatisticsManager.populateStatisticsFromJcr(javax.jcr.Session session,
String repositoryId,
RepositoryStatistics repositoryStatistics) |
private void |
DefaultRepositoryStatisticsManager.populateStatisticsFromRepositoryWalk(MetadataRepository metadataRepository,
String repositoryId,
RepositoryStatistics repositoryStatistics) |
Modifier and Type | Method and Description |
---|---|
private boolean |
DefaultRepositoryArchivaTaskScheduler.isPreviouslyScanned(ManagedRepositoryConfiguration repoConfig,
MetadataRepository metadataRepository) |
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.