|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.maven.archiva.database.browsing.DefaultRepositoryBrowsing
public class DefaultRepositoryBrowsing
DefaultRepositoryBrowsing
| Constructor Summary | |
|---|---|
DefaultRepositoryBrowsing()
|
|
| 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 principal,
java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
|
BrowsingResults |
getRoot(java.lang.String principal,
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 principal,
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 principal,
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 principal,
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 principal,
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRepositoryBrowsing()
| Method Detail |
|---|
public BrowsingResults getRoot(java.lang.String principal,
java.util.List<java.lang.String> observableRepositoryIds)
RepositoryBrowsingBrowsingResults for the root of the repository.
getRoot in interface RepositoryBrowsingRepositoryBrowsing.getRoot(String, List)
public BrowsingResults selectArtifactId(java.lang.String principal,
java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId,
java.lang.String artifactId)
RepositoryBrowsingBrowsingResults for the selected groupId & artifactId.
selectArtifactId in interface RepositoryBrowsinggroupId - the groupId selectedartifactId - the artifactId selected
BrowsingResults for the specified groupId / artifactId combo.RepositoryBrowsing.selectArtifactId(String, List, String, String)
public BrowsingResults selectGroupId(java.lang.String principal,
java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId)
RepositoryBrowsingBrowsingResults for the selected groupId.
selectGroupId in interface RepositoryBrowsinggroupId - the groupId to select.
BrowsingResults for the specified groupId.RepositoryBrowsing.selectGroupId(String, List, String)
public org.apache.maven.archiva.model.ArchivaProjectModel selectVersion(java.lang.String principal,
java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
throws ObjectNotFoundException,
ArchivaDatabaseException
RepositoryBrowsingArchivaProjectModel for the selected groupId / artifactId / version combo.
selectVersion in interface RepositoryBrowsinggroupId - 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.RepositoryBrowsing.selectVersion(String, List, String, String, String)
public java.lang.String getRepositoryId(java.lang.String principal,
java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
throws ObjectNotFoundException,
ArchivaDatabaseException
getRepositoryId in interface RepositoryBrowsingObjectNotFoundException
ArchivaDatabaseException
public 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
RepositoryBrowsing
getOtherSnapshotVersions in interface RepositoryBrowsingObjectNotFoundException
ArchivaDatabaseExceptionRepositoryBrowsing.getOtherSnapshotVersions(List, String, String, String)
public java.util.List<org.apache.maven.archiva.model.ArchivaProjectModel> getUsedBy(java.lang.String principal,
java.util.List<java.lang.String> observableRepositoryIds,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
throws ArchivaDatabaseException
RepositoryBrowsingList of ArchivaProjectModel that are used by the provided
groupId, artifactId, and version specified.
getUsedBy in interface RepositoryBrowsinggroupId - 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||