27 lines
778 B
Java
27 lines
778 B
Java
|
package org.gcube.portlets.widgets.githubconnector.client.rpc;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
import org.gcube.portlets.widgets.githubconnector.shared.git.GitHubRepository;
|
||
|
import org.gcube.portlets.widgets.githubconnector.shared.session.UserInfo;
|
||
|
|
||
|
import com.google.gwt.core.client.GWT;
|
||
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @author Giancarlo Panichi email: <a
|
||
|
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||
|
*
|
||
|
*/
|
||
|
public interface GitHubConnectorServiceAsync {
|
||
|
|
||
|
public static GitHubConnectorServiceAsync INSTANCE = (GitHubConnectorServiceAsync) GWT
|
||
|
.create(GitHubConnectorService.class);
|
||
|
|
||
|
void hello(AsyncCallback<UserInfo> callback);
|
||
|
|
||
|
void getRepositories(String owner, AsyncCallback<List<GitHubRepository>> callback);
|
||
|
|
||
|
}
|