write methods for interface RemoteRepositoryAdmin

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-08-23 12:30:26 +00:00
parent 0f0a3486c9
commit 97f001e967
1 changed files with 19 additions and 0 deletions

View File

@ -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<RemoteRepository> 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;
}