From 97f001e967184eb422c44b64f480a40694f46864 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 23 Aug 2011 12:30:26 +0000 Subject: [PATCH] write methods for interface RemoteRepositoryAdmin git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160658 13f79535-47bb-0310-9956-ffa450edef68 --- .../remote/RemoteRepositoryAdmin.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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; } -- 2.39.5