Modifier and Type | Method and Description |
---|---|
void |
DefaultAuditManager.addAuditEvent(MetadataRepository repository,
AuditEvent event) |
void |
AuditManager.addAuditEvent(MetadataRepository repository,
AuditEvent event) |
void |
DefaultAuditManager.deleteAuditEvents(MetadataRepository metadataRepository,
String repositoryId) |
void |
AuditManager.deleteAuditEvents(MetadataRepository metadataRepository,
String repositoryId) |
List<AuditEvent> |
DefaultAuditManager.getAuditEventsInRange(MetadataRepository metadataRepository,
Collection<String> repositoryIds,
Date startTime,
Date endTime) |
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,
String resource,
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.getMostRecentAuditEvents(MetadataRepository metadataRepository,
List<String> repositoryIds) |
List<AuditEvent> |
AuditManager.getMostRecentAuditEvents(MetadataRepository metadataRepository,
List<String> repositoryIds) |
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) |
void |
MetadataRepository.close()
Closes the repository.
|
void |
AbstractMetadataRepository.close() |
RepositorySession |
RepositorySessionFactory.createSession() |
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.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) |
<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) |
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) |
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 |
---|---|
void |
CassandraMetadataRepository.addMetadataFacet(RepositorySession session,
String repositoryId,
MetadataFacet metadataFacet) |
void |
CassandraMetadataRepository.close() |
RepositorySession |
CassandraRepositorySessionFactory.createSession() |
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.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) |
<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.
|
Repository |
CassandraMetadataRepository.getOrCreateRepository(String repositoryId)
if the repository doesn't exist it will be created
|
protected Repository |
CassandraMetadataRepository.getRepository(String repositoryId) |
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() |
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.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) |
List<String> |
FileMetadataRepository.getMetadataFacets(RepositorySession session,
String repoId,
String facetId) |
<T extends MetadataFacet> |
FileMetadataRepository.getMetadataFacetStream(RepositorySession session,
String repositoryId,
Class<T> facetClazz,
QueryParameter queryParameter) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
JcrMetadataRepository.addMetadataFacet(RepositorySession session,
String repositoryId,
MetadataFacet metadataFacet) |
void |
JcrMetadataRepository.close() |
RepositorySession |
JcrRepositorySessionFactory.createSession() |
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.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) |
<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) |
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.runJcrQuery(javax.jcr.Session jcrSession,
String repositoryId,
String q,
Map<String,String> bindingParam) |
List<ArtifactMetadata> |
JcrMetadataRepository.runJcrQuery(javax.jcr.Session jcrSession,
String repositoryId,
String qParam,
Map<String,String> bindingParam,
boolean checkPath) |
javax.jcr.query.QueryResult |
JcrMetadataRepository.runNativeJcrQuery(javax.jcr.Session jcrSession,
String q,
Map<String,String> bindingParam) |
javax.jcr.query.QueryResult |
JcrMetadataRepository.runNativeJcrQuery(javax.jcr.Session jcrSession,
String q,
Map<String,String> bindingParam,
long offset,
long maxEntries) |
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 |
DefaultRepositoryStatisticsManager.addStatisticsAfterScan(String repositoryId,
Date startTime,
Date endTime,
long totalFiles,
long newFiles) |
void |
DefaultRepositoryStatisticsManager.deleteStatistics(String repositoryId) |
RepositoryStatistics |
DefaultRepositoryStatisticsManager.getLastStatistics(String repositoryId) |
List<RepositoryStatistics> |
DefaultRepositoryStatisticsManager.getStatisticsInRange(String repositoryId,
Date startTime,
Date endTime) |
boolean |
DefaultRepositoryStatisticsManager.hasStatistics(String repositoryId) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryStatisticsManager.addStatisticsAfterScan(String repositoryId,
Date startTime,
Date endTime,
long totalFiles,
long newFiles) |
void |
RepositoryStatisticsManager.deleteStatistics(String repositoryId) |
RepositoryStatistics |
RepositoryStatisticsManager.getLastStatistics(String repositoryId) |
List<RepositoryStatistics> |
RepositoryStatisticsManager.getStatisticsInRange(String repositoryId,
Date startTime,
Date endTime) |
boolean |
RepositoryStatisticsManager.hasStatistics(String repositoryId) |
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() |
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.