|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.service.external.common.impl.AbstractXmlAgentImpl com.hack23.cia.service.external.itsyourparliament.impl.ItsYourParliamentEuApiImpl
@Component public class ItsYourParliamentEuApiImpl
The Class ItsYourParliamentEuApiImpl.
Constructor Summary | |
---|---|
ItsYourParliamentEuApiImpl()
|
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. |
Methods inherited from class com.hack23.cia.service.external.common.impl.AbstractXmlAgentImpl |
---|
retriveContent, setNameSpaceOnXmlStream, unmarshallXml, unmarshallXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ItsYourParliamentEuApiImpl()
Method Detail |
---|
public List<Countrydetails> getCountries(String accessKey, boolean current) throws Exception
ItsYourParliamentEuApi
getCountries
in interface ItsYourParliamentEuApi
accessKey
- the access keycurrent
- the current
Exception
- the exceptionpublic CountryinfoEuElement getCountryInfo(BigInteger id, String accessKey, boolean current) throws Exception
ItsYourParliamentEuApi
getCountryInfo
in interface ItsYourParliamentEuApi
id
- the idaccessKey
- the access keycurrent
- the current
Exception
- the exceptionpublic MepinfoEuElement getMepInfo(String mepId, String accessKey, boolean current) throws Exception
ItsYourParliamentEuApi
getMepInfo
in interface ItsYourParliamentEuApi
mepId
- the mep idaccessKey
- the access keycurrent
- the current
Exception
- the exceptionpublic VoteinfoEuElement getVoteInfo(String voteId, String accessKey, boolean current) throws Exception
ItsYourParliamentEuApi
getVoteInfo
in interface ItsYourParliamentEuApi
voteId
- the vote idaccessKey
- the access keycurrent
- the current
Exception
- the exceptionpublic VotesEuData getVotes(String year, String accessKey, boolean current) throws Exception
ItsYourParliamentEuApi
getVotes
in interface ItsYourParliamentEuApi
year
- the yearaccessKey
- the access keycurrent
- the current
Exception
- the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |