| Package | Description |
|---|---|
| org.overlord.sramp.client |
| Modifier and Type | Method and Description |
|---|---|
AuditEntry |
SrampAtomApiClient.addAuditEntry(String artifactUuid,
AuditEntry auditEntry)
Adds a new audit entry on the artifact with the given UUID.
|
BaseArtifactType |
SrampAtomApiClient.createArtifact(BaseArtifactType artifact)
Creates a new artifact in the S-RAMP repository.
|
void |
SrampAtomApiClient.deleteArtifact(String uuid,
ArtifactType type)
Delets an artifact from the s-ramp repository.
|
void |
SrampAtomApiClient.deleteOntology(String ontologyUuid)
Deletes a single ontology by its UUID.
|
InputStream |
SrampAtomApiClient.getArtifactContent(ArtifactSummary artifact)
Convenience method for getting the artifact content given an artifact summary (which are typically
returned when performing s-ramp queries).
|
InputStream |
SrampAtomApiClient.getArtifactContent(ArtifactType artifactType,
String artifactUuid)
Gets the content for an artifact as an input stream.
|
BaseArtifactType |
SrampAtomApiClient.getArtifactMetaData(ArtifactSummary artifact)
Convenience method to get the artifact meta-data given an artifact summary (which are typically
returned when performing s-ramp queries).
|
BaseArtifactType |
SrampAtomApiClient.getArtifactMetaData(ArtifactType artifactType,
String artifactUuid)
Gets the full meta-data listing for an Artifact in the S-RAMP repository.
|
BaseArtifactType |
SrampAtomApiClient.getArtifactMetaData(String artifactUuid)
Gets the full meta-data listing for an Artifact in the S-RAMP repository.
|
AuditEntry |
SrampAtomApiClient.getAuditEntry(String artifactUuid,
String auditEntryUuid)
Gets the full audit entry for the given artifact + audit event pair.
|
AuditResultSet |
SrampAtomApiClient.getAuditTrailForArtifact(String artifactUuid)
Gets the audit trail for the artifact with the given UUID.
|
AuditResultSet |
SrampAtomApiClient.getAuditTrailForArtifact(String artifactUuid,
int startIndex,
int count)
Gets the audit trail for the artifact with the given UUID.
|
AuditResultSet |
SrampAtomApiClient.getAuditTrailForUser(String username)
Gets the audit trail for the artifact with the given UUID.
|
AuditResultSet |
SrampAtomApiClient.getAuditTrailForUser(String username,
int startIndex,
int count)
Gets the audit trail for the artifact with the given UUID.
|
List<OntologySummary> |
SrampAtomApiClient.getOntologies()
Gets a list of all the ontologies currently installed in the S-RAMP repository.
|
RDF |
SrampAtomApiClient.getOntology(String ontologyUuid)
Gets a single ontology by UUID.
|
org.jboss.resteasy.plugins.providers.atom.app.AppService |
SrampAtomApiClient.getServiceDocument()
Gets the S-RAMP service document.
|
QueryResultSet |
SrampClientQuery.query()
Formats the query given the replacement params, then issues the query
to the S-RAMP repository and returns the result.
|
QueryResultSet |
SrampAtomApiClient.query(String srampQuery)
Provides a very simple mechanism for querying.
|
QueryResultSet |
SrampAtomApiClient.query(String srampQuery,
int startIndex,
int count,
String orderBy,
boolean ascending)
Executes the given s-ramp query xpath and returns a Feed of the matching artifacts.
|
QueryResultSet |
SrampAtomApiClient.query(String srampQuery,
int startIndex,
int count,
String orderBy,
boolean ascending,
Collection<String> propertyNames)
Executes the given s-ramp query xpath and returns a Feed of the matching artifacts.
|
void |
SrampAtomApiClient.updateArtifactContent(BaseArtifactType artifact,
InputStream content)
Updates the content of the artifact.
|
void |
SrampAtomApiClient.updateArtifactMetaData(BaseArtifactType artifact)
Called to update the meta-data stored in the s-ramp repository for the given s-ramp
artifact.
|
BaseArtifactType |
SrampAtomApiClient.uploadArtifact(ArtifactType artifactType,
InputStream content,
String artifactFileName)
Creates a new artifact in the repository by uploading a document.
|
BaseArtifactType |
SrampAtomApiClient.uploadArtifact(BaseArtifactType baseArtifactType,
InputStream content)
Creates a new artifact in the repository by uploading a document.
|
Map<String,?> |
SrampAtomApiClient.uploadBatch(SrampArchive archive)
Performs a batch operation by uploading an s-ramp package archive to the s-ramp server
for processing.
|
RDF |
SrampAtomApiClient.uploadOntology(InputStream content)
Uploads an ontology to the S-RAMP repository.
|
| Constructor and Description |
|---|
SrampAtomApiClient(String endpoint,
AuthenticationProvider authenticationProvider,
boolean validating)
Constructor.
|
SrampAtomApiClient(String endpoint,
boolean validating)
Constructor.
|
SrampAtomApiClient(String endpoint,
String username,
String password,
boolean validating)
Constructor.
|
Copyright © 2011–2013 JBoss, a division of Red Hat. All rights reserved.