|
|||||||||
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)
RepositoryBrowsing
BrowsingResults
for the root of the repository.
getRoot
in interface RepositoryBrowsing
RepositoryBrowsing.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)
RepositoryBrowsing
BrowsingResults
for the selected groupId & artifactId.
selectArtifactId
in interface RepositoryBrowsing
groupId
- 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)
RepositoryBrowsing
BrowsingResults
for the selected groupId.
selectGroupId
in interface RepositoryBrowsing
groupId
- 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
RepositoryBrowsing
ArchivaProjectModel
for the selected groupId / artifactId / version combo.
selectVersion
in interface RepositoryBrowsing
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.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 RepositoryBrowsing
ObjectNotFoundException
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 RepositoryBrowsing
ObjectNotFoundException
ArchivaDatabaseException
RepositoryBrowsing.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
RepositoryBrowsing
List
of ArchivaProjectModel
that are used by the provided
groupId, artifactId, and version specified.
getUsedBy
in interface RepositoryBrowsing
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |