Betty v1.1.0

christophedelory.betty
Interface BettyRemoteService

All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
All Known Implementing Classes:
PublicHttpServlet

public interface BettyRemoteService
extends com.google.gwt.user.client.rpc.RemoteService

The synchronous public service interface.

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

Method Summary
 ChampionshipDetails getChampionship(String championshipId, String[] localeNames)
           
 ChampionshipsDetails getChampionships(boolean all, String[] localeNames)
           
 LocationsDetails getLocations(String[] localeNames)
           
 PlayersDetails getPlayers(String[] localeNames)
           
 ResourcesDetails getResources(String[] localeNames)
           
 UsersDetails getUsers(String[] localeNames)
           
 

Method Detail

getChampionship

ChampionshipDetails getChampionship(String championshipId,
                                    String[] localeNames)
                                    throws Exception
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.
Returns:
the championship description. Shall not be null.
Throws:
HttpServletException - if any applicative error occurs during the operation.
NamingException - if a naming exception is encountered.
FinderException - in case of failure to find any requested EJB object(s).
EJBException - if any exception occured during the execution of this method.
Exception

getChampionships

ChampionshipsDetails getChampionships(boolean all,
                                      String[] localeNames)
                                      throws Exception
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.
Returns:
the list of championship descriptions. Shall not be null.
Throws:
HttpServletException - if any applicative error occurs during the operation.
NamingException - if a naming exception is encountered.
FinderException - in case of failure to find any requested EJB object(s).
EJBException - if any exception occured during the execution of this method.
Exception

getLocations

LocationsDetails getLocations(String[] localeNames)
                              throws Exception
Parameters:
localeNames - a list of the preferred locales for the output. Shall not be null nor empty.
Returns:
the list of location descriptions. Shall not be null.
Throws:
HttpServletException - if any applicative error occurs during the operation.
NamingException - if a naming exception is encountered.
FinderException - in case of failure to find any requested EJB object(s).
EJBException - if any exception occured during the execution of this method.
Exception

getPlayers

PlayersDetails getPlayers(String[] localeNames)
                          throws Exception
Parameters:
localeNames - a list of the preferred locales for the output. Shall not be null nor empty.
Returns:
the list of player descriptions. Shall not be null.
Throws:
HttpServletException - if any applicative error occurs during the operation.
NamingException - if a naming exception is encountered.
FinderException - in case of failure to find any requested EJB object(s).
EJBException - if any exception occured during the execution of this method.
Exception

getResources

ResourcesDetails getResources(String[] localeNames)
                              throws Exception
Parameters:
localeNames - a list of the preferred locales for the output. Shall not be null nor empty.
Returns:
the list of resource descriptions. Shall not be null.
Throws:
HttpServletException - if any applicative error occurs during the operation.
NamingException - if a naming exception is encountered.
FinderException - in case of failure to find any requested EJB object(s).
EJBException - if any exception occured during the execution of this method.
Exception

getUsers

UsersDetails getUsers(String[] localeNames)
                      throws Exception
Parameters:
localeNames - a list of the preferred locales for the output. Shall not be null nor empty.
Returns:
the list of user descriptions. Shall not be null.
Throws:
HttpServletException - if any applicative error occurs during the operation.
NamingException - if a naming exception is encountered.
FinderException - in case of failure to find any requested EJB object(s).
EJBException - if any exception occured during the execution of this method.
Exception

© 2008-2009 Christophe Delory

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