|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryBrowsing
Repository Browsing component
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getOtherSnapshotVersions(java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
Get the other versions of the given SNAPSHOT version. |
java.lang.String |
getRepositoryId(java.lang.String principle,
java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
|
BrowsingResults |
getRoot(java.lang.String principle,
java.util.List<java.lang.String> observableRepositoryIds)
Get the BrowsingResults for the root of the repository. |
java.util.List<org.apache.maven.archiva.model.ArchivaProjectModel> |
getUsedBy(java.lang.String principle,
java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
Get the List of ArchivaProjectModel that are used by the provided
groupId, artifactId, and version specified. |
BrowsingResults |
selectArtifactId(java.lang.String principle,
java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId,
java.lang.String artifactId)
Get the BrowsingResults for the selected groupId & artifactId. |
BrowsingResults |
selectGroupId(java.lang.String principle,
java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId)
Get the BrowsingResults for the selected groupId. |
org.apache.maven.archiva.model.ArchivaProjectModel |
selectVersion(java.lang.String principle,
java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
Get the ArchivaProjectModel for the selected groupId / artifactId / version combo. |
Method Detail |
---|
BrowsingResults getRoot(java.lang.String principle, java.util.List<java.lang.String> observableRepositoryIds)
BrowsingResults
for the root of the repository.
BrowsingResults selectGroupId(java.lang.String principle, java.util.List<java.lang.String> observableRepositoryIds, java.lang.String groupId)
BrowsingResults
for the selected groupId.
groupId
- the groupId to select.
BrowsingResults
for the specified groupId.BrowsingResults selectArtifactId(java.lang.String principle, java.util.List<java.lang.String> observableRepositoryIds, java.lang.String groupId, java.lang.String artifactId)
BrowsingResults
for the selected groupId & artifactId.
groupId
- the groupId selectedartifactId
- the artifactId selected
BrowsingResults
for the specified groupId / artifactId combo.org.apache.maven.archiva.model.ArchivaProjectModel selectVersion(java.lang.String principle, java.util.List<java.lang.String> observableRepositoryIds, java.lang.String groupId, java.lang.String artifactId, java.lang.String version) throws ObjectNotFoundException, ArchivaDatabaseException
ArchivaProjectModel
for the selected groupId / artifactId / version combo.
groupId
- the groupId selectedartifactId
- the artifactId selectedversion
- the version selected
ArchivaProjectModel
for the selected groupId / artifactId / version combo.
ObjectNotFoundException
- if the artifact object or project object isn't found in the database.
ArchivaDatabaseException
- if there is a fundamental database error.java.util.List<org.apache.maven.archiva.model.ArchivaProjectModel> getUsedBy(java.lang.String principle, java.util.List<java.lang.String> observableRepositoryIds, java.lang.String groupId, java.lang.String artifactId, java.lang.String version) throws ArchivaDatabaseException
List
of ArchivaProjectModel
that are used by the provided
groupId, artifactId, and version specified.
groupId
- the groupId selectedartifactId
- the artifactId selectedversion
- the version selected
List
of ArchivaProjectModel
objects. (never null, but can be empty)
ArchivaDatabaseException
- if there is a fundamental database error.java.lang.String getRepositoryId(java.lang.String principle, java.util.List<java.lang.String> observableRepositoryIds, java.lang.String groupId, java.lang.String artifactId, java.lang.String version) throws ObjectNotFoundException, ArchivaDatabaseException
ObjectNotFoundException
ArchivaDatabaseException
java.util.List<java.lang.String> getOtherSnapshotVersions(java.util.List<java.lang.String> observableRepositoryIds, java.lang.String groupId, java.lang.String artifactId, java.lang.String version) throws ObjectNotFoundException, ArchivaDatabaseException
observableRepositoryIds
- groupId
- artifactId
- version
-
ObjectNotFoundException
ArchivaDatabaseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |