26 lines
908 B
Java
26 lines
908 B
Java
package org.gcube.portlets.widgets.githubconnector.client.rpc;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import org.gcube.portlets.widgets.githubconnector.shared.exception.ServiceException;
|
|
import org.gcube.portlets.widgets.githubconnector.shared.git.GitHubRepository;
|
|
import org.gcube.portlets.widgets.githubconnector.shared.git.credential.GitHubCredential;
|
|
import org.gcube.portlets.widgets.githubconnector.shared.session.UserInfo;
|
|
|
|
import com.google.gwt.user.client.rpc.RemoteService;
|
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
|
|
|
/**
|
|
* The client side stub for the RPC service.
|
|
*/
|
|
@RemoteServiceRelativePath("githubconnectorservice")
|
|
public interface GitHubConnectorService extends RemoteService {
|
|
|
|
public UserInfo hello() throws ServiceException;
|
|
|
|
public ArrayList<GitHubRepository> getRepositories(String repositoryOwner, GitHubCredential gitHubCredential) throws ServiceException;
|
|
|
|
|
|
|
|
}
|