diff --git a/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdmin.java index a2889dd18..c29bd56dc 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/src/main/java/org/apache/archiva/admin/repository/remote/RemoteRepositoryAdmin.java @@ -19,10 +19,29 @@ package org.apache.archiva.admin.repository.remote; */ +import org.apache.archiva.admin.repository.RepositoryAdminException; + +import java.util.List; + /** * @author Olivier Lamy * @since 1.4 */ public interface RemoteRepositoryAdmin { + List getRemoteRepositories() + throws RepositoryAdminException; + + RemoteRepository getRemoteRepository( String repositoryId ) + throws RepositoryAdminException; + + Boolean deleteRemoteRepository( String repositoryId ) + throws RepositoryAdminException; + + Boolean addRemoteRepository( RemoteRepository remoteRepository ) + throws RepositoryAdminException; + + + Boolean updateRemoteRepository( RemoteRepository remoteRepository ) + throws RepositoryAdminException; }