Betty v1.1.0

christophedelory.betty
Interface BettyRemoteServiceAsync


public interface BettyRemoteServiceAsync

The asynchronous public service interface.

Since:
1.0.0
Version:
$Revision$
Author:
Christophe Delory

Method Summary
 void getChampionship(String championshipId, String[] localeNames, com.google.gwt.user.client.rpc.AsyncCallback<ChampionshipDetails> callback)
           
 void getChampionships(boolean all, String[] localeNames, com.google.gwt.user.client.rpc.AsyncCallback<ChampionshipsDetails> callback)
           
 void getLocations(String[] localeNames, com.google.gwt.user.client.rpc.AsyncCallback<LocationsDetails> callback)
           
 void getPlayers(String[] localeNames, com.google.gwt.user.client.rpc.AsyncCallback<PlayersDetails> callback)
           
 void getResources(String[] localeNames, com.google.gwt.user.client.rpc.AsyncCallback<ResourcesDetails> callback)
           
 void getUsers(String[] localeNames, com.google.gwt.user.client.rpc.AsyncCallback<UsersDetails> callback)
           
 

Method Detail

getChampionship

void getChampionship(String championshipId,
                     String[] localeNames,
                     com.google.gwt.user.client.rpc.AsyncCallback<ChampionshipDetails> callback)
Parameters:
championshipId - the championship identifier. Shall not be null.
localeNames - a list of the preferred locales for the output. Shall not be null nor empty.
callback - the service callback. Shall not be null.

getChampionships

void getChampionships(boolean all,
                      String[] localeNames,
                      com.google.gwt.user.client.rpc.AsyncCallback<ChampionshipsDetails> callback)
Parameters:
all - true if each individual championship shall also be detailed, false if you just want to enumerate the list of available championships.
localeNames - a list of the preferred locales for the output. Shall not be null nor empty.
callback - the service callback. Shall not be null.

getLocations

void getLocations(String[] localeNames,
                  com.google.gwt.user.client.rpc.AsyncCallback<LocationsDetails> callback)
Parameters:
localeNames - a list of the preferred locales for the output. Shall not be null nor empty.
callback - the service callback. Shall not be null.

getPlayers

void getPlayers(String[] localeNames,
                com.google.gwt.user.client.rpc.AsyncCallback<PlayersDetails> callback)
Parameters:
localeNames - a list of the preferred locales for the output. Shall not be null nor empty.
callback - the service callback. Shall not be null.

getResources

void getResources(String[] localeNames,
                  com.google.gwt.user.client.rpc.AsyncCallback<ResourcesDetails> callback)
Parameters:
localeNames - a list of the preferred locales for the output. Shall not be null nor empty.
callback - the service callback. Shall not be null.

getUsers

void getUsers(String[] localeNames,
              com.google.gwt.user.client.rpc.AsyncCallback<UsersDetails> callback)
Parameters:
localeNames - a list of the preferred locales for the output. Shall not be null nor empty.
callback - the service callback. Shall not be null.

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.