com.hack23.cia.service.external.itsyourparliament.api
Interface ItsYourParliamentEuApi

Package class diagram package ItsYourParliamentEuApi
All Known Implementing Classes:
ItsYourParliamentEuApiImpl

public interface ItsYourParliamentEuApi

The Interface ItsYourParliamentEuApi.


Method Summary
 List<Countrydetails> getCountries(String accessKey, boolean current)
          Gets the countries.
 CountryinfoEuElement getCountryInfo(BigInteger id, String accessKey, boolean current)
          Gets the country info.
 MepinfoEuElement getMepInfo(String mepId, String accessKey, boolean current)
          Gets the mep info.
 VoteinfoEuElement getVoteInfo(String voteId, String accessKey, boolean current)
          Gets the vote info.
 VotesEuData getVotes(String year, String accessKey, boolean current)
          Gets the votes.
 

Method Detail

getCountries

List<Countrydetails> getCountries(String accessKey,
                                  boolean current)
                                  throws Exception
Gets the countries.

Parameters:
accessKey - the access key
current - the current
Returns:
the countries
Throws:
Exception - the exception

getCountryInfo

CountryinfoEuElement getCountryInfo(BigInteger id,
                                    String accessKey,
                                    boolean current)
                                    throws Exception
Gets the country info.

Parameters:
id - the id
accessKey - the access key
current - the current
Returns:
the country info
Throws:
Exception - the exception

getMepInfo

MepinfoEuElement getMepInfo(String mepId,
                            String accessKey,
                            boolean current)
                            throws Exception
Gets the mep info.

Parameters:
mepId - the mep id
accessKey - the access key
current - the current
Returns:
the mep info
Throws:
Exception - the exception

getVoteInfo

VoteinfoEuElement getVoteInfo(String voteId,
                              String accessKey,
                              boolean current)
                              throws Exception
Gets the vote info.

Parameters:
voteId - the vote id
accessKey - the access key
current - the current
Returns:
the vote info
Throws:
Exception - the exception

getVotes

VotesEuData getVotes(String year,
                     String accessKey,
                     boolean current)
                     throws Exception
Gets the votes.

Parameters:
year - the year
accessKey - the access key
current - the current
Returns:
the votes
Throws:
Exception - the exception


Copyright © 2008-2011 www.hack23.com. All Rights Reserved.