Delete ProjectAdminService visibleProjects, suggestParentCandidates
This has been replaced by the REST API /projects/ and is not necessary anymore. Clients should use the REST API over HTTP, and the `gerrit ls-projects` API over SSH. Change-Id: I22ea50c77a07de3ac635b2567d5b7b6aa6697459
This commit is contained in:
		| @@ -28,10 +28,7 @@ import java.util.Set; | ||||
|  | ||||
| @RpcImpl(version = Version.V2_0) | ||||
| public interface ProjectAdminService extends RemoteJsonService { | ||||
|   void visibleProjects(AsyncCallback<ProjectList> callback); | ||||
|  | ||||
|   void visibleProjectDetails(AsyncCallback<List<ProjectDetail>> callback); | ||||
|   void suggestParentCandidates(AsyncCallback<List<Project>> callback); | ||||
|  | ||||
|   void projectDetail(Project.NameKey projectName, | ||||
|       AsyncCallback<ProjectDetail> callback); | ||||
|   | ||||
| @@ -1,43 +0,0 @@ | ||||
| // Copyright (C) 2011 The Android Open Source Project | ||||
| // | ||||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| // you may not use this file except in compliance with the License. | ||||
| // You may obtain a copy of the License at | ||||
| // | ||||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||||
| // | ||||
| // Unless required by applicable law or agreed to in writing, software | ||||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| // See the License for the specific language governing permissions and | ||||
| // limitations under the License | ||||
|  | ||||
| package com.google.gerrit.common.data; | ||||
|  | ||||
| import com.google.gerrit.reviewdb.client.Project; | ||||
|  | ||||
| import java.util.List; | ||||
|  | ||||
| public class ProjectList { | ||||
|   protected List<Project> projects; | ||||
|   protected boolean canCreateProject; | ||||
|  | ||||
|   public ProjectList() { | ||||
|   } | ||||
|  | ||||
|   public List<Project> getProjects() { | ||||
|     return projects; | ||||
|   } | ||||
|  | ||||
|   public void setProjects(List<Project> projects) { | ||||
|     this.projects = projects; | ||||
|   } | ||||
|  | ||||
|   public boolean canCreateProject() { | ||||
|     return canCreateProject; | ||||
|   } | ||||
|  | ||||
|   public void setCanCreateProject(boolean canCreateProject) { | ||||
|     this.canCreateProject = canCreateProject; | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Shawn O. Pearce
					Shawn O. Pearce