@Component public final class RiksdagenBallotApiImpl extends Object implements RiksdagenBallotApi
Constructor and Description |
---|
RiksdagenBallotApiImpl()
Instantiates a new riksdagen ballot api impl.
|
Modifier and Type | Method and Description |
---|---|
List<com.hack23.cia.model.external.riksdagen.votering.impl.VoteData> |
getBallot(String id)
Gets the ballot.
|
List<com.hack23.cia.model.external.riksdagen.voteringlista.impl.BallotDocumentElement> |
getBallotList()
Gets the ballot list.
|
public RiksdagenBallotApiImpl()
public List<com.hack23.cia.model.external.riksdagen.votering.impl.VoteData> getBallot(String id) throws DataFailureException
RiksdagenBallotApi
getBallot
in interface RiksdagenBallotApi
id
- the idDataFailureException
- the data failure exceptionpublic List<com.hack23.cia.model.external.riksdagen.voteringlista.impl.BallotDocumentElement> getBallotList() throws DataFailureException
RiksdagenBallotApi
getBallotList
in interface RiksdagenBallotApi
DataFailureException
- the data failure exceptionCopyright © 2010–2017 www.hack23.com. All rights reserved.